Class Optics

java.lang.Object
org.episteme.natural.physics.classical.waves.optics.Optics

public class Optics extends Object
Optics equations and models (geometric and wave optics).
Since:
1.0
Author:
Silvere Martin-Michiellot, Gemini AI (Google DeepMind)
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static Real
    diffractionAngle(Real gratingSpacing, int order, Real wavelength)
    Diffraction grating: d sin(θ) = mλ, returns θ
    static Real
    Lens Maker's: 1/f = (n-1)(1/R₁ - 1/R₂)
    static Real
    magnification(Real imageDistance, Real objectDistance)
    Magnification: M = -di/do
    static Real
    mirrorEquation(Real objectDistance, Real focalLength)
    Mirror equation (same as thin lens)
    Photon energy: E = hc/λ
    static Real
    rayleighCriterion(Real wavelength, Real apertureDiameter)
    Rayleigh criterion: θ_min = 1.22λ/D
    static Real
    snellsLaw(Real n1, Real theta1, Real n2)
    Snell's law: n₁sin(θ₁) = n₂sin(θ₂), returns θ₂
    static Real
    thinLensImageDistance(Real objectDistance, Real focalLength)
    Thin lens: 1/f = 1/do + 1/di, returns di

    Methods inherited from class Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • Optics

      public Optics()
  • Method Details

    • snellsLaw

      public static Real snellsLaw(Real n1, Real theta1, Real n2)
      Snell's law: n₁sin(θ₁) = n₂sin(θ₂), returns θ₂
    • thinLensImageDistance

      public static Real thinLensImageDistance(Real objectDistance, Real focalLength)
      Thin lens: 1/f = 1/do + 1/di, returns di
    • magnification

      public static Real magnification(Real imageDistance, Real objectDistance)
      Magnification: M = -di/do
    • photonEnergy

      public static Quantity<Energy> photonEnergy(Quantity<Length> wavelength)
      Photon energy: E = hc/λ
    • diffractionAngle

      public static Real diffractionAngle(Real gratingSpacing, int order, Real wavelength)
      Diffraction grating: d sin(θ) = mλ, returns θ
    • rayleighCriterion

      public static Real rayleighCriterion(Real wavelength, Real apertureDiameter)
      Rayleigh criterion: θ_min = 1.22λ/D
    • mirrorEquation

      public static Real mirrorEquation(Real objectDistance, Real focalLength)
      Mirror equation (same as thin lens)
    • lensMakerEquation

      public static Real lensMakerEquation(Real n, Real r1, Real r2)
      Lens Maker's: 1/f = (n-1)(1/R₁ - 1/R₂)