Class MicroscopeFactory

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

public class MicroscopeFactory extends Object
Factory methods for common microscope configurations.
Since:
1.0
Author:
Silvere Martin-Michiellot, Gemini AI (Google DeepMind)
  • Method Details

    • compound

      public static CompoundMicroscope compound(Real objectiveFocalLength, Real eyepieceFocalLength, Real tubeLength, Real objectiveRadius)
      Creates a simple compound microscope (two lenses).
      Parameters:
      objectiveFocalLength - Focal length of objective lens (short, e.g. 4mm)
      eyepieceFocalLength - Focal length of eyepiece lens (e.g. 25mm)
      tubeLength - Distance between lenses (e.g. 160mm standard)
      objectiveRadius - Radius/aperture of objective lens
      Returns:
      Compound microscope optical system
    • totalMagnification

      public static Real totalMagnification(Real tubeLength, Real objectiveFocalLength, Real eyepieceFocalLength)
      Calculates total magnification of a compound microscope. M = (L / f_obj) * (25cm / f_eye) where L is tube length and 25cm is near point distance.
      Parameters:
      tubeLength - Optical tube length
      objectiveFocalLength - Objective focal length
      eyepieceFocalLength - Eyepiece focal length
      Returns:
      Total magnification
    • numericalAperture

      public static Real numericalAperture(Real refractiveIndex, Real halfAngle)
      Calculates numerical aperture (NA). NA = n * sin(θ)
      Parameters:
      refractiveIndex - Medium refractive index (1.0 for air, ~1.5 for oil)
      halfAngle - Half-angle of maximum cone of light (radians)
      Returns:
      Numerical aperture
    • resolutionLimit

      public static Real resolutionLimit(Real wavelength, Real numericalAperture)
      Calculates resolution limit (Rayleigh criterion). d = 0.61 * λ / NA
      Parameters:
      wavelength - Wavelength of light
      numericalAperture - Numerical aperture of objective
      Returns:
      Minimum resolvable distance
    • depthOfField

      public static Real depthOfField(Real wavelength, Real refractiveIndex, Real numericalAperture)
      Calculates depth of field. DOF ≈ λ * n / NA²
      Parameters:
      wavelength - Wavelength of light
      refractiveIndex - Medium refractive index
      numericalAperture - Numerical aperture
      Returns:
      Depth of field