Class AberrationModel
java.lang.Object
org.episteme.natural.physics.classical.waves.optics.AberrationModel
Models for optical aberrations.
*
Reference:
Zeigler, B. P., Praehofer, H., invalid input: '&' Kim, T. G. (2000). Theory of Modeling and Simulation. Academic Press.
- Since:
- 1.0
- Author:
- Silvere Martin-Michiellot, Gemini AI (Google DeepMind)
-
Method Summary
Modifier and TypeMethodDescriptionstatic RealabbeNumber(Real nD, Real nF, Real nC) Calculates the Abbe number (dispersion) for a material.static Realastigmatism(Real fieldAngle, Real focalLength, Real astCoeff) Astigmatism aberration.static RealchromaticAberration(Real fBlue, Real fRed) Axial chromatic aberration.static RealcomaAberration(Real rayHeight, Real fieldAngle, Real focalLength, Real shapeCoeff) Coma aberration estimate.static Realdistortion(Real radialDistance, Real k1, Real k2) Barrel/pincushion distortion. r' = r * (1 + kâ‚ÂÂ*r² + kâ‚‚*râ´ + ...)static RealpetzvalCurvature(Real focalLength, Real sumInverseN) Field curvature (Petzval curvature).static RealsphericalAberration(Real rayHeight, Real focalLength, Real index) Approximates longitudinal spherical aberration for a simple lens.
-
Method Details
-
sphericalAberration
Approximates longitudinal spherical aberration for a simple lens. LSA ≈k * h² / f This is a simplified model.- Parameters:
rayHeight- Height of ray from optical axis (h)focalLength- Paraxial focal length (f)index- Refractive index (n)- Returns:
- Longitudinal Spherical Aberration (LSA) estimate
-
chromaticAberration
-
comaAberration
public static Real comaAberration(Real rayHeight, Real fieldAngle, Real focalLength, Real shapeCoeff) Coma aberration estimate. Coma produces comet-shaped blur for off-axis points. Sagittal coma ≈3 * k * h² * θ / f²- Parameters:
rayHeight- Height of ray from axis (h)fieldAngle- Off-axis field angle (θ in radians)focalLength- Focal length (f)shapeCoeff- Shape factor coefficient (depends on lens configuration)- Returns:
- Coma aberration estimate
-
astigmatism
Astigmatism aberration. Causes different focal lengths for tangential vs sagittal rays. ÃŽâ€ÂS ≈k * θ² * f- Parameters:
fieldAngle- Off-axis field angle (θ in radians)focalLength- Focal lengthastCoeff- Astigmatism coefficient- Returns:
- Astigmatic focus difference
-
petzvalCurvature
Field curvature (Petzval curvature). Image surface is curved rather than flat. Radius of curvature R_p = f / Σ(1/n_i)- Parameters:
focalLength- System focal lengthsumInverseN- Sum of 1/n for each lens element- Returns:
- Petzval radius of curvature
-
distortion
Barrel/pincushion distortion. r' = r * (1 + kâ‚ÂÂ*r² + kâ‚‚*râ´ + ...)- Parameters:
radialDistance- Distance from optical center (r)k1- Third-order distortion coefficientk2- Fifth-order distortion coefficient (optional)- Returns:
- Distorted radial position
-
abbeNumber
Calculates the Abbe number (dispersion) for a material. V = (n_d - 1) / (n_F - n_C)- Parameters:
nD- Index at 587.6nm (yellow, Fraunhofer D line)nF- Index at 486.1nm (blue, Fraunhofer F line)nC- Index at 656.3nm (red, Fraunhofer C line)- Returns:
- Abbe number
-