11/*****************************************************************************************************************/
22
33// @author Michael Roberts <
[email protected] >
4- // @package @observerly/astrometry/abberation
4+ // @package @observerly/astrometry/aberration
55// @license Copyright © 2021-2025 observerly
66
77/*****************************************************************************************************************/
@@ -29,17 +29,17 @@ import { convertRadiansToDegrees as degrees, convertDegreesToRadians as radians
2929
3030/**
3131 *
32- * getCorrectionToEquatorialForAnnualAbberation ()
32+ * getCorrectionToEquatorialForAnnualAberration ()
3333 *
34- * Corrects the equatorial coordinate of a target for abberation in
34+ * Corrects the equatorial coordinate of a target for aberration in
3535 * longitude and obliquity due to the apparent motion of the Earth.
3636 *
3737 * @param date - The date to correct the equatorial coordinate for.
3838 * @param target - The equatorial J2000 coordinate of the target.
3939 * @returns The corrected equatorial coordinate of the target.
4040 *
4141 */
42- export const getCorrectionToEquatorialForAnnualAbberation = (
42+ export const getCorrectionToEquatorialForAnnualAberration = (
4343 datetime: Date,
4444 target: EquatorialCoordinate
4545): EquatorialCoordinate => {
@@ -72,7 +72,7 @@ export const getCorrectionToEquatorialForAnnualAbberation = (
7272 // Get the true obliquity of the ecliptic (in degrees):
7373 const ε = radians(getObliquityOfTheEcliptic(datetime) + Δε / 3600)
7474
75- // Get the constant of abberation (in degrees):
75+ // Get the constant of aberration (in degrees):
7676 const κ = radians(20.49552 / 3600)
7777
7878 // Get the eccentricity of the Earth's orbit (dimensionless):
@@ -84,14 +84,14 @@ export const getCorrectionToEquatorialForAnnualAbberation = (
8484 // Get the true geometric longitude of the sun (in degrees):
8585 const S = radians(getSolarTrueGeometricLongitude(datetime))
8686
87- // Calculate the abberation correction in right ascension (in radians):
87+ // Calculate the aberration correction in right ascension (in radians):
8888 const Δra =
8989 -κ * (Math.cos(ra) * Math.cos(S) * Math.cos(ε) + (Math.sin(ra) * Math.sin(S)) / Math.cos(dec)) +
9090 e *
9191 κ *
9292 (Math.cos(ra) * Math.cos(ϖ) * Math.cos(ε) + (Math.sin(ra) * Math.sin(ϖ)) / Math.cos(dec))
9393
94- // Calculate the abberation correction in declination (in radians):
94+ // Calculate the aberration correction in declination (in radians):
9595 const Δdec =
9696 -κ *
9797 (Math.cos(S) * Math.cos(ε) * (Math.tan(ε) * Math.cos(dec) - Math.sin(ra) * Math.sin(dec)) +
@@ -111,17 +111,17 @@ export const getCorrectionToEquatorialForAnnualAbberation = (
111111
112112/**
113113 *
114- * getCorrectionToEquatorialForDiurnalAbberation ()
114+ * getCorrectionToEquatorialForDiurnalAberration ()
115115 *
116- * Corrects the equatorial coordinate of a target for abberation in
116+ * Corrects the equatorial coordinate of a target for aberration in
117117 * longitude and obliquity due to the apparent motion of the Earth.
118118 *
119119 * @param date - The date to correct the equatorial coordinate for.
120120 * @param target - The equatorial J2000 coordinate of the target.
121121 * @returns The corrected equatorial coordinate of the target.
122122 *
123123 */
124- export const getCorrectionToEquatorialForDiurnalAbberation = (
124+ export const getCorrectionToEquatorialForDiurnalAberration = (
125125 datetime: Date,
126126 observer: GeographicCoordinate,
127127 target: EquatorialCoordinate
@@ -139,10 +139,10 @@ export const getCorrectionToEquatorialForDiurnalAbberation = (
139139 // Calculate the observer's tangential velocity due to Earth's rotation (in m/s):
140140 const v = Ω * EARTH_RADIUS * Math.cos(phi)
141141
142- // Calculate the abberation correction in right ascension (in radians):
142+ // Calculate the aberration correction in right ascension (in radians):
143143 const Δra = ((v / c) * (Math.cos(phi) * Math.sin(ha))) / Math.cos(dec)
144144
145- // Calculate the abberation correction in declination (in radians):
145+ // Calculate the aberration correction in declination (in radians):
146146 const Δdec =
147147 (v / c) * (Math.sin(phi) * Math.cos(dec) - Math.cos(phi) * Math.sin(dec) * Math.cos(ha))
148148
0 commit comments