Class DopplerShift

java.lang.Object
org.episteme.natural.physics.astronomy.spectroscopy.DopplerShift

public class DopplerShift extends Object
Doppler shift and redshift calculations.
Since:
1.0
Author:
Silvere Martin-Michiellot, Gemini AI (Google DeepMind)
  • Field Details

    • C_KM_S

      public static final Real C_KM_S
      Speed of light in km/s
    • H0_PLANCK

      public static final Real H0_PLANCK
      Hubble constant (Planck 2018)
    • H_ALPHA

      public static final Real H_ALPHA
    • H_BETA

      public static final Real H_BETA
    • CA_K

      public static final Real CA_K
    • CA_H

      public static final Real CA_H
    • NA_D1

      public static final Real NA_D1
    • NA_D2

      public static final Real NA_D2
  • Method Details

    • radialVelocity

      public static Real radialVelocity(Real observedWavelength, Real restWavelength)
      Radial velocity: v = c * (λ_obs - λ_rest) / λ_rest
    • redshift

      public static Real redshift(Real observedWavelength, Real restWavelength)
      Redshift: z = (λ_obs - λ_rest) / λ_rest
    • redshiftToVelocity

      public static Real redshiftToVelocity(Real z, boolean relativistic)
      Redshift to velocity
    • velocityToRedshift

      public static Real velocityToRedshift(Real velocityKmS, boolean relativistic)
      Velocity to redshift
    • observedWavelength

      public static Real observedWavelength(Real restWavelength, Real velocityKmS)
      Observed wavelength from rest wavelength and velocity
    • hubbleDistance

      public static Real hubbleDistance(Real z, Real H0)
      Hubble distance: d = c * z / H0 (Mpc)