diff --git a/demo/browser/astronomy.browser.js b/demo/browser/astronomy.browser.js index 37a445b3..ee8db7fe 100644 --- a/demo/browser/astronomy.browser.js +++ b/demo/browser/astronomy.browser.js @@ -1817,18 +1817,12 @@ exports.HorizontalCoordinates = HorizontalCoordinates; * astronomical units (AU) * and spherical coordinates `(elon, elat)` measured in degrees. * - * @property {number} ex - * The Cartesian x-coordinate of the body in astronomical units (AU). + * @property {Vector} vec + * Ecliptic cartesian vector with components measured in astronomical units (AU). * The x-axis is within the ecliptic plane and is oriented in the direction of the * equinox. - * - * @property {number} ey - * The Cartesian y-coordinate of the body in astronomical units (AU). * The y-axis is within the ecliptic plane and is oriented 90 degrees * counterclockwise from the equinox, as seen from above the Sun's north pole. - * - * @property {number} ez - * The Cartesian z-coordinate of the body in astronomical units (AU). * The z-axis is oriented perpendicular to the ecliptic plane, * along the direction of the Sun's north pole. * @@ -1847,10 +1841,8 @@ exports.HorizontalCoordinates = HorizontalCoordinates; * up to 360 degrees. */ class EclipticCoordinates { - constructor(ex, ey, ez, elat, elon) { - this.ex = VerifyNumber(ex); - this.ey = VerifyNumber(ey); - this.ez = VerifyNumber(ez); + constructor(vec, elat, elon) { + this.vec = vec; this.elat = VerifyNumber(elat); this.elon = VerifyNumber(elon); } @@ -2106,7 +2098,8 @@ function SunPosition(date) { const true_obliq = DEG2RAD * e_tilt(time).tobl; const cos_ob = Math.cos(true_obliq); const sin_ob = Math.sin(true_obliq); - const sun_ecliptic = RotateEquatorialToEcliptic(gx, gy, gz, cos_ob, sin_ob); + const vec = new Vector(gx, gy, gz, time); + const sun_ecliptic = RotateEquatorialToEcliptic(vec, cos_ob, sin_ob); return sun_ecliptic; } exports.SunPosition = SunPosition; @@ -2169,11 +2162,11 @@ function Equator(body, date, observer, ofdate, aberration) { return vector2radec(datevect, time); } exports.Equator = Equator; -function RotateEquatorialToEcliptic(gx, gy, gz, cos_ob, sin_ob) { +function RotateEquatorialToEcliptic(equ, cos_ob, sin_ob) { // Rotate equatorial vector to obtain ecliptic vector. - const ex = gx; - const ey = gy * cos_ob + gz * sin_ob; - const ez = -gy * sin_ob + gz * cos_ob; + const ex = equ.x; + const ey = equ.y * cos_ob + equ.z * sin_ob; + const ez = -equ.y * sin_ob + equ.z * cos_ob; const xyproj = Math.sqrt(ex * ex + ey * ey); let elon = 0; if (xyproj > 0) { @@ -2182,28 +2175,22 @@ function RotateEquatorialToEcliptic(gx, gy, gz, cos_ob, sin_ob) { elon += 360; } let elat = RAD2DEG * Math.atan2(ez, xyproj); - return new EclipticCoordinates(ex, ey, ez, elat, elon); + let ecl = new Vector(ex, ey, ez, equ.t); + return new EclipticCoordinates(ecl, elat, elon); } /** * @brief Converts equatorial Cartesian coordinates to ecliptic Cartesian and angular coordinates. * * Given J2000 equatorial Cartesian coordinates, * returns J2000 ecliptic latitude, longitude, and cartesian coordinates. - * You can call {@link GeoVector} and use its (x, y, z) return values - * to pass into this function. + * You can call {@link GeoVector} and pass the resulting vector to this function. * - * @param {number} gx - * The x-coordinate of a 3D vector in the J2000 equatorial coordinate system. - * - * @param {number} gy - * The y-coordinate of a 3D vector in the J2000 equatorial coordinate system. - * - * @param {number} gz - * The z-coordinate of a 3D vector in the J2000 equatorial coordinate system. + * @param {Vector} equ + * A vector in the J2000 equatorial coordinate system. * * @returns {EclipticCoordinates} */ -function Ecliptic(gx, gy, gz) { +function Ecliptic(equ) { // Based on NOVAS functions equ2ecl() and equ2ecl_vec(). if (ob2000 === undefined) { // Lazy-evaluate and keep the mean obliquity of the ecliptic at J2000. @@ -2212,10 +2199,7 @@ function Ecliptic(gx, gy, gz) { cos_ob2000 = Math.cos(ob2000); sin_ob2000 = Math.sin(ob2000); } - VerifyNumber(gx); - VerifyNumber(gy); - VerifyNumber(gz); - return RotateEquatorialToEcliptic(gx, gy, gz, cos_ob2000, sin_ob2000); + return RotateEquatorialToEcliptic(equ, cos_ob2000, sin_ob2000); } exports.Ecliptic = Ecliptic; /** @@ -3078,10 +3062,10 @@ function LongitudeFromSun(body, date) { if (body === Body.Earth) throw 'The Earth does not have a longitude as seen from itself.'; const t = MakeTime(date); - let gb = GeoVector(body, t, false); - const eb = Ecliptic(gb.x, gb.y, gb.z); - let gs = GeoVector(Body.Sun, t, false); - const es = Ecliptic(gs.x, gs.y, gs.z); + const gb = GeoVector(body, t, false); + const eb = Ecliptic(gb); + const gs = GeoVector(Body.Sun, t, false); + const es = Ecliptic(gs); return NormalizeLongitude(eb.elon - es.elon); } exports.LongitudeFromSun = LongitudeFromSun; @@ -3133,8 +3117,8 @@ exports.AngleFromSun = AngleFromSun; function EclipticLongitude(body, date) { if (body === Body.Sun) throw 'Cannot calculate heliocentric longitude of the Sun.'; - let hv = HelioVector(body, date); - let eclip = Ecliptic(hv.x, hv.y, hv.z); + const hv = HelioVector(body, date); + const eclip = Ecliptic(hv); return eclip.elon; } exports.EclipticLongitude = EclipticLongitude; @@ -3191,7 +3175,7 @@ function SaturnMagnitude(phase, helio_dist, geo_dist, gc, time) { // http://www.stjarnhimlen.se/comp/ppcomp.html#15 // We must handle Saturn's rings as a major component of its visual magnitude. // Find geocentric ecliptic coordinates of Saturn. - const eclip = Ecliptic(gc.x, gc.y, gc.z); + const eclip = Ecliptic(gc); const ir = DEG2RAD * 28.06; // tilt of Saturn's rings to the ecliptic, in radians const Nr = DEG2RAD * (169.51 + (3.82e-5 * time.tt)); // ascending node of Saturn's rings, in radians // Find tilt of Saturn's rings, as seen from Earth. diff --git a/demo/nodejs/astronomy.js b/demo/nodejs/astronomy.js index 8b735086..1b58a4cb 100644 --- a/demo/nodejs/astronomy.js +++ b/demo/nodejs/astronomy.js @@ -1816,18 +1816,12 @@ exports.HorizontalCoordinates = HorizontalCoordinates; * astronomical units (AU) * and spherical coordinates `(elon, elat)` measured in degrees. * - * @property {number} ex - * The Cartesian x-coordinate of the body in astronomical units (AU). + * @property {Vector} vec + * Ecliptic cartesian vector with components measured in astronomical units (AU). * The x-axis is within the ecliptic plane and is oriented in the direction of the * equinox. - * - * @property {number} ey - * The Cartesian y-coordinate of the body in astronomical units (AU). * The y-axis is within the ecliptic plane and is oriented 90 degrees * counterclockwise from the equinox, as seen from above the Sun's north pole. - * - * @property {number} ez - * The Cartesian z-coordinate of the body in astronomical units (AU). * The z-axis is oriented perpendicular to the ecliptic plane, * along the direction of the Sun's north pole. * @@ -1846,10 +1840,8 @@ exports.HorizontalCoordinates = HorizontalCoordinates; * up to 360 degrees. */ class EclipticCoordinates { - constructor(ex, ey, ez, elat, elon) { - this.ex = VerifyNumber(ex); - this.ey = VerifyNumber(ey); - this.ez = VerifyNumber(ez); + constructor(vec, elat, elon) { + this.vec = vec; this.elat = VerifyNumber(elat); this.elon = VerifyNumber(elon); } @@ -2105,7 +2097,8 @@ function SunPosition(date) { const true_obliq = DEG2RAD * e_tilt(time).tobl; const cos_ob = Math.cos(true_obliq); const sin_ob = Math.sin(true_obliq); - const sun_ecliptic = RotateEquatorialToEcliptic(gx, gy, gz, cos_ob, sin_ob); + const vec = new Vector(gx, gy, gz, time); + const sun_ecliptic = RotateEquatorialToEcliptic(vec, cos_ob, sin_ob); return sun_ecliptic; } exports.SunPosition = SunPosition; @@ -2168,11 +2161,11 @@ function Equator(body, date, observer, ofdate, aberration) { return vector2radec(datevect, time); } exports.Equator = Equator; -function RotateEquatorialToEcliptic(gx, gy, gz, cos_ob, sin_ob) { +function RotateEquatorialToEcliptic(equ, cos_ob, sin_ob) { // Rotate equatorial vector to obtain ecliptic vector. - const ex = gx; - const ey = gy * cos_ob + gz * sin_ob; - const ez = -gy * sin_ob + gz * cos_ob; + const ex = equ.x; + const ey = equ.y * cos_ob + equ.z * sin_ob; + const ez = -equ.y * sin_ob + equ.z * cos_ob; const xyproj = Math.sqrt(ex * ex + ey * ey); let elon = 0; if (xyproj > 0) { @@ -2181,28 +2174,22 @@ function RotateEquatorialToEcliptic(gx, gy, gz, cos_ob, sin_ob) { elon += 360; } let elat = RAD2DEG * Math.atan2(ez, xyproj); - return new EclipticCoordinates(ex, ey, ez, elat, elon); + let ecl = new Vector(ex, ey, ez, equ.t); + return new EclipticCoordinates(ecl, elat, elon); } /** * @brief Converts equatorial Cartesian coordinates to ecliptic Cartesian and angular coordinates. * * Given J2000 equatorial Cartesian coordinates, * returns J2000 ecliptic latitude, longitude, and cartesian coordinates. - * You can call {@link GeoVector} and use its (x, y, z) return values - * to pass into this function. + * You can call {@link GeoVector} and pass the resulting vector to this function. * - * @param {number} gx - * The x-coordinate of a 3D vector in the J2000 equatorial coordinate system. - * - * @param {number} gy - * The y-coordinate of a 3D vector in the J2000 equatorial coordinate system. - * - * @param {number} gz - * The z-coordinate of a 3D vector in the J2000 equatorial coordinate system. + * @param {Vector} equ + * A vector in the J2000 equatorial coordinate system. * * @returns {EclipticCoordinates} */ -function Ecliptic(gx, gy, gz) { +function Ecliptic(equ) { // Based on NOVAS functions equ2ecl() and equ2ecl_vec(). if (ob2000 === undefined) { // Lazy-evaluate and keep the mean obliquity of the ecliptic at J2000. @@ -2211,10 +2198,7 @@ function Ecliptic(gx, gy, gz) { cos_ob2000 = Math.cos(ob2000); sin_ob2000 = Math.sin(ob2000); } - VerifyNumber(gx); - VerifyNumber(gy); - VerifyNumber(gz); - return RotateEquatorialToEcliptic(gx, gy, gz, cos_ob2000, sin_ob2000); + return RotateEquatorialToEcliptic(equ, cos_ob2000, sin_ob2000); } exports.Ecliptic = Ecliptic; /** @@ -3077,10 +3061,10 @@ function LongitudeFromSun(body, date) { if (body === Body.Earth) throw 'The Earth does not have a longitude as seen from itself.'; const t = MakeTime(date); - let gb = GeoVector(body, t, false); - const eb = Ecliptic(gb.x, gb.y, gb.z); - let gs = GeoVector(Body.Sun, t, false); - const es = Ecliptic(gs.x, gs.y, gs.z); + const gb = GeoVector(body, t, false); + const eb = Ecliptic(gb); + const gs = GeoVector(Body.Sun, t, false); + const es = Ecliptic(gs); return NormalizeLongitude(eb.elon - es.elon); } exports.LongitudeFromSun = LongitudeFromSun; @@ -3132,8 +3116,8 @@ exports.AngleFromSun = AngleFromSun; function EclipticLongitude(body, date) { if (body === Body.Sun) throw 'Cannot calculate heliocentric longitude of the Sun.'; - let hv = HelioVector(body, date); - let eclip = Ecliptic(hv.x, hv.y, hv.z); + const hv = HelioVector(body, date); + const eclip = Ecliptic(hv); return eclip.elon; } exports.EclipticLongitude = EclipticLongitude; @@ -3190,7 +3174,7 @@ function SaturnMagnitude(phase, helio_dist, geo_dist, gc, time) { // http://www.stjarnhimlen.se/comp/ppcomp.html#15 // We must handle Saturn's rings as a major component of its visual magnitude. // Find geocentric ecliptic coordinates of Saturn. - const eclip = Ecliptic(gc.x, gc.y, gc.z); + const eclip = Ecliptic(gc); const ir = DEG2RAD * 28.06; // tilt of Saturn's rings to the ecliptic, in radians const Nr = DEG2RAD * (169.51 + (3.82e-5 * time.tt)); // ascending node of Saturn's rings, in radians // Find tilt of Saturn's rings, as seen from Earth. diff --git a/demo/python/astronomy.py b/demo/python/astronomy.py index 8a0c7d1d..e80ecc54 100644 --- a/demo/python/astronomy.py +++ b/demo/python/astronomy.py @@ -4082,25 +4082,22 @@ class EclipticCoordinates: Attributes ---------- - ex : float - Cartesian x-coordinate: in the direction of the equinox along the ecliptic plane. - ey : float - Cartesian y-coordinate: in the ecliptic plane 90 degrees prograde from the equinox. - ez : float - Cartesian z-coordinate: perpendicular to the ecliptic plane. Positive is north. + vec : Vector + Ecliptic cartesian vector with the following components: + x: in the direction of the equinox along the ecliptic plane. + y: Cartesian y-coordinate: in the ecliptic plane 90 degrees prograde from the equinox. + z: Cartesian z-coordinate: perpendicular to the ecliptic plane. Positive is north. elat : float Latitude in degrees north (positive) or south (negative) of the ecliptic plane. elon : float Longitude in degrees around the ecliptic plane prograde from the equinox. """ - def __init__(self, ex, ey, ez, elat, elon): - self.ex = ex - self.ey = ey - self.ez = ez + def __init__(self, vec, elat, elon): + self.vec = vec self.elat = elat self.elon = elon -def _RotateEquatorialToEcliptic(pos, obliq_radians): +def _RotateEquatorialToEcliptic(pos, obliq_radians, time): cos_ob = math.cos(obliq_radians) sin_ob = math.sin(obliq_radians) ex = +pos[0] @@ -4114,7 +4111,8 @@ def _RotateEquatorialToEcliptic(pos, obliq_radians): else: elon = 0.0 elat = math.degrees(math.atan2(ez, xyproj)) - return EclipticCoordinates(ex, ey, ez, elat, elon) + vec = Vector(ex, ey, ez, time) + return EclipticCoordinates(vec, elat, elon) def SunPosition(time): """Calculates geocentric ecliptic coordinates for the Sun. @@ -4156,7 +4154,7 @@ def SunPosition(time): # Convert equatorial coordinates to ecliptic coordinates. true_obliq = math.radians(adjusted_time._etilt().tobl) - return _RotateEquatorialToEcliptic(sun_ofdate, true_obliq) + return _RotateEquatorialToEcliptic(sun_ofdate, true_obliq, time) def Ecliptic(equ): """Converts J2000 equatorial Cartesian coordinates to J2000 ecliptic coordinates. @@ -4177,7 +4175,7 @@ def Ecliptic(equ): """ # Based on NOVAS functions equ2ecl() and equ2ecl_vec(). ob2000 = 0.40909260059599012 # mean obliquity of the J2000 ecliptic in radians - return _RotateEquatorialToEcliptic([equ.x, equ.y, equ.z], ob2000) + return _RotateEquatorialToEcliptic([equ.x, equ.y, equ.z], ob2000, equ.t) def EclipticLongitude(body, time): """Calculates heliocentric ecliptic longitude of a body based on the J2000 equinox. diff --git a/generate/ctest.c b/generate/ctest.c index d6c7372e..31001c6c 100644 --- a/generate/ctest.c +++ b/generate/ctest.c @@ -2194,16 +2194,16 @@ static int Test_EQJ_ECL(void) if (ecl.status != ASTRO_SUCCESS) FAIL("C Test_EQJ_ECL: Astronomy_Ecliptic returned error %d\n", ecl.status); - DEBUG("C Test_EQJ_ECL ecl = (%0.18lf, %0.18lf,%0.18lf)\n", ecl.ex, ecl.ey, ecl.ez); + DEBUG("C Test_EQJ_ECL ecl = (%0.18lf, %0.18lf,%0.18lf)\n", ecl.vec.x, ecl.vec.y, ecl.vec.z); /* Now compute the same vector via rotation matrix. */ ee = Astronomy_RotateVector(r, ev); if (ee.status != ASTRO_SUCCESS) FAIL("C Test_EQJ_ECL: Astronomy_RotateVector returned error %d\n", ee.status); - dx = ee.x - ecl.ex; - dy = ee.y - ecl.ey; - dz = ee.z - ecl.ez; + dx = ee.x - ecl.vec.x; + dy = ee.y - ecl.vec.y; + dz = ee.z - ecl.vec.z; diff = V(sqrt(dx*dx + dy*dy + dz*dz)); DEBUG("C Test_EQJ_ECL ee = (%0.18lf, %0.18lf,%0.18lf); diff=%lg\n", ee.x, ee.y, ee.z, diff); if (diff > 1.0e-16) diff --git a/generate/dotnet/csharp_test/csharp_test.cs b/generate/dotnet/csharp_test/csharp_test.cs index ed6017d7..a8dd307e 100644 --- a/generate/dotnet/csharp_test/csharp_test.cs +++ b/generate/dotnet/csharp_test/csharp_test.cs @@ -1400,13 +1400,13 @@ namespace csharp_test /* Use the older function to calculate ecliptic vector and angles. */ Ecliptic ecl = Astronomy.EquatorialToEcliptic(ev); - Debug("C# Test_EQJ_ECL ecl = ({0}, {1}, {2})", ecl.ex, ecl.ey, ecl.ez); + Debug("C# Test_EQJ_ECL ecl = ({0}, {1}, {2})", ecl.vec.x, ecl.vec.y, ecl.vec.z); /* Now compute the same vector via rotation matrix. */ AstroVector ee = Astronomy.RotateVector(r, ev); - double dx = ee.x - ecl.ex; - double dy = ee.y - ecl.ey; - double dz = ee.z - ecl.ez; + double dx = ee.x - ecl.vec.x; + double dy = ee.y - ecl.vec.y; + double dz = ee.z - ecl.vec.z; double diff = sqrt(dx*dx + dy*dy + dz*dz); Debug("C# Test_EQJ_ECL ee = ({0}, {1}, {2}); diff={3}", ee.x, ee.y, ee.z, diff); if (diff > 1.0e-16) diff --git a/generate/template/astronomy.c b/generate/template/astronomy.c index 44f7a087..3b346708 100644 --- a/generate/template/astronomy.c +++ b/generate/template/astronomy.c @@ -196,7 +196,7 @@ static const double NEPTUNE_GM = 0.1524358900784276e-07; #define Y2000_IN_MJD (T0 - MJD_BASIS) /** @endcond */ -static astro_ecliptic_t RotateEquatorialToEcliptic(const double pos[3], double obliq_radians); +static astro_ecliptic_t RotateEquatorialToEcliptic(const double pos[3], double obliq_radians, astro_time_t time); static int QuadInterp( double tm, double dt, double fa, double fm, double fb, double *x, double *t, double *df_dt); @@ -375,7 +375,7 @@ static astro_ecliptic_t EclError(astro_status_t status) { astro_ecliptic_t ecl; ecl.status = status; - ecl.ex = ecl.ey = ecl.ez = ecl.elat = ecl.elon = NAN; + ecl.vec = VecError(status, TimeError()); return ecl; } @@ -2870,7 +2870,7 @@ astro_ecliptic_t Astronomy_SunPosition(astro_time_t time) /* Convert equatorial coordinates to ecliptic coordinates. */ true_obliq = DEG2RAD * e_tilt(&adjusted_time).tobl; - return RotateEquatorialToEcliptic(sun_ofdate, true_obliq); + return RotateEquatorialToEcliptic(sun_ofdate, true_obliq, time); } /** @@ -2900,7 +2900,7 @@ astro_ecliptic_t Astronomy_Ecliptic(astro_vector_t equ) pos[1] = equ.y; pos[2] = equ.z; - return RotateEquatorialToEcliptic(pos, ob2000); + return RotateEquatorialToEcliptic(pos, ob2000, equ.t); } /** @@ -2941,7 +2941,7 @@ astro_angle_result_t Astronomy_EclipticLongitude(astro_body_t body, astro_time_t return result; } -static astro_ecliptic_t RotateEquatorialToEcliptic(const double pos[3], double obliq_radians) +static astro_ecliptic_t RotateEquatorialToEcliptic(const double pos[3], double obliq_radians, astro_time_t time) { astro_ecliptic_t ecl; double cos_ob, sin_ob; @@ -2950,21 +2950,23 @@ static astro_ecliptic_t RotateEquatorialToEcliptic(const double pos[3], double o cos_ob = cos(obliq_radians); sin_ob = sin(obliq_radians); - ecl.ex = +pos[0]; - ecl.ey = +pos[1]*cos_ob + pos[2]*sin_ob; - ecl.ez = -pos[1]*sin_ob + pos[2]*cos_ob; + ecl.vec.status = ASTRO_SUCCESS; + ecl.vec.t = time; + ecl.vec.x = +pos[0]; + ecl.vec.y = +pos[1]*cos_ob + pos[2]*sin_ob; + ecl.vec.z = -pos[1]*sin_ob + pos[2]*cos_ob; - xyproj = sqrt(ecl.ex*ecl.ex + ecl.ey*ecl.ey); + xyproj = sqrt(ecl.vec.x*ecl.vec.x + ecl.vec.y*ecl.vec.y); if (xyproj > 0.0) { - ecl.elon = RAD2DEG * atan2(ecl.ey, ecl.ex); + ecl.elon = RAD2DEG * atan2(ecl.vec.y, ecl.vec.x); if (ecl.elon < 0.0) ecl.elon += 360.0; } else ecl.elon = 0.0; - ecl.elat = RAD2DEG * atan2(ecl.ez, xyproj); + ecl.elat = RAD2DEG * atan2(ecl.vec.z, xyproj); ecl.status = ASTRO_SUCCESS; return ecl; } diff --git a/generate/template/astronomy.cs b/generate/template/astronomy.cs index c6e5d1ec..6fefd809 100644 --- a/generate/template/astronomy.cs +++ b/generate/template/astronomy.cs @@ -633,19 +633,12 @@ namespace CosineKitty public struct Ecliptic { /// - /// Cartesian x-coordinate: in the direction of the equinox along the ecliptic plane. + /// Cartesian ecliptic vector, with components as follows: + /// x: the direction of the equinox along the ecliptic plane. + /// y: in the ecliptic plane 90 degrees prograde from the equinox. + /// z: perpendicular to the ecliptic plane. Positive is north. /// - public readonly double ex; - - /// - /// Cartesian y-coordinate: in the ecliptic plane 90 degrees prograde from the equinox. - /// - public readonly double ey; - - /// - /// Cartesian z-coordinate: perpendicular to the ecliptic plane. Positive is north. - /// - public readonly double ez; + public readonly AstroVector vec; /// /// Latitude in degrees north (positive) or south (negative) of the ecliptic plane. @@ -660,16 +653,12 @@ namespace CosineKitty /// /// Creates an object that holds Cartesian and angular ecliptic coordinates. /// - /// x-coordinate of the ecliptic position - /// y-coordinate of the ecliptic position - /// z-coordinate of the ecliptic position + /// ecliptic vector /// ecliptic latitude /// ecliptic longitude - public Ecliptic(double ex, double ey, double ez, double elat, double elon) + public Ecliptic(AstroVector vec, double elat, double elon) { - this.ex = ex; - this.ey = ey; - this.ez = ez; + this.vec = vec; this.elat = elat; this.elon = elon; } @@ -3320,7 +3309,8 @@ $ASTRO_IAU_DATA() double elat = RAD2DEG * Math.Atan2(ez, xyproj); - return new Ecliptic(ex, ey, ez, elat, elon); + var vec = new AstroVector(ex, ey, ez, pos.t); + return new Ecliptic(vec, elat, elon); } /// diff --git a/generate/template/astronomy.py b/generate/template/astronomy.py index be670630..447c59c8 100644 --- a/generate/template/astronomy.py +++ b/generate/template/astronomy.py @@ -2185,25 +2185,22 @@ class EclipticCoordinates: Attributes ---------- - ex : float - Cartesian x-coordinate: in the direction of the equinox along the ecliptic plane. - ey : float - Cartesian y-coordinate: in the ecliptic plane 90 degrees prograde from the equinox. - ez : float - Cartesian z-coordinate: perpendicular to the ecliptic plane. Positive is north. + vec : Vector + Ecliptic cartesian vector with the following components: + x: in the direction of the equinox along the ecliptic plane. + y: Cartesian y-coordinate: in the ecliptic plane 90 degrees prograde from the equinox. + z: Cartesian z-coordinate: perpendicular to the ecliptic plane. Positive is north. elat : float Latitude in degrees north (positive) or south (negative) of the ecliptic plane. elon : float Longitude in degrees around the ecliptic plane prograde from the equinox. """ - def __init__(self, ex, ey, ez, elat, elon): - self.ex = ex - self.ey = ey - self.ez = ez + def __init__(self, vec, elat, elon): + self.vec = vec self.elat = elat self.elon = elon -def _RotateEquatorialToEcliptic(pos, obliq_radians): +def _RotateEquatorialToEcliptic(pos, obliq_radians, time): cos_ob = math.cos(obliq_radians) sin_ob = math.sin(obliq_radians) ex = +pos[0] @@ -2217,7 +2214,8 @@ def _RotateEquatorialToEcliptic(pos, obliq_radians): else: elon = 0.0 elat = math.degrees(math.atan2(ez, xyproj)) - return EclipticCoordinates(ex, ey, ez, elat, elon) + vec = Vector(ex, ey, ez, time) + return EclipticCoordinates(vec, elat, elon) def SunPosition(time): """Calculates geocentric ecliptic coordinates for the Sun. @@ -2259,7 +2257,7 @@ def SunPosition(time): # Convert equatorial coordinates to ecliptic coordinates. true_obliq = math.radians(adjusted_time._etilt().tobl) - return _RotateEquatorialToEcliptic(sun_ofdate, true_obliq) + return _RotateEquatorialToEcliptic(sun_ofdate, true_obliq, time) def Ecliptic(equ): """Converts J2000 equatorial Cartesian coordinates to J2000 ecliptic coordinates. @@ -2280,7 +2278,7 @@ def Ecliptic(equ): """ # Based on NOVAS functions equ2ecl() and equ2ecl_vec(). ob2000 = 0.40909260059599012 # mean obliquity of the J2000 ecliptic in radians - return _RotateEquatorialToEcliptic([equ.x, equ.y, equ.z], ob2000) + return _RotateEquatorialToEcliptic([equ.x, equ.y, equ.z], ob2000, equ.t) def EclipticLongitude(body, time): """Calculates heliocentric ecliptic longitude of a body based on the J2000 equinox. diff --git a/generate/template/astronomy.ts b/generate/template/astronomy.ts index b82f85c0..b15475bb 100644 --- a/generate/template/astronomy.ts +++ b/generate/template/astronomy.ts @@ -1135,18 +1135,12 @@ export class HorizontalCoordinates { * astronomical units (AU) * and spherical coordinates `(elon, elat)` measured in degrees. * - * @property {number} ex - * The Cartesian x-coordinate of the body in astronomical units (AU). + * @property {Vector} vec + * Ecliptic cartesian vector with components measured in astronomical units (AU). * The x-axis is within the ecliptic plane and is oriented in the direction of the * equinox. - * - * @property {number} ey - * The Cartesian y-coordinate of the body in astronomical units (AU). * The y-axis is within the ecliptic plane and is oriented 90 degrees * counterclockwise from the equinox, as seen from above the Sun's north pole. - * - * @property {number} ez - * The Cartesian z-coordinate of the body in astronomical units (AU). * The z-axis is oriented perpendicular to the ecliptic plane, * along the direction of the Sun's north pole. * @@ -1165,16 +1159,12 @@ export class HorizontalCoordinates { * up to 360 degrees. */ export class EclipticCoordinates { - ex: number; - ey: number; - ez: number; + vec: Vector; elat: number; elon: number; - constructor(ex: number, ey: number, ez: number, elat: number, elon: number) { - this.ex = VerifyNumber(ex); - this.ey = VerifyNumber(ey); - this.ez = VerifyNumber(ez); + constructor(vec: Vector, elat: number, elon: number) { + this.vec = vec; this.elat = VerifyNumber(elat); this.elon = VerifyNumber(elon); } @@ -1455,7 +1445,8 @@ export function SunPosition(date: FlexibleDateTime): EclipticCoordinates { const cos_ob = Math.cos(true_obliq); const sin_ob = Math.sin(true_obliq); - const sun_ecliptic = RotateEquatorialToEcliptic(gx, gy, gz, cos_ob, sin_ob); + const vec = new Vector(gx, gy, gz, time); + const sun_ecliptic = RotateEquatorialToEcliptic(vec, cos_ob, sin_ob); return sun_ecliptic; } @@ -1520,11 +1511,11 @@ export function Equator(body: Body, date: FlexibleDateTime, observer: Observer, return vector2radec(datevect, time); } -function RotateEquatorialToEcliptic(gx: number, gy: number, gz: number, cos_ob: number, sin_ob: number): EclipticCoordinates { +function RotateEquatorialToEcliptic(equ: Vector, cos_ob: number, sin_ob: number): EclipticCoordinates { // Rotate equatorial vector to obtain ecliptic vector. - const ex = gx; - const ey = gy*cos_ob + gz*sin_ob; - const ez = -gy*sin_ob + gz*cos_ob; + const ex = equ.x; + const ey = equ.y*cos_ob + equ.z*sin_ob; + const ez = -equ.y*sin_ob + equ.z*cos_ob; const xyproj = Math.sqrt(ex*ex + ey*ey); let elon = 0; @@ -1533,7 +1524,8 @@ function RotateEquatorialToEcliptic(gx: number, gy: number, gz: number, cos_ob: if (elon < 0) elon += 360; } let elat = RAD2DEG * Math.atan2(ez, xyproj); - return new EclipticCoordinates(ex, ey, ez, elat, elon); + let ecl = new Vector(ex, ey, ez, equ.t); + return new EclipticCoordinates(ecl, elat, elon); } /** @@ -1541,21 +1533,14 @@ function RotateEquatorialToEcliptic(gx: number, gy: number, gz: number, cos_ob: * * Given J2000 equatorial Cartesian coordinates, * returns J2000 ecliptic latitude, longitude, and cartesian coordinates. - * You can call {@link GeoVector} and use its (x, y, z) return values - * to pass into this function. + * You can call {@link GeoVector} and pass the resulting vector to this function. * - * @param {number} gx - * The x-coordinate of a 3D vector in the J2000 equatorial coordinate system. - * - * @param {number} gy - * The y-coordinate of a 3D vector in the J2000 equatorial coordinate system. - * - * @param {number} gz - * The z-coordinate of a 3D vector in the J2000 equatorial coordinate system. + * @param {Vector} equ + * A vector in the J2000 equatorial coordinate system. * * @returns {EclipticCoordinates} */ -export function Ecliptic(gx: number, gy: number, gz: number): EclipticCoordinates { +export function Ecliptic(equ: Vector): EclipticCoordinates { // Based on NOVAS functions equ2ecl() and equ2ecl_vec(). if (ob2000 === undefined) { // Lazy-evaluate and keep the mean obliquity of the ecliptic at J2000. @@ -1564,12 +1549,7 @@ export function Ecliptic(gx: number, gy: number, gz: number): EclipticCoordinate cos_ob2000 = Math.cos(ob2000); sin_ob2000 = Math.sin(ob2000); } - - VerifyNumber(gx); - VerifyNumber(gy); - VerifyNumber(gz); - - return RotateEquatorialToEcliptic(gx, gy, gz, cos_ob2000, sin_ob2000); + return RotateEquatorialToEcliptic(equ, cos_ob2000, sin_ob2000); } /** @@ -2514,11 +2494,11 @@ export function LongitudeFromSun(body: Body, date: FlexibleDateTime): number { throw 'The Earth does not have a longitude as seen from itself.'; const t = MakeTime(date); - let gb = GeoVector(body, t, false); - const eb = Ecliptic(gb.x, gb.y, gb.z); + const gb = GeoVector(body, t, false); + const eb = Ecliptic(gb); - let gs = GeoVector(Body.Sun, t, false); - const es = Ecliptic(gs.x, gs.y, gs.z); + const gs = GeoVector(Body.Sun, t, false); + const es = Ecliptic(gs); return NormalizeLongitude(eb.elon - es.elon); } @@ -2573,8 +2553,8 @@ export function EclipticLongitude(body: Body, date: FlexibleDateTime): number { if (body === Body.Sun) throw 'Cannot calculate heliocentric longitude of the Sun.'; - let hv = HelioVector(body, date); - let eclip = Ecliptic(hv.x, hv.y, hv.z); + const hv = HelioVector(body, date); + const eclip = Ecliptic(hv); return eclip.elon; } @@ -2610,7 +2590,7 @@ function SaturnMagnitude(phase: number, helio_dist: number, geo_dist: number, gc // We must handle Saturn's rings as a major component of its visual magnitude. // Find geocentric ecliptic coordinates of Saturn. - const eclip = Ecliptic(gc.x, gc.y, gc.z); + const eclip = Ecliptic(gc); const ir = DEG2RAD * 28.06; // tilt of Saturn's rings to the ecliptic, in radians const Nr = DEG2RAD * (169.51 + (3.82e-5 * time.tt)); // ascending node of Saturn's rings, in radians diff --git a/generate/test.js b/generate/test.js index 6124baf1..a8b96c08 100644 --- a/generate/test.js +++ b/generate/test.js @@ -1251,14 +1251,14 @@ function Rotation() { const ev = Astronomy.HelioVector('Earth', time); /* Use the existing Astronomy.Ecliptic() to calculate ecliptic vector and angles. */ - const ecl = Astronomy.Ecliptic(ev.x, ev.y, ev.z); - if (Verbose) console.log(`JS Test_EQJ_ECL ecl = (${ecl.ex}, ${ecl.ey}, ${ecl.ez})`); + const ecl = Astronomy.Ecliptic(ev); + if (Verbose) console.log(`JS Test_EQJ_ECL ecl = (${ecl.vec.x}, ${ecl.vec.y}, ${ecl.vec.z})`); /* Now compute the same vector via rotation matrix. */ const ee = Astronomy.RotateVector(r, ev); - const dx = ee.x - ecl.ex; - const dy = ee.y - ecl.ey; - const dz = ee.z - ecl.ez; + const dx = ee.x - ecl.vec.x; + const dy = ee.y - ecl.vec.y; + const dz = ee.z - ecl.vec.z; const diff = sqrt(dx*dx + dy*dy + dz*dz); if (Verbose) console.log(`JS Test_EQJ_ECL ee = (${ee.x}, ${ee.y}, ${ee.z}); diff = ${diff}`); if (diff > 2.0e-15) diff --git a/generate/test.py b/generate/test.py index ce87615b..70f48530 100755 --- a/generate/test.py +++ b/generate/test.py @@ -832,13 +832,13 @@ def Test_EQJ_ECL(): # Use the existing astronomy.Ecliptic() to calculate ecliptic vector and angles. ecl = astronomy.Ecliptic(ev) - Debug('PY Test_EQJ_ECL ecl = ({}, {}, {})'.format(ecl.ex, ecl.ey, ecl.ez)) + Debug('PY Test_EQJ_ECL ecl = ({}, {}, {})'.format(ecl.vec.x, ecl.vec.y, ecl.vec.z)) # Now compute the same vector via rotation matrix. ee = astronomy.RotateVector(r, ev) - dx = ee.x - ecl.ex - dy = ee.y - ecl.ey - dz = ee.z - ecl.ez + dx = ee.x - ecl.vec.x + dy = ee.y - ecl.vec.y + dz = ee.z - ecl.vec.z diff = sqrt(dx*dx + dy*dy + dz*dz) Debug('PY Test_EQJ_ECL ee = ({}, {}, {}); diff = {}'.format(ee.x, ee.y, ee.z, diff)) if diff > 1.0e-16: diff --git a/source/c/README.md b/source/c/README.md index f56b08e0..2f916e5f 100644 --- a/source/c/README.md +++ b/source/c/README.md @@ -2467,9 +2467,7 @@ Coordinates of a celestial body as seen from the center of the Sun (heliocentric | Type | Member | Description | | ---- | ------ | ----------- | | [`astro_status_t`](#astro_status_t) | `status` | `ASTRO_SUCCESS` if this struct is valid; otherwise an error code. | -| `double` | `ex` | Cartesian x-coordinate: in the direction of the equinox along the ecliptic plane. | -| `double` | `ey` | Cartesian y-coordinate: in the ecliptic plane 90 degrees prograde from the equinox. | -| `double` | `ez` | Cartesian z-coordinate: perpendicular to the ecliptic plane. Positive is north. | +| [`astro_vector_t`](#astro_vector_t) | `vec` | Cartesian ecliptic vector: x=equinox, y=90 degrees prograde in ecliptic plane, z=northward perpendicular to ecliptic. | | `double` | `elat` | Latitude in degrees north (positive) or south (negative) of the ecliptic plane. | | `double` | `elon` | Longitude in degrees around the ecliptic plane prograde from the equinox. | diff --git a/source/c/astronomy.c b/source/c/astronomy.c index 2967fa5b..9b082dce 100644 --- a/source/c/astronomy.c +++ b/source/c/astronomy.c @@ -196,7 +196,7 @@ static const double NEPTUNE_GM = 0.1524358900784276e-07; #define Y2000_IN_MJD (T0 - MJD_BASIS) /** @endcond */ -static astro_ecliptic_t RotateEquatorialToEcliptic(const double pos[3], double obliq_radians); +static astro_ecliptic_t RotateEquatorialToEcliptic(const double pos[3], double obliq_radians, astro_time_t time); static int QuadInterp( double tm, double dt, double fa, double fm, double fb, double *x, double *t, double *df_dt); @@ -375,7 +375,7 @@ static astro_ecliptic_t EclError(astro_status_t status) { astro_ecliptic_t ecl; ecl.status = status; - ecl.ex = ecl.ey = ecl.ez = ecl.elat = ecl.elon = NAN; + ecl.vec = VecError(status, TimeError()); return ecl; } @@ -3922,7 +3922,7 @@ astro_ecliptic_t Astronomy_SunPosition(astro_time_t time) /* Convert equatorial coordinates to ecliptic coordinates. */ true_obliq = DEG2RAD * e_tilt(&adjusted_time).tobl; - return RotateEquatorialToEcliptic(sun_ofdate, true_obliq); + return RotateEquatorialToEcliptic(sun_ofdate, true_obliq, time); } /** @@ -3952,7 +3952,7 @@ astro_ecliptic_t Astronomy_Ecliptic(astro_vector_t equ) pos[1] = equ.y; pos[2] = equ.z; - return RotateEquatorialToEcliptic(pos, ob2000); + return RotateEquatorialToEcliptic(pos, ob2000, equ.t); } /** @@ -3993,7 +3993,7 @@ astro_angle_result_t Astronomy_EclipticLongitude(astro_body_t body, astro_time_t return result; } -static astro_ecliptic_t RotateEquatorialToEcliptic(const double pos[3], double obliq_radians) +static astro_ecliptic_t RotateEquatorialToEcliptic(const double pos[3], double obliq_radians, astro_time_t time) { astro_ecliptic_t ecl; double cos_ob, sin_ob; @@ -4002,21 +4002,23 @@ static astro_ecliptic_t RotateEquatorialToEcliptic(const double pos[3], double o cos_ob = cos(obliq_radians); sin_ob = sin(obliq_radians); - ecl.ex = +pos[0]; - ecl.ey = +pos[1]*cos_ob + pos[2]*sin_ob; - ecl.ez = -pos[1]*sin_ob + pos[2]*cos_ob; + ecl.vec.status = ASTRO_SUCCESS; + ecl.vec.t = time; + ecl.vec.x = +pos[0]; + ecl.vec.y = +pos[1]*cos_ob + pos[2]*sin_ob; + ecl.vec.z = -pos[1]*sin_ob + pos[2]*cos_ob; - xyproj = sqrt(ecl.ex*ecl.ex + ecl.ey*ecl.ey); + xyproj = sqrt(ecl.vec.x*ecl.vec.x + ecl.vec.y*ecl.vec.y); if (xyproj > 0.0) { - ecl.elon = RAD2DEG * atan2(ecl.ey, ecl.ex); + ecl.elon = RAD2DEG * atan2(ecl.vec.y, ecl.vec.x); if (ecl.elon < 0.0) ecl.elon += 360.0; } else ecl.elon = 0.0; - ecl.elat = RAD2DEG * atan2(ecl.ez, xyproj); + ecl.elat = RAD2DEG * atan2(ecl.vec.z, xyproj); ecl.status = ASTRO_SUCCESS; return ecl; } diff --git a/source/c/astronomy.h b/source/c/astronomy.h index b79a8674..e70d751a 100644 --- a/source/c/astronomy.h +++ b/source/c/astronomy.h @@ -267,9 +267,7 @@ astro_equatorial_t; typedef struct { astro_status_t status; /**< `ASTRO_SUCCESS` if this struct is valid; otherwise an error code. */ - double ex; /**< Cartesian x-coordinate: in the direction of the equinox along the ecliptic plane. */ - double ey; /**< Cartesian y-coordinate: in the ecliptic plane 90 degrees prograde from the equinox. */ - double ez; /**< Cartesian z-coordinate: perpendicular to the ecliptic plane. Positive is north. */ + astro_vector_t vec; /**< Cartesian ecliptic vector: x=equinox, y=90 degrees prograde in ecliptic plane, z=northward perpendicular to ecliptic. */ double elat; /**< Latitude in degrees north (positive) or south (negative) of the ecliptic plane. */ double elon; /**< Longitude in degrees around the ecliptic plane prograde from the equinox. */ } diff --git a/source/csharp/README.md b/source/csharp/README.md index 4350f152..6881ff90 100644 --- a/source/csharp/README.md +++ b/source/csharp/README.md @@ -1697,9 +1697,7 @@ oriented with respect to the plane of the Earth's orbit around the Sun (the ecli | Type | Name | Description | | --- | --- | --- | -| `double` | `ex` | Cartesian x-coordinate: in the direction of the equinox along the ecliptic plane. | -| `double` | `ey` | Cartesian y-coordinate: in the ecliptic plane 90 degrees prograde from the equinox. | -| `double` | `ez` | Cartesian z-coordinate: perpendicular to the ecliptic plane. Positive is north. | +| [`AstroVector`](#AstroVector) | `vec` | Cartesian ecliptic vector, with components as follows: x: the direction of the equinox along the ecliptic plane. y: in the ecliptic plane 90 degrees prograde from the equinox. z: perpendicular to the ecliptic plane. Positive is north. | | `double` | `elat` | Latitude in degrees north (positive) or south (negative) of the ecliptic plane. | | `double` | `elon` | Longitude in degrees around the ecliptic plane prograde from the equinox. | diff --git a/source/csharp/astronomy.cs b/source/csharp/astronomy.cs index b7ae9b4f..abc167bb 100644 --- a/source/csharp/astronomy.cs +++ b/source/csharp/astronomy.cs @@ -633,19 +633,12 @@ namespace CosineKitty public struct Ecliptic { /// - /// Cartesian x-coordinate: in the direction of the equinox along the ecliptic plane. + /// Cartesian ecliptic vector, with components as follows: + /// x: the direction of the equinox along the ecliptic plane. + /// y: in the ecliptic plane 90 degrees prograde from the equinox. + /// z: perpendicular to the ecliptic plane. Positive is north. /// - public readonly double ex; - - /// - /// Cartesian y-coordinate: in the ecliptic plane 90 degrees prograde from the equinox. - /// - public readonly double ey; - - /// - /// Cartesian z-coordinate: perpendicular to the ecliptic plane. Positive is north. - /// - public readonly double ez; + public readonly AstroVector vec; /// /// Latitude in degrees north (positive) or south (negative) of the ecliptic plane. @@ -660,16 +653,12 @@ namespace CosineKitty /// /// Creates an object that holds Cartesian and angular ecliptic coordinates. /// - /// x-coordinate of the ecliptic position - /// y-coordinate of the ecliptic position - /// z-coordinate of the ecliptic position + /// ecliptic vector /// ecliptic latitude /// ecliptic longitude - public Ecliptic(double ex, double ey, double ez, double elat, double elon) + public Ecliptic(AstroVector vec, double elat, double elon) { - this.ex = ex; - this.ey = ey; - this.ez = ez; + this.vec = vec; this.elat = elat; this.elon = elon; } @@ -4376,7 +4365,8 @@ namespace CosineKitty double elat = RAD2DEG * Math.Atan2(ez, xyproj); - return new Ecliptic(ex, ey, ez, elat, elon); + var vec = new AstroVector(ex, ey, ez, pos.t); + return new Ecliptic(vec, elat, elon); } /// diff --git a/source/js/README.md b/source/js/README.md index 6c1ecba4..0cabdee5 100644 --- a/source/js/README.md +++ b/source/js/README.md @@ -310,9 +310,7 @@ and spherical coordinates `(elon, elat)` measured in degrees. | Name | Type | Description | | --- | --- | --- | -| ex | number | The Cartesian x-coordinate of the body in astronomical units (AU). The x-axis is within the ecliptic plane and is oriented in the direction of the equinox. | -| ey | number | The Cartesian y-coordinate of the body in astronomical units (AU). The y-axis is within the ecliptic plane and is oriented 90 degrees counterclockwise from the equinox, as seen from above the Sun's north pole. | -| ez | number | The Cartesian z-coordinate of the body in astronomical units (AU). The z-axis is oriented perpendicular to the ecliptic plane, along the direction of the Sun's north pole. | +| vec | [Vector](#Vector) | Ecliptic cartesian vector with components measured in astronomical units (AU). The x-axis is within the ecliptic plane and is oriented in the direction of the equinox. The y-axis is within the ecliptic plane and is oriented 90 degrees counterclockwise from the equinox, as seen from above the Sun's north pole. The z-axis is oriented perpendicular to the ecliptic plane, along the direction of the Sun's north pole. | | elat | number | The ecliptic latitude of the body in degrees. This is the angle north or south of the ecliptic plane. The value is in the range [-90, +90]. Positive values are north and negative values are south. | | elon | number | The ecliptic longitude of the body in degrees. This is the angle measured counterclockwise around the ecliptic plane, as seen from above the Sun's north pole. This is the same direction that the Earth orbits around the Sun. The angle is measured starting at 0 from the equinox and increases up to 360 degrees. | @@ -800,20 +798,17 @@ However, it can have a small effect on the apparent positions of other bodies. -## Ecliptic(gx, gy, gz) ⇒ [EclipticCoordinates](#EclipticCoordinates) +## Ecliptic(equ) ⇒ [EclipticCoordinates](#EclipticCoordinates) **Kind**: global function **Brief**: Converts equatorial Cartesian coordinates to ecliptic Cartesian and angular coordinates. Given J2000 equatorial Cartesian coordinates, returns J2000 ecliptic latitude, longitude, and cartesian coordinates. -You can call [GeoVector](#GeoVector) and use its (x, y, z) return values -to pass into this function. +You can call [GeoVector](#GeoVector) and pass the resulting vector to this function. | Param | Type | Description | | --- | --- | --- | -| gx | number | The x-coordinate of a 3D vector in the J2000 equatorial coordinate system. | -| gy | number | The y-coordinate of a 3D vector in the J2000 equatorial coordinate system. | -| gz | number | The z-coordinate of a 3D vector in the J2000 equatorial coordinate system. | +| equ | [Vector](#Vector) | A vector in the J2000 equatorial coordinate system. | * * * diff --git a/source/js/astronomy.browser.js b/source/js/astronomy.browser.js index 37a445b3..ee8db7fe 100644 --- a/source/js/astronomy.browser.js +++ b/source/js/astronomy.browser.js @@ -1817,18 +1817,12 @@ exports.HorizontalCoordinates = HorizontalCoordinates; * astronomical units (AU) * and spherical coordinates `(elon, elat)` measured in degrees. * - * @property {number} ex - * The Cartesian x-coordinate of the body in astronomical units (AU). + * @property {Vector} vec + * Ecliptic cartesian vector with components measured in astronomical units (AU). * The x-axis is within the ecliptic plane and is oriented in the direction of the * equinox. - * - * @property {number} ey - * The Cartesian y-coordinate of the body in astronomical units (AU). * The y-axis is within the ecliptic plane and is oriented 90 degrees * counterclockwise from the equinox, as seen from above the Sun's north pole. - * - * @property {number} ez - * The Cartesian z-coordinate of the body in astronomical units (AU). * The z-axis is oriented perpendicular to the ecliptic plane, * along the direction of the Sun's north pole. * @@ -1847,10 +1841,8 @@ exports.HorizontalCoordinates = HorizontalCoordinates; * up to 360 degrees. */ class EclipticCoordinates { - constructor(ex, ey, ez, elat, elon) { - this.ex = VerifyNumber(ex); - this.ey = VerifyNumber(ey); - this.ez = VerifyNumber(ez); + constructor(vec, elat, elon) { + this.vec = vec; this.elat = VerifyNumber(elat); this.elon = VerifyNumber(elon); } @@ -2106,7 +2098,8 @@ function SunPosition(date) { const true_obliq = DEG2RAD * e_tilt(time).tobl; const cos_ob = Math.cos(true_obliq); const sin_ob = Math.sin(true_obliq); - const sun_ecliptic = RotateEquatorialToEcliptic(gx, gy, gz, cos_ob, sin_ob); + const vec = new Vector(gx, gy, gz, time); + const sun_ecliptic = RotateEquatorialToEcliptic(vec, cos_ob, sin_ob); return sun_ecliptic; } exports.SunPosition = SunPosition; @@ -2169,11 +2162,11 @@ function Equator(body, date, observer, ofdate, aberration) { return vector2radec(datevect, time); } exports.Equator = Equator; -function RotateEquatorialToEcliptic(gx, gy, gz, cos_ob, sin_ob) { +function RotateEquatorialToEcliptic(equ, cos_ob, sin_ob) { // Rotate equatorial vector to obtain ecliptic vector. - const ex = gx; - const ey = gy * cos_ob + gz * sin_ob; - const ez = -gy * sin_ob + gz * cos_ob; + const ex = equ.x; + const ey = equ.y * cos_ob + equ.z * sin_ob; + const ez = -equ.y * sin_ob + equ.z * cos_ob; const xyproj = Math.sqrt(ex * ex + ey * ey); let elon = 0; if (xyproj > 0) { @@ -2182,28 +2175,22 @@ function RotateEquatorialToEcliptic(gx, gy, gz, cos_ob, sin_ob) { elon += 360; } let elat = RAD2DEG * Math.atan2(ez, xyproj); - return new EclipticCoordinates(ex, ey, ez, elat, elon); + let ecl = new Vector(ex, ey, ez, equ.t); + return new EclipticCoordinates(ecl, elat, elon); } /** * @brief Converts equatorial Cartesian coordinates to ecliptic Cartesian and angular coordinates. * * Given J2000 equatorial Cartesian coordinates, * returns J2000 ecliptic latitude, longitude, and cartesian coordinates. - * You can call {@link GeoVector} and use its (x, y, z) return values - * to pass into this function. + * You can call {@link GeoVector} and pass the resulting vector to this function. * - * @param {number} gx - * The x-coordinate of a 3D vector in the J2000 equatorial coordinate system. - * - * @param {number} gy - * The y-coordinate of a 3D vector in the J2000 equatorial coordinate system. - * - * @param {number} gz - * The z-coordinate of a 3D vector in the J2000 equatorial coordinate system. + * @param {Vector} equ + * A vector in the J2000 equatorial coordinate system. * * @returns {EclipticCoordinates} */ -function Ecliptic(gx, gy, gz) { +function Ecliptic(equ) { // Based on NOVAS functions equ2ecl() and equ2ecl_vec(). if (ob2000 === undefined) { // Lazy-evaluate and keep the mean obliquity of the ecliptic at J2000. @@ -2212,10 +2199,7 @@ function Ecliptic(gx, gy, gz) { cos_ob2000 = Math.cos(ob2000); sin_ob2000 = Math.sin(ob2000); } - VerifyNumber(gx); - VerifyNumber(gy); - VerifyNumber(gz); - return RotateEquatorialToEcliptic(gx, gy, gz, cos_ob2000, sin_ob2000); + return RotateEquatorialToEcliptic(equ, cos_ob2000, sin_ob2000); } exports.Ecliptic = Ecliptic; /** @@ -3078,10 +3062,10 @@ function LongitudeFromSun(body, date) { if (body === Body.Earth) throw 'The Earth does not have a longitude as seen from itself.'; const t = MakeTime(date); - let gb = GeoVector(body, t, false); - const eb = Ecliptic(gb.x, gb.y, gb.z); - let gs = GeoVector(Body.Sun, t, false); - const es = Ecliptic(gs.x, gs.y, gs.z); + const gb = GeoVector(body, t, false); + const eb = Ecliptic(gb); + const gs = GeoVector(Body.Sun, t, false); + const es = Ecliptic(gs); return NormalizeLongitude(eb.elon - es.elon); } exports.LongitudeFromSun = LongitudeFromSun; @@ -3133,8 +3117,8 @@ exports.AngleFromSun = AngleFromSun; function EclipticLongitude(body, date) { if (body === Body.Sun) throw 'Cannot calculate heliocentric longitude of the Sun.'; - let hv = HelioVector(body, date); - let eclip = Ecliptic(hv.x, hv.y, hv.z); + const hv = HelioVector(body, date); + const eclip = Ecliptic(hv); return eclip.elon; } exports.EclipticLongitude = EclipticLongitude; @@ -3191,7 +3175,7 @@ function SaturnMagnitude(phase, helio_dist, geo_dist, gc, time) { // http://www.stjarnhimlen.se/comp/ppcomp.html#15 // We must handle Saturn's rings as a major component of its visual magnitude. // Find geocentric ecliptic coordinates of Saturn. - const eclip = Ecliptic(gc.x, gc.y, gc.z); + const eclip = Ecliptic(gc); const ir = DEG2RAD * 28.06; // tilt of Saturn's rings to the ecliptic, in radians const Nr = DEG2RAD * (169.51 + (3.82e-5 * time.tt)); // ascending node of Saturn's rings, in radians // Find tilt of Saturn's rings, as seen from Earth. diff --git a/source/js/astronomy.browser.min.js b/source/js/astronomy.browser.min.js index bee8379c..01aa0ec8 100644 --- a/source/js/astronomy.browser.min.js +++ b/source/js/astronomy.browser.min.js @@ -27,23 +27,23 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ -var $jscomp=$jscomp||{};$jscomp.scope={};$jscomp.createTemplateTagFirstArg=function(p){return p.raw=p};$jscomp.createTemplateTagFirstArgWithRaw=function(p,t){p.raw=t;return p};$jscomp.arrayIteratorImpl=function(p){var t=0;return function(){return tMath.abs(c))throw"AngleBetween: first vector is too short.";var d=b.x*b.x+b.y*b.y+b.z*b.z;if(1E-8>Math.abs(d))throw"AngleBetween: second vector is too short.";a=(a.x*b.x+a.y*b.y+a.z*b.z)/Math.sqrt(c*d);return-1>=a?180:1<=a?0:57.29577951308232*Math.acos(a)}function K(a){var b=2E3+(a-14)/365.24217;if(-500>b)return a=(b-1820)/100,-20+32*a*a;if(500>b){a=b/100;b=a*a;var c=a*b;return 10583.6-1014.41*a+33.78311*b-5.952053*c-.1798452*b*b+.022174192*b*c+.0090316521*c*c}if(1600>b)return a= (b-1E3)/100,b=a*a,c=a*b,1574.2-556.01*a+71.23472*b+.319781*c-.8503463*b*b-.005050998*b*c+.0083572073*c*c;if(1700>b)return a=b-1600,b=a*a,120-.9808*a-.01532*b+a*b/7129;if(1800>b)return a=b-1700,b=a*a,8.83+.1603*a-.0059285*b+1.3336E-4*a*b-b*b/1174E3;if(1860>b){a=b-1800;b=a*a;c=a*b;var d=b*b;return 13.72-.332447*a+.0068612*b+.0041116*c-3.7436E-4*d+1.21272E-5*b*c-1.699E-7*c*c+8.75E-10*c*d}if(1900>b)return a=b-1860,b=a*a,c=a*b,7.62+.5737*a-.251754*b+.01680668*c-4.473624E-4*b*b+b*c/233174;if(1920>b)return a= b-1900,b=a*a,-2.79+1.494119*a-.0598939*b+.0061966*a*b-1.97E-4*b*b;if(1941>b)return a=b-1920,b=a*a,21.2+.84493*a-.0761*b+.0020936*a*b;if(1961>b)return a=b-1950,b=a*a,29.07+.407*a-b/233+a*b/2547;if(1986>b)return a=b-1975,b=a*a,45.45+1.067*a-b/260-a*b/718;if(2005>b)return a=b-2E3,b=a*a,c=a*b,63.86+.3345*a-.060374*b+.0017275*c+6.51814E-4*b*b+2.373599E-5*b*c;if(2050>b)return a=b-2E3,62.92+.32217*a+.005589*a*a;if(2150>b)return a=(b-1820)/100,-20+32*a*a-.5628*(2150-b);a=(b-1820)/100;return-20+32*a*a}function M(a){return a+ sb(a)/86400}function z(a){return a instanceof Q?a:new Q(a)}function oa(a){a=a.tt/36525;return(((((-4.34E-8*a-5.76E-7)*a+.0020034)*a-1.831E-4)*a-46.836769)*a+84381.406)/3600}function Da(a){var b;if(!Ea||1E-6=B;++B)0!==w[B]&&f(E.x,E.y,c(x,w[B],B),c(I,w[B],B),function(aa,ha){return E.x=aa,E.y=ha});return E}function g(w,B,H,U,E,aa,ha,Wa){E=l(E,aa,ha,Wa);q+=w*E.y;u+=B*E.y;wb+=H*E.x;xb+=U*E.x}++h.CalcMoonCount;a=a.tt/36525;var m,n,q,u,x=b(-6,6,1,4),I=b(-6,6,1,4);var A=a*a;var wb=u=q=0;var xb=3422.7;var ba=k(.19833+.05611*a);var V=k(.27869+.04508*a);var N=k(.16827-.36903*a);var S=k(.34734-5.37261*a);var pa=k(.10498-5.37899*a);var Fa=k(.42681-.41855*a),wc=k(.14943-5.37511*a);var Ga=.84*ba+ +w,B,H,U];for(B=1;4>=B;++B)0!==w[B]&&f(E.x,E.y,c(x,w[B],B),c(I,w[B],B),function(aa,ha){return E.x=aa,E.y=ha});return E}function g(w,B,H,U,E,aa,ha,Wa){E=l(E,aa,ha,Wa);q+=w*E.y;t+=B*E.y;wb+=H*E.x;xb+=U*E.x}++h.CalcMoonCount;a=a.tt/36525;var m,n,q,t,x=b(-6,6,1,4),I=b(-6,6,1,4);var A=a*a;var wb=t=q=0;var xb=3422.7;var ba=k(.19833+.05611*a);var V=k(.27869+.04508*a);var N=k(.16827-.36903*a);var S=k(.34734-5.37261*a);var pa=k(.10498-5.37899*a);var Fa=k(.42681-.41855*a),wc=k(.14943-5.37511*a);var Ga=.84*ba+ .31*V+14.27*N+7.26*S+.28*pa+.24*Fa;var Ya=2.94*ba+.31*V+14.27*N+9.34*S+1.12*pa+.83*Fa;var Ha=-6.4*ba-1.89*Fa;V=.21*ba+.31*V+14.27*N-88.7*S-15.3*pa+.24*Fa-1.86*wc;N=Ga-Ha;ba=-3.332E-6*k(.59734-5.37261*a)-5.39E-7*k(.35498-5.37899*a)-6.4E-8*k(.39943-5.37511*a);Ga=R*J(.60643382+1336.85522467*a-3.13E-6*A)+Ga/W;Ya=R*J(.37489701+1325.55240982*a+2.565E-5*A)+Ya/W;Ha=R*J(.99312619+99.99735956*a-4.4E-7*A)+Ha/W;V=R*J(.25909118+1342.2278298*a-8.92E-6*A)+V/W;pa=R*J(.82736186+1236.85308708*a-3.97E-6*A)+N/W;for(m= 1;4>=m;++m){switch(m){case 1:N=Ya;A=4;S=1.000002208;break;case 2:N=Ha;A=3;S=.997504612-.002495388*a;break;case 3:N=V;A=4;S=1.000002708+139.978*ba;break;case 4:N=pa;A=6;S=1;break;default:throw"Internal error: I = "+m;}d(0,m,1);d(1,m,Math.cos(N)*S);e(0,m,0);e(1,m,Math.sin(N)*S);for(n=2;n<=A;++n)f(c(x,n-1,m),c(I,n-1,m),c(x,1,m),c(I,1,m),function(w,B){return d(n,m,w),e(n,m,B)});for(n=1;n<=A;++n)d(-n,m,c(x,n,m)),e(-n,m,-c(I,n,m))}g(13.902,14.06,-.001,.2607,0,0,0,4);g(.403,-4.01,.394,.0023,0,0,0,3);g(2369.912, 2373.36,.601,28.2333,0,0,0,2);g(-125.154,-112.79,-.725,-.9781,0,0,0,1);g(1.979,6.98,-.445,.0433,1,0,0,4);g(191.953,192.72,.029,3.0861,1,0,0,2);g(-8.466,-13.51,.455,-.1093,1,0,0,1);g(22639.5,22609.07,.079,186.5398,1,0,0,0);g(18.609,3.59,-.094,.0118,1,0,0,-1);g(-4586.465,-4578.13,-.077,34.3117,1,0,0,-2);g(3.215,5.44,.192,-.0386,1,0,0,-3);g(-38.428,-38.64,.001,.6008,1,0,0,-4);g(-.393,-1.43,-.092,.0086,1,0,0,-6);g(-.289,-1.59,.123,-.0053,0,1,0,4);g(-24.42,-25.1,.04,-.3,0,1,0,2);g(18.023,17.93,.007,.1494, @@ -53,58 +53,58 @@ w,B,H,U];for(B=1;4>=B;++B)0!==w[B]&&f(E.x,E.y,c(x,w[B],B),c(I,w[B],B),function(a -.1038,2,1,0,0);g(-8.627,-7.59,.078,-.0192,2,1,0,-2);g(-2.74,-2.54,.022,.0324,2,1,0,-4);g(1.181,3.32,-.212,.0213,2,-1,0,2);g(9.703,11.67,-.151,.1268,2,-1,0,0);g(-.352,-.37,.001,-.0028,2,-1,0,-1);g(-2.494,-1.17,-.003,-.0017,2,-1,0,-2);g(.36,.2,-.012,-.0043,2,-1,0,-4);g(-1.167,-1.25,.008,-.0106,1,2,0,0);g(-7.412,-6.12,.117,.0484,1,2,0,-2);g(-.311,-.65,-.032,.0044,1,2,0,-4);g(.757,1.82,-.105,.0112,1,-2,0,2);g(2.58,2.32,.027,.0196,1,-2,0,0);g(2.533,2.4,-.014,-.0212,1,-2,0,-2);g(-.344,-.57,-.025,.0036, 0,3,0,-2);g(-.992,-.02,0,0,1,0,2,2);g(-45.099,-.02,0,-.001,1,0,2,0);g(-.179,-9.52,0,-.0833,1,0,2,-2);g(-.301,-.33,0,.0014,1,0,2,-4);g(-6.382,-3.37,0,-.0481,1,0,-2,2);g(39.528,85.13,0,-.7136,1,0,-2,0);g(9.366,.71,0,-.0112,1,0,-2,-2);g(.202,.02,0,0,1,0,-2,-4);g(.415,.1,0,.0013,0,1,2,0);g(-2.152,-2.26,0,-.0066,0,1,2,-2);g(-1.44,-1.3,0,.0014,0,1,-2,2);g(.384,-.04,0,0,0,1,-2,-2);g(1.938,3.6,-.145,.0401,4,0,0,0);g(-.952,-1.58,.052,-.013,4,0,0,-2);g(-.551,-.94,.032,-.0097,3,1,0,0);g(-.482,-.57,.005,-.0045, 3,1,0,-2);g(.681,.96,-.026,.0115,3,-1,0,0);g(-.297,-.27,.002,-9E-4,2,2,0,-2);g(.254,.21,-.003,0,2,-2,0,-2);g(-.25,-.22,.004,.0014,1,3,0,-2);g(-3.996,0,0,4E-4,2,0,2,0);g(.557,-.75,0,-.009,2,0,2,-2);g(-.459,-.38,0,-.0053,2,0,-2,2);g(-1.298,.74,0,4E-4,2,0,-2,0);g(.538,1.14,0,-.0141,2,0,-2,-2);g(.263,.02,0,0,1,1,2,0);g(.426,.07,0,-6E-4,1,1,-2,-2);g(-.304,.03,0,3E-4,1,-1,2,0);g(-.372,-.19,0,-.0027,1,-1,-2,2);g(.418,0,0,0,0,0,4,0);g(-.33,-.04,0,0,3,0,2,0);A=-526.069*l(0,0,1,-2).y;A+=-3.352*l(0,0,1,-4).y; -A+=44.297*l(1,0,1,-2).y;A+=-6*l(1,0,1,-4).y;A+=20.599*l(-1,0,1,0).y;A+=-30.598*l(-1,0,1,-2).y;A+=-24.649*l(-2,0,1,0).y;A+=-2*l(-2,0,1,-2).y;A+=-22.571*l(0,1,1,-2).y;A+=10.985*l(0,-1,1,-2).y;q+=.82*k(.7736-62.5512*a)+.31*k(.0466-125.1025*a)+.35*k(.5785-25.1042*a)+.66*k(.4591+1335.8075*a)+.64*k(.313-91.568*a)+1.14*k(.148+1331.2898*a)+.21*k(.5918+1056.5859*a)+.44*k(.5784+1322.8595*a)+.24*k(.2275-5.7374*a)+.28*k(.2965+2.6929*a)+.33*k(.3132+6.3368*a);a=V+u/W;a=(1.000002708+139.978*ba)*(18518.511+1.189+ +A+=44.297*l(1,0,1,-2).y;A+=-6*l(1,0,1,-4).y;A+=20.599*l(-1,0,1,0).y;A+=-30.598*l(-1,0,1,-2).y;A+=-24.649*l(-2,0,1,0).y;A+=-2*l(-2,0,1,-2).y;A+=-22.571*l(0,1,1,-2).y;A+=10.985*l(0,-1,1,-2).y;q+=.82*k(.7736-62.5512*a)+.31*k(.0466-125.1025*a)+.35*k(.5785-25.1042*a)+.66*k(.4591+1335.8075*a)+.64*k(.313-91.568*a)+1.14*k(.148+1331.2898*a)+.21*k(.5918+1056.5859*a)+.44*k(.5784+1322.8595*a)+.24*k(.2275-5.7374*a)+.28*k(.2965+2.6929*a)+.33*k(.3132+6.3368*a);a=V+t/W;a=(1.000002708+139.978*ba)*(18518.511+1.189+ wb)*Math.sin(a)-6.24*Math.sin(3*a)+A;return{geo_eclip_lon:R*J((Ga+q/W)/R),geo_eclip_lat:Math.PI/648E3*a,distance_au:4.263520978299708E-5*W/(.999953253*xb)}}function Ia(a,b,c){a=Za(a,c);return[a.rot[0][0]*b[0]+a.rot[1][0]*b[1]+a.rot[2][0]*b[2],a.rot[0][1]*b[0]+a.rot[1][1]*b[1]+a.rot[2][1]*b[2],a.rot[0][2]*b[0]+a.rot[1][2]*b[1]+a.rot[2][2]*b[2]]}function Za(a,b){var c=84381.406;if(0!==a&&0!==b)throw"One of (tt1, tt2) must be 0.";a=(b-a)/36525;0===b&&(a=-a);var d=((((3.337E-7*a-4.67E-7)*a-.00772503)* -a+.0512623)*a-.025754)*a+c;c*=4.84813681109536E-6;var e=((((-9.51E-8*a+1.32851E-4)*a-.00114045)*a-1.0790069)*a+5038.481507)*a*4.84813681109536E-6;d*=4.84813681109536E-6;var f=((((-5.6E-8*a+1.70663E-4)*a-.00121197)*a-2.3814292)*a+10.556403)*a*4.84813681109536E-6;a=Math.sin(c);c=Math.cos(c);var k=Math.sin(-e);e=Math.cos(-e);var l=Math.sin(-d);var g=Math.cos(-d);var m=Math.sin(f);var n=Math.cos(f);f=n*e-k*m*g;d=n*k*c+m*g*e*c-a*m*l;var q=n*k*a+m*g*e*a+c*m*l;var u=-m*e-k*n*g;var x=-m*k*c+n*g*e*c-a*n*l; -m=-m*k*a+n*g*e*a+c*n*l;k*=l;n=-l*e*c-a*g;a=-l*e*a+g*c;return 0===b?new L([[f,d,q],[u,x,m],[k,n,a]]):new L([[f,u,k],[d,x,n],[q,m,a]])}function qa(a){var b=a.tt/36525,c=15*Da(a).ee;a=(.779057273264+.00273781191135448*a.ut+a.ut%1)%1*360;0>a&&(a+=360);b=((c+.014506+((((-3.68E-8*b-2.9956E-5)*b-4.4E-7)*b+1.3915817)*b+4612.156534)*b)/3600+a)%360/15;0>b&&(b+=24);return b}function $a(a,b,c){a=ab(a,b);return[a.rot[0][0]*c[0]+a.rot[1][0]*c[1]+a.rot[2][0]*c[2],a.rot[0][1]*c[0]+a.rot[1][1]*c[1]+a.rot[2][1]*c[2], -a.rot[0][2]*c[0]+a.rot[1][2]*c[1]+a.rot[2][2]*c[2]]}function ab(a,b){a=Da(a);var c=.017453292519943295*a.mobl,d=.017453292519943295*a.tobl,e=4.84813681109536E-6*a.dpsi;a=Math.cos(c);c=Math.sin(c);var f=Math.cos(d),k=Math.sin(d);d=Math.cos(e);var l=Math.sin(e);e=-l*a;var g=-l*c,m=l*f,n=d*a*f+c*k,q=d*c*f-a*k;l*=k;var u=d*a*k-c*f;a=d*c*k+a*f;return 0===b?new L([[d,m,l],[e,n,u],[g,q,a]]):new L([[d,e,g],[m,n,q],[l,u,a]])}function yb(a,b){var c=qa(a),d=.017453292519943295*b.latitude,e=Math.sin(d);d=Math.cos(d); +a+.0512623)*a-.025754)*a+c;c*=4.84813681109536E-6;var e=((((-9.51E-8*a+1.32851E-4)*a-.00114045)*a-1.0790069)*a+5038.481507)*a*4.84813681109536E-6;d*=4.84813681109536E-6;var f=((((-5.6E-8*a+1.70663E-4)*a-.00121197)*a-2.3814292)*a+10.556403)*a*4.84813681109536E-6;a=Math.sin(c);c=Math.cos(c);var k=Math.sin(-e);e=Math.cos(-e);var l=Math.sin(-d);var g=Math.cos(-d);var m=Math.sin(f);var n=Math.cos(f);f=n*e-k*m*g;d=n*k*c+m*g*e*c-a*m*l;var q=n*k*a+m*g*e*a+c*m*l;var t=-m*e-k*n*g;var x=-m*k*c+n*g*e*c-a*n*l; +m=-m*k*a+n*g*e*a+c*n*l;k*=l;n=-l*e*c-a*g;a=-l*e*a+g*c;return 0===b?new L([[f,d,q],[t,x,m],[k,n,a]]):new L([[f,t,k],[d,x,n],[q,m,a]])}function qa(a){var b=a.tt/36525,c=15*Da(a).ee;a=(.779057273264+.00273781191135448*a.ut+a.ut%1)%1*360;0>a&&(a+=360);b=((c+.014506+((((-3.68E-8*b-2.9956E-5)*b-4.4E-7)*b+1.3915817)*b+4612.156534)*b)/3600+a)%360/15;0>b&&(b+=24);return b}function $a(a,b,c){a=ab(a,b);return[a.rot[0][0]*c[0]+a.rot[1][0]*c[1]+a.rot[2][0]*c[2],a.rot[0][1]*c[0]+a.rot[1][1]*c[1]+a.rot[2][1]*c[2], +a.rot[0][2]*c[0]+a.rot[1][2]*c[1]+a.rot[2][2]*c[2]]}function ab(a,b){a=Da(a);var c=.017453292519943295*a.mobl,d=.017453292519943295*a.tobl,e=4.84813681109536E-6*a.dpsi;a=Math.cos(c);c=Math.sin(c);var f=Math.cos(d),k=Math.sin(d);d=Math.cos(e);var l=Math.sin(e);e=-l*a;var g=-l*c,m=l*f,n=d*a*f+c*k,q=d*c*f-a*k;l*=k;var t=d*a*k-c*f;a=d*c*k+a*f;return 0===b?new L([[d,m,l],[e,n,t],[g,q,a]]):new L([[d,e,g],[m,n,q],[l,t,a]])}function yb(a,b){var c=qa(a),d=.017453292519943295*b.latitude,e=Math.sin(d);d=Math.cos(d); var f=1/Math.sqrt(d*d+.9933056020041345*e*e),k=b.height/1E3,l=6378.1366*f+k;b=.017453292519943295*(15*c+b.longitude);e=$a(a,-1,[l*d*Math.cos(b)/1.4959787069098932E8,l*d*Math.sin(b)/1.4959787069098932E8,(6335.438815127603*f+k)*e/1.4959787069098932E8]);return Ia(a.tt,e,0)}function xc(a){if(!(a instanceof Array)||3!==a.length)return!1;for(var b=0;3>b;++b){if(!(a[b]instanceof Array)||3!==a[b].length)return!1;for(var c=0;3>c;++c)if(!Number.isFinite(a[b][c]))return!1}return!0}function zb(a,b){b=new C(a[0], -a[1],a[2],b);var c=b.x*b.x+b.y*b.y,d=Math.sqrt(c+b.z*b.z);if(0===c){if(0===b.z)throw"Indeterminate sky coordinates";return 0>b.z?new ra(0,-90,d,b):new ra(0,90,d,b)}var e=Math.atan2(b.y,b.x)/.2617993877991494;0>e&&(e+=24);return new ra(e,Math.atan2(a[2],Math.sqrt(c))/.017453292519943295,d,b)}function ia(a,b){var c=.017453292519943295*a;a=Math.cos(c);c=Math.sin(c);return[a*b[0]+c*b[1]+0*b[2],-c*b[0]+a*b[1]+0*b[2],0*b[0]+0*b[1]+1*b[2]]}function Ja(a,b,c,d,e){a=z(a);ja(b);r(c);r(d);var f=Math.sin(.017453292519943295* -b.latitude),k=Math.cos(.017453292519943295*b.latitude),l=Math.sin(.017453292519943295*b.longitude),g=Math.cos(.017453292519943295*b.longitude);b=Math.sin(.017453292519943295*d);var m=Math.cos(.017453292519943295*d),n=Math.sin(.2617993877991494*c),q=Math.cos(.2617993877991494*c),u=[k*g,k*l,f];f=[-f*g,-f*l,k];l=[l,-g,0];k=-15*qa(a);a=ia(k,u);u=ia(k,f);l=ia(k,l);b=[m*q,m*n,b];n=b[0]*a[0]+b[1]*a[1]+b[2]*a[2];m=b[0]*u[0]+b[1]*u[1]+b[2]*u[2];u=b[0]*l[0]+b[1]*l[1]+b[2]*l[2];q=Math.sqrt(m*m+u*u);0m&&(m+=360)):m=0;n=57.29577951308232*Math.atan2(q,n);q=d;if(e&&(d=n,e=sa(e,90-n),n-=e,0l;++l)e.push((b[l]-d*a[l])/u*c+a[l]*q);q=Math.sqrt(e[0]*e[0]+e[1]*e[1]);0c&&(c+=24)):c=0;q=57.29577951308232*Math.atan2(e[2],q)}return new Ab(m,90-n,c,q)}function ja(a){if(!(a instanceof -Bb))throw"Not an instance of the Observer class: "+a;r(a.latitude);r(a.longitude);r(a.height);if(-90>a.latitude||90d&&(d+=360));return new Eb(a,f,b,57.29577951308232*Math.atan2(b,c),d)}function ta(a,b,c){void 0===La&&(La=.017453292519943295*Da(z(bb)).mobl,Fb=Math.cos(La),Gb=Math.sin(La));r(a);r(b);r(c);return Db(a,b,c,Fb,Gb)}function Y(a){a=z(a);var b=T(a),c=b.distance_au* -Math.cos(b.geo_eclip_lat);b=[c*Math.cos(b.geo_eclip_lon),c*Math.sin(b.geo_eclip_lon),b.distance_au*Math.sin(b.geo_eclip_lat)];var d=.017453292519943295*oa(a);c=Math.cos(d);d=Math.sin(d);b=Ia(a.tt,[b[0],b[1]*c-b[2]*d,b[1]*d+b[2]*c],0);return new C(b[0],b[1],b[2],a)}function ca(a,b){var c=1,d=0;a=$jscomp.makeIterator(a);for(var e=a.next();!e.done;e=a.next()){var f=0;e=$jscomp.makeIterator(e.value);for(var k=e.next();!k.done;k=e.next()){var l=$jscomp.makeIterator(k.value);k=l.next().value;var g=l.next().value; -l=l.next().value;f+=k*Math.cos(g+b*l)}d+=c*f;c*=b}return d}function cb(a,b){var c=1,d=0,e=0,f=0;a=$jscomp.makeIterator(a);for(var k=a.next();!k.done;k=a.next()){var l=0,g=0;k=$jscomp.makeIterator(k.value);for(var m=k.next();!m.done;m=k.next()){var n=$jscomp.makeIterator(m.value);m=n.next().value;var q=n.next().value;n=n.next().value;q+=b*n;l+=m*n*Math.sin(q);0a?0:a>=b?b-1:a}function fb(a){var b=$jscomp.makeIterator(a);a=b.next().value;var c=$jscomp.makeIterator(b.next().value);var d=c.next().value;var e=c.next().value;c=c.next().value;var f=$jscomp.makeIterator(b.next().value);b=f.next().value;var k=f.next().value;f=f.next().value;d=new Oa(a,new D(d,e,c),new D(b,k,f));a=new Qa(d.tt); -e=d.r.add(a.Sun.r);c=d.v.add(a.Sun.v);b=a.Acceleration(e);d=new Ib(d.tt,e,c,b);return new Jb(a,d)}function Lb(a,b,c){a=fb(a);for(var d=Math.ceil((b-a.grav.tt)/c),e=0;eda[40][0])a=null;else{a=Kb((a-c)/36500,40);if(!gb[a]){c=gb[a]=[];c[0]=fb(da[a]).grav;c[146]=fb(da[a+1]).grav;var d,e=c[0].tt;for(d=1;146>d;++d)c[d]=eb(e+=250,c[d-1]).grav;e=c[146].tt;var f= -[];f[146]=c[146];for(d=145;0l;++l){e=va(a,k);c?d=O(G.Earth,k):d||(d=O(G.Earth,b));e=new C(e.x-d.x,e.y-d.y,e.z-d.z,b);var g=b.AddDays(-e.Length()/173.1446326846693);f=Math.abs(g.tt-k.tt);if(1E-9>f)return e;k=g}throw"Light-travel time solver did not converge: dt="+f;}function yc(a,b,c,d,e){var f=(e+c)/2-d;c=(e-c)/2;if(0==f){if(0==c)return null;d=-d/c;if(-1>d||1=d)return null;e=Math.sqrt(d);d=(-c+e)/(2*f);e=(-c-e)/(2*f);if(-1<=d&&1>=d){if(-1<=e&&1>=e)return null}else if(-1<=e&&1>=e)d=e;else return null}return{x:d,t:a+d*b,df_dt:(2*f*d+c)/b}}function F(a,b,c,d){var e=r(d&&d.dt_tolerance_seconds||1);e=Math.abs(e/86400);var f=d&&d.init_f1||a(b),k=d&&d.init_f2||a(c),l=NaN,g=0;d=d&&d.iter_limit||20;for(var m=!0;;){if(++g>d)throw"Excessive iteration in Search()";var n=new Q(b.ut+.5*(c.ut-b.ut)),q=n.ut-b.ut;if(Math.abs(q)(q.ut-b.ut)*(q.ut-c.ut)&&0>(x.ut-b.ut)*(x.ut-c.ut))){u=a(q);var A=a(x);if(0>u&&0<=A){f=u;k=A;b=q;c=x;l=I;m=!1;continue}}}}if(0>f&&0<=l)c=n,k=l;else if(0>l&&0<=k)b=n,f=l;else return null}}function wa(a){for(;-180>=a;)a+=360;for(;180b;)b+=360;for(;360<=b;)b-=360;return b}function ka(a,b){if(a==v.Earth)throw"The Earth does not have an angle as seen from itself.";var c=X(v.Sun,b,!0);a=X(a,b,!0);return P(c,a)}function fa(a,b){if(a===v.Sun)throw"Cannot calculate heliocentric longitude of the Sun.";a=va(a,b);return ta(a.x, -a.y,a.z).elon}function Ra(a,b){if(a===v.Earth)throw"The illumination of the Earth is not defined.";var c=z(b),d=O(G.Earth,c);if(a===v.Sun){var e=new C(-d.x,-d.y,-d.z,c);b=new C(0,0,0,c);d=0}else a===v.Moon?(e=Y(c),b=new C(d.x+e.x,d.y+e.y,d.z+e.z,c)):(b=va(a,b),e=new C(b.x-d.x,b.y-d.y,b.z-d.z,c)),d=P(e,b);var f=e.Length(),k=b.Length();if(a===v.Sun)a=zc+5*Math.log10(f);else if(a===v.Moon){a=.017453292519943295*d;var l=a*a;a=-12.717+1.49*Math.abs(a)+.0431*l*l;a+=5*Math.log10(f/.002573570052980638*k)}else if(a=== -v.Saturn){a=d;var g=ta(e.x,e.y,e.z);l=.017453292519943295*g.elat;g=Math.asin(Math.sin(l)*Math.cos(.4897393881096089)-Math.cos(l)*Math.sin(.4897393881096089)*Math.sin(.017453292519943295*g.elon-.017453292519943295*(169.51+3.82E-5*c.tt)));l=Math.sin(Math.abs(g));a=-9+.044*a+l*(-2.6+1.2*l)+5*Math.log10(k*f);g*=57.29577951308232}else{var m=l=0,n=0;switch(a){case v.Mercury:a=-.6;l=4.98;m=-4.88;n=3.02;break;case v.Venus:163.6>d?(a=-4.47,l=1.03,m=.57,n=.13):(a=.98,l=-1.02);break;case v.Mars:a=-1.52;l=1.6; -break;case v.Jupiter:a=-9.4;l=.5;break;case v.Uranus:a=-7.19;l=.25;break;case v.Neptune:a=-6.87;break;case v.Pluto:a=-1;l=4;break;default:throw"VisualMagnitude: unsupported body "+a;}var q=d/100;a=a+q*(l+q*(m+q*n))+5*Math.log10(k*f)}return new Nb(c,a,d,k,f,e,b,g)}function xa(a){if(a===v.Earth)throw"The Earth does not have a synodic period as seen from itself.";if(a===v.Moon)return 29.530588;var b=Z[a];if(!b)throw"Not a valid planet name: "+a;a=Z.Earth.OrbitalPeriod;return Math.abs(a/(a/b.OrbitalPeriod- -1))}function la(a,b,c){function d(m){var n=fa(a,m);m=fa(v.Earth,m);return wa(f*(m-n)-b)}r(b);var e=Z[a];if(!e)throw"Cannot search relative longitude because body is not a planet: "+a;if(a===v.Earth)throw"Cannot search relative longitude for the Earth (it is always 0)";var f=e.OrbitalPeriod>Z.Earth.OrbitalPeriod?1:-1;e=xa(a);c=z(c);var k=d(c);0l;++l){var g=-k/360*e;c=c.AddDays(g);if(1>86400*Math.abs(g))return c;g=k;k=d(c);30>Math.abs(g)&&g!==k&&(g/=g-k,.5g&&(e*=g))}throw"Relative longitude search failed to converge for "+ -a+" near "+c.toString()+" (error_angle = "+k+").";}function ib(a){return hb(v.Moon,a)}function ya(a,b,c){function d(k){k=ib(k);return wa(k-a)}r(a);r(c);b=z(b);var e=d(b);0c)return null;c=Math.min(c,f+1.5);e=b.AddDays(e);b=b.AddDays(c);return F(d,e,b)}function Ob(a){var b=ib(a);b=(Math.floor(b/90)+1)%4;a=ya(90*b,a,10);if(!a)throw"Cannot find moon quarter";return new Pb(b,a)}function za(a,b,c,d){ja(b);d=z(d);var e=0;if(a===v.Earth)throw"Cannot search for hour angle of the Earth."; -r(c);if(0>c||24<=c)throw"Invalid hour angle "+c;for(;;){++e;var f=qa(d),k=Ka(a,d,b,!0,!0);f=(c+k.ra-b.longitude/15-f)%24;1===e?0>f&&(f+=24):-12>f?f+=24:123600*Math.abs(f))return a=Ja(d,b,k.ra,k.dec,"normal"),new Qb(d,a);d=d.AddDays(f/24*.9972695717592592)}}function Rb(a,b){b=z(b);var c=hb(a,b);if(180b.z?new ra(0,-90,d,b):new ra(0,90,d,b)}var e=Math.atan2(b.y,b.x)/.2617993877991494;0>e&&(e+=24);return new ra(e,Math.atan2(a[2],Math.sqrt(c))/.017453292519943295,d,b)}function ia(a,b){var c=.017453292519943295*a;a=Math.cos(c);c=Math.sin(c);return[a*b[0]+c*b[1]+0*b[2],-c*b[0]+a*b[1]+0*b[2],0*b[0]+0*b[1]+1*b[2]]}function Ja(a,b,c,d,e){a=z(a);ja(b);v(c);v(d);var f=Math.sin(.017453292519943295* +b.latitude),k=Math.cos(.017453292519943295*b.latitude),l=Math.sin(.017453292519943295*b.longitude),g=Math.cos(.017453292519943295*b.longitude);b=Math.sin(.017453292519943295*d);var m=Math.cos(.017453292519943295*d),n=Math.sin(.2617993877991494*c),q=Math.cos(.2617993877991494*c),t=[k*g,k*l,f];f=[-f*g,-f*l,k];l=[l,-g,0];k=-15*qa(a);a=ia(k,t);t=ia(k,f);l=ia(k,l);b=[m*q,m*n,b];n=b[0]*a[0]+b[1]*a[1]+b[2]*a[2];m=b[0]*t[0]+b[1]*t[1]+b[2]*t[2];t=b[0]*l[0]+b[1]*l[1]+b[2]*l[2];q=Math.sqrt(m*m+t*t);0m&&(m+=360)):m=0;n=57.29577951308232*Math.atan2(q,n);q=d;if(e&&(d=n,e=sa(e,90-n),n-=e,0l;++l)e.push((b[l]-d*a[l])/t*c+a[l]*q);q=Math.sqrt(e[0]*e[0]+e[1]*e[1]);0c&&(c+=24)):c=0;q=57.29577951308232*Math.atan2(e[2],q)}return new Ab(m,90-n,c,q)}function ja(a){if(!(a instanceof +Bb))throw"Not an instance of the Observer class: "+a;v(a.latitude);v(a.longitude);v(a.height);if(-90>a.latitude||90b&&(b+=360));f=57.29577951308232*Math.atan2(c,f);a=new C(d,e,c,a.t);return new Eb(a,f,b)}function ta(a){void 0===La&&(La=.017453292519943295*Da(z(bb)).mobl,Fb=Math.cos(La),Gb=Math.sin(La));return Db(a,Fb,Gb)}function Y(a){a= +z(a);var b=T(a),c=b.distance_au*Math.cos(b.geo_eclip_lat);b=[c*Math.cos(b.geo_eclip_lon),c*Math.sin(b.geo_eclip_lon),b.distance_au*Math.sin(b.geo_eclip_lat)];var d=.017453292519943295*oa(a);c=Math.cos(d);d=Math.sin(d);b=Ia(a.tt,[b[0],b[1]*c-b[2]*d,b[1]*d+b[2]*c],0);return new C(b[0],b[1],b[2],a)}function ca(a,b){var c=1,d=0;a=$jscomp.makeIterator(a);for(var e=a.next();!e.done;e=a.next()){var f=0;e=$jscomp.makeIterator(e.value);for(var k=e.next();!k.done;k=e.next()){var l=$jscomp.makeIterator(k.value); +k=l.next().value;var g=l.next().value;l=l.next().value;f+=k*Math.cos(g+b*l)}d+=c*f;c*=b}return d}function cb(a,b){var c=1,d=0,e=0,f=0;a=$jscomp.makeIterator(a);for(var k=a.next();!k.done;k=a.next()){var l=0,g=0;k=$jscomp.makeIterator(k.value);for(var m=k.next();!m.done;m=k.next()){var n=$jscomp.makeIterator(m.value);m=n.next().value;var q=n.next().value;n=n.next().value;q+=b*n;l+=m*n*Math.sin(q);0a?0:a>=b?b-1:a}function fb(a){var b=$jscomp.makeIterator(a);a=b.next().value;var c=$jscomp.makeIterator(b.next().value);var d=c.next().value;var e=c.next().value;c=c.next().value;var f=$jscomp.makeIterator(b.next().value);b=f.next().value;var k=f.next().value;f=f.next().value;d=new Oa(a,new D(d, +e,c),new D(b,k,f));a=new Qa(d.tt);e=d.r.add(a.Sun.r);c=d.v.add(a.Sun.v);b=a.Acceleration(e);d=new Ib(d.tt,e,c,b);return new Jb(a,d)}function Lb(a,b,c){a=fb(a);for(var d=Math.ceil((b-a.grav.tt)/c),e=0;eda[40][0])a=null;else{a=Kb((a-c)/36500,40);if(!gb[a]){c=gb[a]=[];c[0]=fb(da[a]).grav;c[146]=fb(da[a+1]).grav;var d,e=c[0].tt;for(d=1;146>d;++d)c[d]=eb(e+= +250,c[d-1]).grav;e=c[146].tt;var f=[];f[146]=c[146];for(d=145;0l;++l){e=va(a,k);c?d=O(G.Earth,k):d||(d=O(G.Earth,b));e=new C(e.x-d.x,e.y-d.y,e.z-d.z,b);var g=b.AddDays(-e.Length()/173.1446326846693);f=Math.abs(g.tt-k.tt);if(1E-9>f)return e;k=g}throw"Light-travel time solver did not converge: dt="+f;}function yc(a,b,c,d,e){var f=(e+c)/2-d;c=(e-c)/2;if(0==f){if(0==c)return null; +d=-d/c;if(-1>d||1=d)return null;e=Math.sqrt(d);d=(-c+e)/(2*f);e=(-c-e)/(2*f);if(-1<=d&&1>=d){if(-1<=e&&1>=e)return null}else if(-1<=e&&1>=e)d=e;else return null}return{x:d,t:a+d*b,df_dt:(2*f*d+c)/b}}function F(a,b,c,d){var e=v(d&&d.dt_tolerance_seconds||1);e=Math.abs(e/86400);var f=d&&d.init_f1||a(b),k=d&&d.init_f2||a(c),l=NaN,g=0;d=d&&d.iter_limit||20;for(var m=!0;;){if(++g>d)throw"Excessive iteration in Search()";var n=new Q(b.ut+.5*(c.ut-b.ut)),q=n.ut-b.ut; +if(Math.abs(q)(q.ut-b.ut)*(q.ut-c.ut)&&0>(x.ut-b.ut)*(x.ut-c.ut))){t=a(q);var A=a(x);if(0>t&&0<=A){f=t;k=A;b=q;c=x;l=I;m=!1;continue}}}}if(0>f&&0<=l)c=n,k=l;else if(0>l&&0<=k)b=n,f=l;else return null}}function wa(a){for(;-180>=a;)a+=360;for(;180b;)b+=360;for(;360<=b;)b-=360;return b}function ka(a,b){if(a==u.Earth)throw"The Earth does not have an angle as seen from itself.";var c=X(u.Sun,b,!0);a=X(a,b,!0);return P(c,a)}function fa(a,b){if(a===u.Sun)throw"Cannot calculate heliocentric longitude of the Sun."; +a=va(a,b);return ta(a).elon}function Ra(a,b){if(a===u.Earth)throw"The illumination of the Earth is not defined.";var c=z(b),d=O(G.Earth,c);if(a===u.Sun){var e=new C(-d.x,-d.y,-d.z,c);b=new C(0,0,0,c);d=0}else a===u.Moon?(e=Y(c),b=new C(d.x+e.x,d.y+e.y,d.z+e.z,c)):(b=va(a,b),e=new C(b.x-d.x,b.y-d.y,b.z-d.z,c)),d=P(e,b);var f=e.Length(),k=b.Length();if(a===u.Sun)a=zc+5*Math.log10(f);else if(a===u.Moon){a=.017453292519943295*d;var l=a*a;a=-12.717+1.49*Math.abs(a)+.0431*l*l;a+=5*Math.log10(f/.002573570052980638* +k)}else if(a===u.Saturn){a=d;var g=ta(e);l=.017453292519943295*g.elat;g=Math.asin(Math.sin(l)*Math.cos(.4897393881096089)-Math.cos(l)*Math.sin(.4897393881096089)*Math.sin(.017453292519943295*g.elon-.017453292519943295*(169.51+3.82E-5*c.tt)));l=Math.sin(Math.abs(g));a=-9+.044*a+l*(-2.6+1.2*l)+5*Math.log10(k*f);g*=57.29577951308232}else{var m=l=0,n=0;switch(a){case u.Mercury:a=-.6;l=4.98;m=-4.88;n=3.02;break;case u.Venus:163.6>d?(a=-4.47,l=1.03,m=.57,n=.13):(a=.98,l=-1.02);break;case u.Mars:a=-1.52; +l=1.6;break;case u.Jupiter:a=-9.4;l=.5;break;case u.Uranus:a=-7.19;l=.25;break;case u.Neptune:a=-6.87;break;case u.Pluto:a=-1;l=4;break;default:throw"VisualMagnitude: unsupported body "+a;}var q=d/100;a=a+q*(l+q*(m+q*n))+5*Math.log10(k*f)}return new Nb(c,a,d,k,f,e,b,g)}function xa(a){if(a===u.Earth)throw"The Earth does not have a synodic period as seen from itself.";if(a===u.Moon)return 29.530588;var b=Z[a];if(!b)throw"Not a valid planet name: "+a;a=Z.Earth.OrbitalPeriod;return Math.abs(a/(a/b.OrbitalPeriod- +1))}function la(a,b,c){function d(m){var n=fa(a,m);m=fa(u.Earth,m);return wa(f*(m-n)-b)}v(b);var e=Z[a];if(!e)throw"Cannot search relative longitude because body is not a planet: "+a;if(a===u.Earth)throw"Cannot search relative longitude for the Earth (it is always 0)";var f=e.OrbitalPeriod>Z.Earth.OrbitalPeriod?1:-1;e=xa(a);c=z(c);var k=d(c);0l;++l){var g=-k/360*e;c=c.AddDays(g);if(1>86400*Math.abs(g))return c;g=k;k=d(c);30>Math.abs(g)&&g!==k&&(g/=g-k,.5g&&(e*=g))}throw"Relative longitude search failed to converge for "+ +a+" near "+c.toString()+" (error_angle = "+k+").";}function ib(a){return hb(u.Moon,a)}function ya(a,b,c){function d(k){k=ib(k);return wa(k-a)}v(a);v(c);b=z(b);var e=d(b);0c)return null;c=Math.min(c,f+1.5);e=b.AddDays(e);b=b.AddDays(c);return F(d,e,b)}function Ob(a){var b=ib(a);b=(Math.floor(b/90)+1)%4;a=ya(90*b,a,10);if(!a)throw"Cannot find moon quarter";return new Pb(b,a)}function za(a,b,c,d){ja(b);d=z(d);var e=0;if(a===u.Earth)throw"Cannot search for hour angle of the Earth."; +v(c);if(0>c||24<=c)throw"Invalid hour angle "+c;for(;;){++e;var f=qa(d),k=Ka(a,d,b,!0,!0);f=(c+k.ra-b.longitude/15-f)%24;1===e?0>f&&(f+=24):-12>f?f+=24:123600*Math.abs(f))return a=Ja(d,b,k.ra,k.dec,"normal"),new Qb(d,a);d=d.AddDays(f/24*.9972695717592592)}}function Rb(a,b){b=z(b);var c=hb(a,b);if(1805*e;++e){var f=a.AddDays(5),k=b(f);if(0>=d*k){if(0>d||0k){a=F(c,a,f,{init_f1:-d,init_f2:-k});if(!a)throw"SearchLunarApsis INTERNAL ERROR: apogee search failed!";d=T(a).distance_au;return new Aa(a,1,d)}throw"SearchLunarApsis INTERNAL ERROR: cannot classify apsis event!";}a=f; d=k}throw"SearchLunarApsis INTERNAL ERROR: could not find apsis within 2 synodic months of start date.";}function Ub(a,b,c,d){for(var e=1===b?1:-1;;){d/=9;if(d<1/1440)return c=c.AddDays(d/2),a=ea(a,c),new Aa(c,b,a);for(var f=-1,k=0,l=0;10>l;++l){var g=c.AddDays(l*d);g=e*ea(a,g);if(0==l||g>k)f=l,k=g}c=c.AddDays((f-1)*d);d*=2}}function Ac(a,b){var c=b.AddDays(-30/360*Z[a].OrbitalPeriod),d=b.AddDays(.75*Z[a].OrbitalPeriod),e=c,f=c,k=-1,l=-1;d=(d.ut-c.ut)/99;for(var g=0;100>g;++g){var m=c.AddDays(g*d), -n=ea(a,m);0===g?l=k=n:(n>l&&(l=n,f=m),n=b.tt)return a.time.tt>=b.tt&&a.time.tt=b.tt)return a;throw"Internal error: failed to find Neptune apsis.";}function Vb(a,b){function c(n){var q=n.AddDays(-5E-4);n=n.AddDays(5E-4);q=ea(a,q);return(ea(a,n)-q)/.001}function d(n){return-c(n)}if(a===v.Neptune||a===v.Pluto)return Ac(a,b);for(var e=Z[a].OrbitalPeriod,f=e/6,k=c(b),l=0;l*f<2*e;++l){var g= +n=ea(a,m);0===g?l=k=n:(n>l&&(l=n,f=m),n=b.tt)return a.time.tt>=b.tt&&a.time.tt=b.tt)return a;throw"Internal error: failed to find Neptune apsis.";}function Vb(a,b){function c(n){var q=n.AddDays(-5E-4);n=n.AddDays(5E-4);q=ea(a,q);return(ea(a,n)-q)/.001}function d(n){return-c(n)}if(a===u.Neptune||a===u.Pluto)return Ac(a,b);for(var e=Z[a].OrbitalPeriod,f=e/6,k=c(b),l=0;l*f<2*e;++l){var g= b.AddDays(f),m=c(g);if(0>=k*m){e=f=void 0;if(0>k||0m)f=d,e=1;else throw"Internal error with slopes in SearchPlanetApsis";b=F(f,b,g);if(!b)throw"Failed to find slope transition in planetary apsis search.";k=ea(a,b);return new Aa(b,e,k)}b=g;k=m}throw"Internal error: should have found planetary apsis within 2 orbital periods.";}function ma(a){return new L([[a.rot[0][0],a.rot[1][0],a.rot[2][0]],[a.rot[0][1],a.rot[1][1],a.rot[2][1]],[a.rot[0][2],a.rot[1][2],a.rot[2][2]]])}function na(a, b){return new L([[b.rot[0][0]*a.rot[0][0]+b.rot[1][0]*a.rot[0][1]+b.rot[2][0]*a.rot[0][2],b.rot[0][1]*a.rot[0][0]+b.rot[1][1]*a.rot[0][1]+b.rot[2][1]*a.rot[0][2],b.rot[0][2]*a.rot[0][0]+b.rot[1][2]*a.rot[0][1]+b.rot[2][2]*a.rot[0][2]],[b.rot[0][0]*a.rot[1][0]+b.rot[1][0]*a.rot[1][1]+b.rot[2][0]*a.rot[1][2],b.rot[0][1]*a.rot[1][0]+b.rot[1][1]*a.rot[1][1]+b.rot[2][1]*a.rot[1][2],b.rot[0][2]*a.rot[1][0]+b.rot[1][2]*a.rot[1][1]+b.rot[2][2]*a.rot[1][2]],[b.rot[0][0]*a.rot[2][0]+b.rot[1][0]*a.rot[2][1]+ b.rot[2][0]*a.rot[2][2],b.rot[0][1]*a.rot[2][0]+b.rot[1][1]*a.rot[2][1]+b.rot[2][1]*a.rot[2][2],b.rot[0][2]*a.rot[2][0]+b.rot[1][2]*a.rot[2][1]+b.rot[2][2]*a.rot[2][2]]])}function jb(a,b){var c=.017453292519943295*a.lat,d=.017453292519943295*a.lon,e=a.dist*Math.cos(c);return new C(e*Math.cos(d),e*Math.sin(d),a.dist*Math.sin(c),b)}function Wb(a){var b=kb(a);return new ra(b.lon/15,b.lat,b.dist,a)}function kb(a){var b=a.x*a.x+a.y*a.y,c=Math.sqrt(b+a.z*a.z);if(0===b){if(0===a.z)throw"Zero-length vector not allowed."; -var d=0;a=0>a.z?-90:90}else d=57.29577951308232*Math.atan2(a.y,a.x),0>d&&(d+=360),a=57.29577951308232*Math.atan2(a.z,Math.sqrt(b));return new Sa(a,d,c)}function Xb(a){a=360-a;360<=a?a-=360:0>a&&(a+=360);return a}function sa(a,b){r(b);if(-90>b||90c&&(c=-1);c=1.02/Math.tan(.017453292519943295*(c+10.3/(c+5.11)))/60;"normal"===a&&-1>b&&(c*=(b+90)/89)}else c=0;return c}function Yb(a,b){if(-90>b||90a.z?-90:90}else d=57.29577951308232*Math.atan2(a.y,a.x),0>d&&(d+=360),a=57.29577951308232*Math.atan2(a.z,Math.sqrt(b));return new Sa(a,d,c)}function Xb(a){a=360-a;360<=a?a-=360:0>a&&(a+=360);return a}function sa(a,b){v(b);if(-90>b||90c&&(c=-1);c=1.02/Math.tan(.017453292519943295*(c+10.3/(c+5.11)))/60;"normal"===a&&-1>b&&(c*=(b+90)/89)}else c=0;return c}function Yb(a,b){if(-90>b||90Math.abs(d))return c-b;c-=d}}function Ba(a,b){return new C(a.rot[0][0]*b.x+a.rot[1][0]*b.y+a.rot[2][0]*b.z,a.rot[0][1]*b.x+a.rot[1][1]*b.y+a.rot[2][1]*b.z,a.rot[0][2]*b.x+a.rot[1][2]*b.y+a.rot[2][2]*b.z,b.t)}function Zb(){return new L([[1,0,0],[0,.9174821430670688,-.3977769691083922],[0,.3977769691083922,.9174821430670688]])}function lb(a){var b=Za(0,a.tt);a=ab(a,0);return na(b,a)}function mb(a){var b=ab(a,1);a=Za(a.tt,0);return na(b,a)}function nb(a,b){var c=Math.sin(.017453292519943295* b.latitude),d=Math.cos(.017453292519943295*b.latitude),e=Math.sin(.017453292519943295*b.longitude),f=Math.cos(.017453292519943295*b.longitude);b=[d*f,d*e,c];c=[-c*f,-c*e,d];e=[e,-f,0];a=-15*qa(a);b=ia(a,b);c=ia(a,c);a=ia(a,e);return new L([[c[0],a[0],b[0]],[c[1],a[1],b[1]],[c[2],a[2],b[2]]])}function $b(a,b){a=nb(a,b);return ma(a)}function ac(a,b){b=$b(a,b);a=mb(a);return na(b,a)}function bc(a){a=mb(a);var b=Zb();return na(a,b)}function cc(a){a=bc(a);return ma(a)}function dc(a,b){var c=cc(a);a=nb(a, b);return na(c,a)}function Ca(a,b,c,d){var e=(d.x*c.x+d.y*c.y+d.z*c.z)/(d.x*d.x+d.y*d.y+d.z*d.z),f=e*d.x-c.x,k=e*d.y-c.y,l=e*d.z-c.z;return new Bc(b,e,1.4959787069098932E8*Math.sqrt(f*f+k*k+l*l),695700-(1+e)*(695700-a),-695700+(1+e)*(695700+a),c,d)}function Ta(a){var b=O(G.Earth,a),c=Y(a);return Ca(6459,a,c,b)}function ec(a){var b=O(G.Earth,a),c=Y(a),d=new C(-c.x,-c.y,-c.z,c.t);c.x+=b.x;c.y+=b.y;c.z+=b.z;return Ca(1737.4,a,d,c)}function ob(a,b){var c=yb(a,b);b=O(G.Earth,a);var d=Y(a);c=new C(c[0]- -d.x,c[1]-d.y,c[2]-d.z,a);d.x+=b.x;d.y+=b.y;d.z+=b.z;return Ca(1737.4,a,c,d)}function Ua(a,b,c){a=X(a,c,!1);var d=X(v.Sun,c,!1),e=new C(a.x-d.x,a.y-d.y,a.z-d.z,c);d.x=-a.x;d.y=-a.y;d.z=-a.z;return Ca(b,c,d,e)}function pb(a,b){var c=1/86400,d=b.AddDays(-c);b=b.AddDays(+c);d=a(d);return(a(b).r-d.r)/c}function Cc(a){var b=a.AddDays(-.03);a=a.AddDays(.03);b=F(function(c){return pb(Ta,c)},b,a);if(!b)throw"Failed to find peak Earth shadow time.";return Ta(b)}function Dc(a){var b=a.AddDays(-.03);a=a.AddDays(.03); +d.x,c[1]-d.y,c[2]-d.z,a);d.x+=b.x;d.y+=b.y;d.z+=b.z;return Ca(1737.4,a,c,d)}function Ua(a,b,c){a=X(a,c,!1);var d=X(u.Sun,c,!1),e=new C(a.x-d.x,a.y-d.y,a.z-d.z,c);d.x=-a.x;d.y=-a.y;d.z=-a.z;return Ca(b,c,d,e)}function pb(a,b){var c=1/86400,d=b.AddDays(-c);b=b.AddDays(+c);d=a(d);return(a(b).r-d.r)/c}function Cc(a){var b=a.AddDays(-.03);a=a.AddDays(.03);b=F(function(c){return pb(Ta,c)},b,a);if(!b)throw"Failed to find peak Earth shadow time.";return Ta(b)}function Dc(a){var b=a.AddDays(-.03);a=a.AddDays(.03); b=F(function(c){return pb(ec,c)},b,a);if(!b)throw"Failed to find peak Moon shadow time.";return ec(b)}function Ec(a,b,c){var d=c.AddDays(-1);c=c.AddDays(1);d=F(function(e){var f=1/86400,k=Ua(a,b,e.AddDays(-f));return(Ua(a,b,e.AddDays(+f)).r-k.r)/f},d,c);if(!d)throw"Failed to find peak planet shadow time.";return Ua(a,b,d)}function Fc(a,b){function c(f){return ob(f,b)}var d=a.AddDays(-.2),e=a.AddDays(.2);d=F(function(f){return pb(c,f)},d,e);if(!d)throw"PeakLocalMoonShadow: search failure for search_center_time = "+ a;return ob(d,b)}function qb(a,b,c){var d=c/1440;c=a.AddDays(-d);d=a.AddDays(+d);c=F(function(e){return-(Ta(e).r-b)},c,a);a=F(function(e){return+(Ta(e).r-b)},a,d);if(!c||!a)throw"Failed to find shadow semiduration";return 720*(a.ut-c.ut)}function fc(a){a=z(a);for(var b=0;12>b;++b){var c=ya(180,a,40);if(!c)throw"Cannot find full moon.";a=57.29577951308232*T(c).geo_eclip_lat;if(1.8>Math.abs(a)&&(a=Cc(c),a.rb;++b){var c=ya(0,a,40);if(!c)throw"Cannot find new moon";a=57.29577951308232*T(c).geo_eclip_lat;if(1.8>Math.abs(a)&&(a=Dc(c),a.r=d?d+=360:180a.r)throw"Unexpected shadow distance from geoid intersection = "+a.r;f=.014Math.abs(c)){var d=Fc(a,b);if(d.r +d,e);if(!d)throw"Local eclipse transition search failed.";return lc(a,d)}function lc(a,b){var c=Ka(u.Sun,b,a,!0,!0);a=Ja(b,a,c.ra,c.dec,"normal").altitude;return new mc(b,a)}function nc(a,b){for(ja(b);;){a=ya(0,a,40);if(!a)throw"Cannot find next new moon";var c=57.29577951308232*T(a).geo_eclip_lat;if(1.8>Math.abs(c)){var d=Fc(a,b);if(d.r ka(a,d)&&(b=Ec(a,c,d),b.r=m&&0=d.ut+e)return null;q=m.time;m=f(m.time);n=f(u.time)}};var Qb=function(a,b){this.time=a;this.hor=b};h.HourAngleEvent=Qb;h.SearchHourAngle=za;var sc=function(a,b,c,d){this.mar_equinox=a;this.jun_solstice=b;this.sep_equinox=c;this.dec_solstice=d};h.SeasonInfo= -sc;h.Seasons=function(a){function b(k,l,g){l=new Date(Date.UTC(a,l-1,g));k=Mb(k,l,4);if(!k)throw"Cannot find season change near "+l.toISOString();return k}a instanceof Date&&Number.isFinite(a.getTime())&&(a=a.getUTCFullYear());if(!Number.isSafeInteger(a))throw"Cannot calculate seasons because year argument "+a+" is neither a Date nor a safe integer.";var c=b(0,3,19),d=b(90,6,19),e=b(180,9,21),f=b(270,12,20);return new sc(c,d,e,f)};var Sb=function(a,b,c,d){this.time=a;this.visibility=b;this.elongation= -c;this.ecliptic_separation=d};h.ElongationEvent=Sb;h.Elongation=Rb;h.SearchMaxElongation=function(a,b){function c(m){var n=m.AddDays(-.005);m=m.AddDays(.005);n=ka(a,n);m=ka(a,m);return(n-m)/.01}b=z(b);var d={Mercury:{s1:50,s2:85},Venus:{s1:40,s2:50}}[a];if(!d)throw"SearchMaxElongation works for Mercury and Venus only.";for(var e=0;2>=++e;){var f=fa(a,b),k=fa(v.Earth,b),l=wa(f-k),g=f=k=void 0;l>=-d.s1&&l<+d.s1?(g=0,k=+d.s1,f=+d.s2):l>=+d.s2||l<-d.s2?(g=0,k=-d.s2,f=-d.s1):0<=l?(g=-xa(a)/4,k=+d.s1,f= -+d.s2):(g=-xa(a)/4,k=-d.s2,f=-d.s1);l=b.AddDays(g);k=la(a,k,l);f=la(a,f,k);l=c(k);if(0<=l)throw"SearchMaxElongation: internal error: m1 = "+l;g=c(f);if(0>=g)throw"SearchMaxElongation: internal error: m2 = "+g;l=F(c,k,f,{init_f1:l,init_f2:g,dt_tolerance_seconds:10});if(!l)throw"SearchMaxElongation: failed search iter "+e+" (t1="+k.toString()+", t2="+f.toString()+")";if(l.tt>=b.tt)return Rb(a,l);b=f.AddDays(1)}throw"SearchMaxElongation: failed to find event after 2 tries.";};h.SearchPeakMagnitude=function(a, -b){function c(g){var m=g.AddDays(-.005);g=g.AddDays(.005);m=Ra(a,m).mag;return(Ra(a,g).mag-m)/.01}if(a!==v.Venus)throw"SearchPeakMagnitude currently works for Venus only.";b=z(b);for(var d=0;2>=++d;){var e=fa(a,b),f=fa(v.Earth,b),k=wa(e-f),l=e=f=void 0;-10<=k&&10>k?(l=0,f=10,e=30):30<=k||-30>k?(l=0,f=-30,e=-10):0<=k?(l=-xa(a)/4,f=10,e=30):(l=-xa(a)/4,f=-30,e=-10);k=b.AddDays(l);f=la(a,f,k);e=la(a,e,f);k=c(f);if(0<=k)throw"SearchPeakMagnitude: internal error: m1 = "+k;l=c(e);if(0>=l)throw"SearchPeakMagnitude: internal error: m2 = "+ -l;k=F(c,f,e,{init_f1:k,init_f2:l,dt_tolerance_seconds:10});if(!k)throw"SearchPeakMagnitude: failed search iter "+d+" (t1="+f.toString()+", t2="+e.toString()+")";if(k.tt>=b.tt)return Ra(a,k);b=e.AddDays(1)}throw"SearchPeakMagnitude: failed to find event after 2 tries.";};var Aa=function(a,b,c){this.time=a;this.kind=b;this.dist_au=c;this.dist_km=1.4959787069098932E8*c};h.Apsis=Aa;h.SearchLunarApsis=Tb;h.NextLunarApsis=function(a){var b=Tb(a.time.AddDays(11));if(1!==b.kind+a.kind)throw"NextLunarApsis INTERNAL ERROR: did not find alternating apogee/perigee: prev="+ +0,2]},{nals:[1,1,2,-2,2],cls:[1290,0,0,-556,0,0]}],Ea;h.CalcMoonCount=0;var C=function(a,b,c,d){this.x=a;this.y=b;this.z=c;this.t=d};C.prototype.Length=function(){return Math.sqrt(this.x*this.x+this.y*this.y+this.z*this.z)};h.Vector=C;var Sa=function(a,b,c){this.lat=v(a);this.lon=v(b);this.dist=v(c)};h.Spherical=Sa;var ra=function(a,b,c,d){this.ra=v(a);this.dec=v(b);this.dist=v(c);this.vec=d};h.EquatorialCoordinates=ra;var L=function(a){this.rot=a};h.RotationMatrix=L;h.MakeRotation=function(a){if(!xc(a))throw"Argument must be a [3][3] array of numbers"; +return new L(a)};var Ab=function(a,b,c,d){this.azimuth=v(a);this.altitude=v(b);this.ra=v(c);this.dec=v(d)};h.HorizontalCoordinates=Ab;var Eb=function(a,b,c){this.vec=a;this.elat=v(b);this.elon=v(c)};h.EclipticCoordinates=Eb;h.Horizon=Ja;var Bb=function(a,b,c){this.latitude=a;this.longitude=b;this.height=c;ja(this)};h.Observer=Bb;h.SunPosition=Cb;h.Equator=Ka;h.Ecliptic=ta;h.GeoMoon=Y;var da=[[-73E4,[-26.1182072321076,-14.376168177825,3.3844025152995],[.0016339372163656,-.0027861699588508,-.0013585880229445]], +[-693500,[43.6599275018261,15.7782921408811,-8.2269833881374],[-2.504304629586E-4,.0021163039457238,7.3466073583102E-4]],[-657E3,[-17.0086014985033,33.059074387642,15.4080189624259],[-.0019676551946049,-.001833770776677,2.0125441459959E-5]],[-620500,[26.9005106893171,-21.5285596810214,-14.7987712668075],[.0022939261196998,.0017431871970059,-1.4585639832643E-4]],[-584E3,[20.2303809506997,43.2669666571891,7.3829660919234],[-.0019754081700585,5.3457141292226E-4,7.5929169129793E-4]],[-547500,[-22.5571440338751, +-19.2958112538447,.7806423603826],[.0021494578646505,-.0024266772630044,-.0014013084013574]],[-511E3,[43.023623681036,19.6179542007347,-6.8406553041565],[-4.7729923671058E-4,.0020208979483877,7.7191815992131E-4]],[-474500,[-20.4245105862934,29.5157679318005,15.3408675727018],[-.0018003167284198,-.0021025226687937,-1.1262333332859E-4]],[-438E3,[30.7746921076872,-18.2366370153037,-14.9455358798963],[.0020113162005465,.0019353827024189,-2.0937793168297E-6]],[-401500,[16.7235440456361,44.0505598318603, +8.688611393944],[-.0020565226049264,3.2710694138777E-4,7.2006155046579E-4]],[-365E3,[-18.4891734360057,-23.1428732331142,-1.6436720878799],[.0025524223225832,-.0020035792463879,-.0013910737531294]],[-328500,[42.0853950560734,22.974253125952,-5.5131410205412],[-6.7105845193949E-4,.0019177289500465,7.9770011059534E-4]],[-292E3,[-23.2753639151193,25.8185142987694,15.0553815885983],[-.0016062295460975,-.0023395961498533,-2.4377362639479E-4]],[-255500,[33.901579321013,-14.9421228983498,-14.8664994855707], +[.0017455105487563,.0020655068871494,1.169500065763E-4]],[-219E3,[13.3770189322702,44.4442211120183,9.8260227015847],[-.0021171882923251,1.3114714542921E-4,6.7884578840323E-4]],[-182500,[-14.1723844533379,-26.0054690135836,-3.8387026446526],[.0028419751785822,-.0015579441656564,-.001340841671106]],[-146E3,[40.9468572586403,25.9049735920209,-4.2563362404988],[-8.3652705194051E-4,.0018129497136404,8.156422827306E-4]],[-109500,[-25.5839689598009,22.0699164999425,14.590202603678],[-.0013923977856331, +-.0025442249745422,-3.7169906721828E-4]],[-73E3,[36.4035708396756,-11.7473067389593,-14.6304139635223],[.0015037714418941,.0021500325702247,2.1523781242948E-4]],[-36500,[10.2436041239517,44.5280986402285,10.8048664487066],[-.0021615839201823,-5.1418983893534E-5,6.368706075143E-4]],[0,[-9.8753695807739,-27.9789262247367,-5.7537118247043],[.0030287533248818,-.0011276087003636,-.0012651326732361]],[36500,[39.7009143866164,28.4327664903825,-3.0906026170881],[-9.7720559866138E-4,.0017121518344796,8.2822409843551E-4]], +[73E3,[-27.3620419812795,18.4265651225706,13.9975343005914],[-.001169093462134,-.0027143131627458,-4.9312695340367E-4]],[109500,[38.3556091850032,-8.7643800131842,-14.2951819118807],[.0012922798115839,.0022032141141126,2.9606522103424E-4]],[146E3,[7.3929490279056,44.3826789515344,11.6295002148543],[-.002193281545383,-2.1751799585364E-4,5.9556516201114E-4]],[182500,[-5.8649529029432,-29.1987619981354,-7.3502494912123],[.0031339384323665,-7.4205968379701E-4,-.0011783357537604]],[219E3,[38.4269476345329, +30.5667598351632,-2.0378379641214],[-.0010958945370084,.0016194885149659,8.3705272532546E-4]],[255500,[-28.6586488201636,15.0309000931701,13.3365724093667],[-9.4611899595408E-4,-.0028506813871559,-6.0508645822989E-4]],[292E3,[39.8319806717528,-6.0784057667647,-13.9098153586562],[.0011117769689167,.0022362097830152,3.6230548231153E-4]],[328500,[4.837152376403,44.072311954153,12.3146147867802],[-.0022164547537724,-3.6790365636785E-4,5.5542723844616E-4]],[365E3,[-2.2619763759487,-29.8581508706765,-8.6502366418978], +[.0031821176368396,-4.0915169873994E-4,-.0010895893040652]],[401500,[37.1576590087419,32.3528396259588,-1.0950381786229],[-.001198841260683,.0015356290902995,8.4339118209852E-4]],[438E3,[-29.5767402292299,11.8635359435865,12.6313230398719],[-7.2292830060955E-4,-.0029587820140709,-7.08242964503E-4]],[474500,[40.9541099577599,-3.658980594537,-13.499469956395],[9.5387298337127E-4,.0022572135462477,4.1826529781128E-4]],[511E3,[2.4859523114116,43.6181887566155,12.8914184596699],[-.0022339745420393,-5.1034757181916E-4, +5.1485330196245E-4]],[547500,[1.0594791441638,-30.1357921778687,-9.7458684762963],[.0031921591684898,-1.130531279615E-4,-9.9954096945965E-4]],[584E3,[35.8778640130144,33.8942263660709,-.2245246362769],[-.0012941245730845,.0014560427668319,8.4762160640137E-4]],[620500,[-30.2026537318923,8.7794211940578,11.8609238187578],[-4.9002221381806E-4,-.0030438768469137,-8.0605935262763E-4]],[657E3,[41.8536204011376,-1.3790965838042,-13.0624345337527],[8.0674627557124E-4,.0022702374399791,4.6832587475465E-4]], +[693500,[.2468843977112,43.0303960481227,13.3909343344167],[-.0022436121787266,-6.5238074250728E-4,4.7172729553196E-4]],[73E4,[4.2432528370899,-30.1182016908248,-10.7074412313491],[.0031725847067411,1.609846120227E-4,-9.0672150593868E-4]]],D=function(a,b,c){this.x=a;this.y=b;this.z=c};D.prototype.ToAstroVector=function(a){return new C(this.x,this.y,this.z,a)};D.prototype.quadrature=function(){return this.x*this.x+this.y*this.y+this.z*this.z};D.prototype.add=function(a){return new D(this.x+a.x,this.y+ +a.y,this.z+a.z)};D.prototype.sub=function(a){return new D(this.x-a.x,this.y-a.y,this.z-a.z)};D.prototype.incr=function(a){this.x+=a.x;this.y+=a.y;this.z+=a.z};D.prototype.decr=function(a){this.x-=a.x;this.y-=a.y;this.z-=a.z};D.prototype.mul=function(a){return new D(a*this.x,a*this.y,a*this.z)};D.prototype.div=function(a){return new D(this.x/a,this.y/a,this.z/a)};D.prototype.mean=function(a){return new D((this.x+a.x)/2,(this.y+a.y)/2,(this.z+a.z)/2)};var Oa=function(a,b,c){this.tt=a;this.r=b;this.v= +c},Qa=function(a){var b=new Oa(a,new D(0,0,0),new D(0,0,0));this.Jupiter=Na(b,a,u.Jupiter,2.825345909524226E-7);this.Saturn=Na(b,a,u.Saturn,8.459715185680659E-8);this.Uranus=Na(b,a,u.Uranus,1.292024916781969E-8);this.Neptune=Na(b,a,u.Neptune,1.524358900784276E-8);this.Jupiter.r.decr(b.r);this.Jupiter.v.decr(b.v);this.Saturn.r.decr(b.r);this.Saturn.v.decr(b.v);this.Uranus.r.decr(b.r);this.Uranus.v.decr(b.v);this.Neptune.r.decr(b.r);this.Neptune.v.decr(b.v);this.Sun=new Oa(a,b.r.mul(-1),b.v.mul(-1))}; +Qa.prototype.Acceleration=function(a){var b=ua(a,2.959122082855911E-4,this.Sun.r);b.incr(ua(a,2.825345909524226E-7,this.Jupiter.r));b.incr(ua(a,8.459715185680659E-8,this.Saturn.r));b.incr(ua(a,1.292024916781969E-8,this.Uranus.r));b.incr(ua(a,1.524358900784276E-8,this.Neptune.r));return b};var Ib=function(a,b,c,d){this.tt=a;this.r=b;this.v=c;this.a=d},Jb=function(a,b){this.bary=a;this.grav=b},gb=[];h.HelioVector=va;h.HelioDistance=ea;h.GeoVector=X;h.Search=F;h.SearchSunLongitude=Mb;h.LongitudeFromSun= +hb;h.AngleFromSun=ka;h.EclipticLongitude=fa;var Nb=function(a,b,c,d,e,f,k,l){this.time=a;this.mag=b;this.phase_angle=c;this.helio_dist=d;this.geo_dist=e;this.gc=f;this.hc=k;this.ring_tilt=l;this.phase_fraction=(1+Math.cos(.017453292519943295*c))/2};h.IlluminationInfo=Nb;h.Illumination=Ra;h.SearchRelativeLongitude=la;h.MoonPhase=ib;h.SearchMoonPhase=ya;var Pb=function(a,b){this.quarter=a;this.time=b};h.MoonQuarter=Pb;h.SearchMoonQuarter=Ob;h.NextMoonQuarter=function(a){a=new Date(a.time.date.getTime()+ +5184E5);return Ob(a)};h.SearchRiseSet=function(a,b,c,d,e){function f(x){var I=Ka(a,x,b,!0,!0);x=Ja(x,b,I.ra,I.dec).altitude+k/I.dist*57.29577951308232+Gc;return c*x}ja(b);v(e);a:switch(a){case u.Sun:var k=.0046504672612422675;break a;case u.Moon:k=1.1618480877914597E-5;break a;default:k=0}if(a===u.Earth)throw"Cannot find rise or set time of the Earth.";if(1===c){var l=12;var g=0}else if(-1===c)l=0,g=12;else throw"SearchRiseSet: Invalid direction parameter "+c+" -- must be +1 or -1";d=z(d);var m=f(d); +var n;if(0=m&&0=d.ut+e)return null;q=m.time;m=f(m.time);n=f(t.time)}};var Qb=function(a,b){this.time=a;this.hor=b};h.HourAngleEvent=Qb;h.SearchHourAngle=za;var sc=function(a,b,c,d){this.mar_equinox=a;this.jun_solstice=b;this.sep_equinox=c;this.dec_solstice=d};h.SeasonInfo=sc;h.Seasons=function(a){function b(k, +l,g){l=new Date(Date.UTC(a,l-1,g));k=Mb(k,l,4);if(!k)throw"Cannot find season change near "+l.toISOString();return k}a instanceof Date&&Number.isFinite(a.getTime())&&(a=a.getUTCFullYear());if(!Number.isSafeInteger(a))throw"Cannot calculate seasons because year argument "+a+" is neither a Date nor a safe integer.";var c=b(0,3,19),d=b(90,6,19),e=b(180,9,21),f=b(270,12,20);return new sc(c,d,e,f)};var Sb=function(a,b,c,d){this.time=a;this.visibility=b;this.elongation=c;this.ecliptic_separation=d};h.ElongationEvent= +Sb;h.Elongation=Rb;h.SearchMaxElongation=function(a,b){function c(m){var n=m.AddDays(-.005);m=m.AddDays(.005);n=ka(a,n);m=ka(a,m);return(n-m)/.01}b=z(b);var d={Mercury:{s1:50,s2:85},Venus:{s1:40,s2:50}}[a];if(!d)throw"SearchMaxElongation works for Mercury and Venus only.";for(var e=0;2>=++e;){var f=fa(a,b),k=fa(u.Earth,b),l=wa(f-k),g=f=k=void 0;l>=-d.s1&&l<+d.s1?(g=0,k=+d.s1,f=+d.s2):l>=+d.s2||l<-d.s2?(g=0,k=-d.s2,f=-d.s1):0<=l?(g=-xa(a)/4,k=+d.s1,f=+d.s2):(g=-xa(a)/4,k=-d.s2,f=-d.s1);l=b.AddDays(g); +k=la(a,k,l);f=la(a,f,k);l=c(k);if(0<=l)throw"SearchMaxElongation: internal error: m1 = "+l;g=c(f);if(0>=g)throw"SearchMaxElongation: internal error: m2 = "+g;l=F(c,k,f,{init_f1:l,init_f2:g,dt_tolerance_seconds:10});if(!l)throw"SearchMaxElongation: failed search iter "+e+" (t1="+k.toString()+", t2="+f.toString()+")";if(l.tt>=b.tt)return Rb(a,l);b=f.AddDays(1)}throw"SearchMaxElongation: failed to find event after 2 tries.";};h.SearchPeakMagnitude=function(a,b){function c(g){var m=g.AddDays(-.005);g= +g.AddDays(.005);m=Ra(a,m).mag;return(Ra(a,g).mag-m)/.01}if(a!==u.Venus)throw"SearchPeakMagnitude currently works for Venus only.";b=z(b);for(var d=0;2>=++d;){var e=fa(a,b),f=fa(u.Earth,b),k=wa(e-f),l=e=f=void 0;-10<=k&&10>k?(l=0,f=10,e=30):30<=k||-30>k?(l=0,f=-30,e=-10):0<=k?(l=-xa(a)/4,f=10,e=30):(l=-xa(a)/4,f=-30,e=-10);k=b.AddDays(l);f=la(a,f,k);e=la(a,e,f);k=c(f);if(0<=k)throw"SearchPeakMagnitude: internal error: m1 = "+k;l=c(e);if(0>=l)throw"SearchPeakMagnitude: internal error: m2 = "+l;k=F(c, +f,e,{init_f1:k,init_f2:l,dt_tolerance_seconds:10});if(!k)throw"SearchPeakMagnitude: failed search iter "+d+" (t1="+f.toString()+", t2="+e.toString()+")";if(k.tt>=b.tt)return Ra(a,k);b=e.AddDays(1)}throw"SearchPeakMagnitude: failed to find event after 2 tries.";};var Aa=function(a,b,c){this.time=a;this.kind=b;this.dist_au=c;this.dist_km=1.4959787069098932E8*c};h.Apsis=Aa;h.SearchLunarApsis=Tb;h.NextLunarApsis=function(a){var b=Tb(a.time.AddDays(11));if(1!==b.kind+a.kind)throw"NextLunarApsis INTERNAL ERROR: did not find alternating apogee/perigee: prev="+ a.kind+" @ "+a.time.toString()+", next="+b.kind+" @ "+b.time.toString();return b};h.SearchPlanetApsis=Vb;h.NextPlanetApsis=function(a,b){if(0!==b.kind&&1!==b.kind)throw"Invalid apsis kind: "+b.kind;var c=b.time.AddDays(.25*Z[a].OrbitalPeriod);a=Vb(a,c);if(1!==a.kind+b.kind)throw"Internal error: previous apsis was "+b.kind+", but found "+a.kind+" for next apsis.";return a};h.InverseRotation=ma;h.CombineRotation=na;h.IdentityMatrix=function(){return new L([[1,0,0],[0,1,0],[0,0,1]])};h.Pivot=function(a, -b,c){if(0!==b&&1!==b&&2!==b)throw"Invalid axis "+b+". Must be [0, 1, 2].";var d=.017453292519943295*r(c);c=Math.cos(d);d=Math.sin(d);var e=(b+1)%3,f=(b+2)%3,k=[[0,0,0],[0,0,0],[0,0,0]];k[e][e]=c*a.rot[e][e]-d*a.rot[e][f];k[e][f]=d*a.rot[e][e]+c*a.rot[e][f];k[e][b]=a.rot[e][b];k[f][e]=c*a.rot[f][e]-d*a.rot[f][f];k[f][f]=d*a.rot[f][e]+c*a.rot[f][f];k[f][b]=a.rot[f][b];k[b][e]=c*a.rot[b][e]-d*a.rot[b][f];k[b][f]=d*a.rot[b][e]+c*a.rot[b][f];k[b][b]=a.rot[b][b];return new L(k)};h.VectorFromSphere=jb;h.EquatorFromVector= +b,c){if(0!==b&&1!==b&&2!==b)throw"Invalid axis "+b+". Must be [0, 1, 2].";var d=.017453292519943295*v(c);c=Math.cos(d);d=Math.sin(d);var e=(b+1)%3,f=(b+2)%3,k=[[0,0,0],[0,0,0],[0,0,0]];k[e][e]=c*a.rot[e][e]-d*a.rot[e][f];k[e][f]=d*a.rot[e][e]+c*a.rot[e][f];k[e][b]=a.rot[e][b];k[f][e]=c*a.rot[f][e]-d*a.rot[f][f];k[f][f]=d*a.rot[f][e]+c*a.rot[f][f];k[f][b]=a.rot[f][b];k[b][e]=c*a.rot[b][e]-d*a.rot[b][f];k[b][f]=d*a.rot[b][e]+c*a.rot[b][f];k[b][b]=a.rot[b][b];return new L(k)};h.VectorFromSphere=jb;h.EquatorFromVector= Wb;h.SphereFromVector=kb;h.HorizonFromVector=function(a,b){a=kb(a);a.lon=Xb(a.lon);a.lat+=sa(b,a.lat);return a};h.VectorFromHorizon=function(a,b,c){var d=Xb(a.lon);c=a.lat+Yb(c,a.lat);a=new Sa(c,d,a.dist);return jb(a,b)};h.Refraction=sa;h.InverseRefraction=Yb;h.RotateVector=Ba;h.Rotation_EQJ_ECL=Zb;h.Rotation_ECL_EQJ=function(){return new L([[1,0,0],[0,.9174821430670688,.3977769691083922],[0,-.3977769691083922,.9174821430670688]])};h.Rotation_EQJ_EQD=lb;h.Rotation_EQD_EQJ=mb;h.Rotation_EQD_HOR=nb; h.Rotation_HOR_EQD=$b;h.Rotation_HOR_EQJ=ac;h.Rotation_EQJ_HOR=function(a,b){a=ac(a,b);return ma(a)};h.Rotation_EQD_ECL=bc;h.Rotation_ECL_EQD=cc;h.Rotation_ECL_HOR=dc;h.Rotation_HOR_ECL=function(a,b){a=dc(a,b);return ma(a)};var Hc=[["And","Andromeda"],["Ant","Antila"],["Aps","Apus"],["Aql","Aquila"],["Aqr","Aquarius"],["Ara","Ara"],["Ari","Aries"],["Aur","Auriga"],["Boo","Bootes"],["Cae","Caelum"],["Cam","Camelopardis"],["Cap","Capricornus"],["Car","Carina"],["Cas","Cassiopeia"],["Cen","Centaurus"], ["Cep","Cepheus"],["Cet","Cetus"],["Cha","Chamaeleon"],["Cir","Circinus"],["CMa","Canis Major"],["CMi","Canis Minor"],["Cnc","Cancer"],["Col","Columba"],["Com","Coma Berenices"],["CrA","Corona Australis"],["CrB","Corona Borealis"],["Crt","Crater"],["Cru","Crux"],["Crv","Corvus"],["CVn","Canes Venatici"],["Cyg","Cygnus"],["Del","Delphinus"],["Dor","Dorado"],["Dra","Draco"],["Equ","Equuleus"],["Eri","Eridanus"],["For","Fornax"],["Gem","Gemini"],["Gru","Grus"],["Her","Hercules"],["Hor","Horologium"], @@ -195,7 +195,7 @@ h.Rotation_HOR_EQD=$b;h.Rotation_HOR_EQJ=ac;h.Rotation_EQJ_HOR=function(a,b){a=a [71,5760,5911.5,-1008],[9,1740,1800,-1032],[22,1800,2370,-1032],[67,2880,3012,-1032],[35,1230,1392,-1056],[71,5911.5,6420,-1092],[24,6420,6900,-1092],[76,6900,7320,-1092],[53,7320,7680,-1092],[35,1080,1230,-1104],[9,1620,1740,-1116],[49,5520,5640,-1152],[63,0,840,-1156],[35,960,1080,-1176],[40,1470,1536,-1176],[9,1536,1620,-1176],[38,7680,7920,-1200],[67,2160,2880,-1218],[84,2880,2940,-1218],[35,870,960,-1224],[40,1380,1470,-1224],[63,0,660,-1236],[12,2160,2220,-1260],[84,2940,3042,-1272],[40,1260, 1380,-1276],[32,1380,1440,-1276],[63,0,570,-1284],[35,780,870,-1296],[64,1620,1800,-1296],[49,5418,5520,-1296],[84,3042,3180,-1308],[12,2220,2340,-1320],[14,4260,4620,-1320],[49,5100,5418,-1320],[56,5418,5520,-1320],[32,1440,1560,-1356],[84,3180,3960,-1356],[14,3960,4050,-1356],[5,6300,6480,-1368],[78,6480,7320,-1368],[38,7920,8400,-1368],[40,1152,1260,-1380],[64,1800,1980,-1380],[12,2340,2460,-1392],[63,0,480,-1404],[35,480,780,-1404],[63,8400,8640,-1404],[32,1560,1650,-1416],[56,5520,5911.5,-1440], [43,7320,7680,-1440],[64,1980,2160,-1464],[18,5460,5520,-1464],[5,5911.5,5970,-1464],[18,5370,5460,-1526],[5,5970,6030,-1526],[64,2160,2460,-1536],[12,2460,3252,-1536],[14,4050,4260,-1536],[27,4260,4620,-1536],[14,4620,5232,-1536],[18,4860,4920,-1560],[5,6030,6060,-1560],[40,780,1152,-1620],[69,1152,1650,-1620],[18,5310,5370,-1620],[5,6060,6300,-1620],[60,6300,6480,-1620],[81,7920,8400,-1620],[32,1650,2370,-1680],[18,4920,5310,-1680],[79,5310,6120,-1680],[81,0,480,-1800],[42,1260,1650,-1800],[86, -2370,3252,-1800],[12,3252,4050,-1800],[55,4050,4920,-1800],[60,6480,7680,-1800],[43,7680,8400,-1800],[81,8400,8640,-1800],[81,270,480,-1824],[42,0,1260,-1980],[17,2760,4920,-1980],[2,4920,6480,-1980],[52,1260,2760,-2040],[57,0,8640,-2160]],rb,tc,uc=function(a,b,c,d){this.symbol=a;this.name=b;this.ra1875=c;this.dec1875=d};h.ConstellationInfo=uc;h.Constellation=function(a,b){r(a);r(b);if(-90>b||90a&&(a+=24);rb||(rb=lb(new Q(-45655.74141261017)), +2370,3252,-1800],[12,3252,4050,-1800],[55,4050,4920,-1800],[60,6480,7680,-1800],[43,7680,8400,-1800],[81,8400,8640,-1800],[81,270,480,-1824],[42,0,1260,-1980],[17,2760,4920,-1980],[2,4920,6480,-1980],[52,1260,2760,-2040],[57,0,8640,-2160]],rb,tc,uc=function(a,b,c,d){this.symbol=a;this.name=b;this.ra1875=c;this.dec1875=d};h.ConstellationInfo=uc;h.Constellation=function(a,b){v(a);v(b);if(-90>b||90a&&(a+=24);rb||(rb=lb(new Q(-45655.74141261017)), tc=new Q(0));a=new Sa(b,15*a,1);a=jb(a,tc);a=Ba(rb,a);a=Wb(a);b=10/240;for(var c=b/15,d=$jscomp.makeIterator(Ic),e=d.next();!e.done;e=d.next()){e=e.value;var f=e[1]*c,k=e[2]*c;if(e[3]*b<=a.dec&&f<=a.ra&&a.raastronomical units (AU) * and spherical coordinates `(elon, elat)` measured in degrees. * - * @property {number} ex - * The Cartesian x-coordinate of the body in astronomical units (AU). + * @property {Vector} vec + * Ecliptic cartesian vector with components measured in astronomical units (AU). * The x-axis is within the ecliptic plane and is oriented in the direction of the * equinox. - * - * @property {number} ey - * The Cartesian y-coordinate of the body in astronomical units (AU). * The y-axis is within the ecliptic plane and is oriented 90 degrees * counterclockwise from the equinox, as seen from above the Sun's north pole. - * - * @property {number} ez - * The Cartesian z-coordinate of the body in astronomical units (AU). * The z-axis is oriented perpendicular to the ecliptic plane, * along the direction of the Sun's north pole. * @@ -338,12 +332,10 @@ export declare class HorizontalCoordinates { * up to 360 degrees. */ export declare class EclipticCoordinates { - ex: number; - ey: number; - ez: number; + vec: Vector; elat: number; elon: number; - constructor(ex: number, ey: number, ez: number, elat: number, elon: number); + constructor(vec: Vector, elat: number, elon: number); } /** * @brief Converts equatorial coordinates to horizontal coordinates. @@ -475,21 +467,14 @@ export declare function Equator(body: Body, date: FlexibleDateTime, observer: Ob * * Given J2000 equatorial Cartesian coordinates, * returns J2000 ecliptic latitude, longitude, and cartesian coordinates. - * You can call {@link GeoVector} and use its (x, y, z) return values - * to pass into this function. + * You can call {@link GeoVector} and pass the resulting vector to this function. * - * @param {number} gx - * The x-coordinate of a 3D vector in the J2000 equatorial coordinate system. - * - * @param {number} gy - * The y-coordinate of a 3D vector in the J2000 equatorial coordinate system. - * - * @param {number} gz - * The z-coordinate of a 3D vector in the J2000 equatorial coordinate system. + * @param {Vector} equ + * A vector in the J2000 equatorial coordinate system. * * @returns {EclipticCoordinates} */ -export declare function Ecliptic(gx: number, gy: number, gz: number): EclipticCoordinates; +export declare function Ecliptic(equ: Vector): EclipticCoordinates; /** * @brief Calculates the geocentric Cartesian coordinates for the Moon in the J2000 equatorial system. * diff --git a/source/js/astronomy.js b/source/js/astronomy.js index 8b735086..1b58a4cb 100644 --- a/source/js/astronomy.js +++ b/source/js/astronomy.js @@ -1816,18 +1816,12 @@ exports.HorizontalCoordinates = HorizontalCoordinates; * astronomical units (AU) * and spherical coordinates `(elon, elat)` measured in degrees. * - * @property {number} ex - * The Cartesian x-coordinate of the body in astronomical units (AU). + * @property {Vector} vec + * Ecliptic cartesian vector with components measured in astronomical units (AU). * The x-axis is within the ecliptic plane and is oriented in the direction of the * equinox. - * - * @property {number} ey - * The Cartesian y-coordinate of the body in astronomical units (AU). * The y-axis is within the ecliptic plane and is oriented 90 degrees * counterclockwise from the equinox, as seen from above the Sun's north pole. - * - * @property {number} ez - * The Cartesian z-coordinate of the body in astronomical units (AU). * The z-axis is oriented perpendicular to the ecliptic plane, * along the direction of the Sun's north pole. * @@ -1846,10 +1840,8 @@ exports.HorizontalCoordinates = HorizontalCoordinates; * up to 360 degrees. */ class EclipticCoordinates { - constructor(ex, ey, ez, elat, elon) { - this.ex = VerifyNumber(ex); - this.ey = VerifyNumber(ey); - this.ez = VerifyNumber(ez); + constructor(vec, elat, elon) { + this.vec = vec; this.elat = VerifyNumber(elat); this.elon = VerifyNumber(elon); } @@ -2105,7 +2097,8 @@ function SunPosition(date) { const true_obliq = DEG2RAD * e_tilt(time).tobl; const cos_ob = Math.cos(true_obliq); const sin_ob = Math.sin(true_obliq); - const sun_ecliptic = RotateEquatorialToEcliptic(gx, gy, gz, cos_ob, sin_ob); + const vec = new Vector(gx, gy, gz, time); + const sun_ecliptic = RotateEquatorialToEcliptic(vec, cos_ob, sin_ob); return sun_ecliptic; } exports.SunPosition = SunPosition; @@ -2168,11 +2161,11 @@ function Equator(body, date, observer, ofdate, aberration) { return vector2radec(datevect, time); } exports.Equator = Equator; -function RotateEquatorialToEcliptic(gx, gy, gz, cos_ob, sin_ob) { +function RotateEquatorialToEcliptic(equ, cos_ob, sin_ob) { // Rotate equatorial vector to obtain ecliptic vector. - const ex = gx; - const ey = gy * cos_ob + gz * sin_ob; - const ez = -gy * sin_ob + gz * cos_ob; + const ex = equ.x; + const ey = equ.y * cos_ob + equ.z * sin_ob; + const ez = -equ.y * sin_ob + equ.z * cos_ob; const xyproj = Math.sqrt(ex * ex + ey * ey); let elon = 0; if (xyproj > 0) { @@ -2181,28 +2174,22 @@ function RotateEquatorialToEcliptic(gx, gy, gz, cos_ob, sin_ob) { elon += 360; } let elat = RAD2DEG * Math.atan2(ez, xyproj); - return new EclipticCoordinates(ex, ey, ez, elat, elon); + let ecl = new Vector(ex, ey, ez, equ.t); + return new EclipticCoordinates(ecl, elat, elon); } /** * @brief Converts equatorial Cartesian coordinates to ecliptic Cartesian and angular coordinates. * * Given J2000 equatorial Cartesian coordinates, * returns J2000 ecliptic latitude, longitude, and cartesian coordinates. - * You can call {@link GeoVector} and use its (x, y, z) return values - * to pass into this function. + * You can call {@link GeoVector} and pass the resulting vector to this function. * - * @param {number} gx - * The x-coordinate of a 3D vector in the J2000 equatorial coordinate system. - * - * @param {number} gy - * The y-coordinate of a 3D vector in the J2000 equatorial coordinate system. - * - * @param {number} gz - * The z-coordinate of a 3D vector in the J2000 equatorial coordinate system. + * @param {Vector} equ + * A vector in the J2000 equatorial coordinate system. * * @returns {EclipticCoordinates} */ -function Ecliptic(gx, gy, gz) { +function Ecliptic(equ) { // Based on NOVAS functions equ2ecl() and equ2ecl_vec(). if (ob2000 === undefined) { // Lazy-evaluate and keep the mean obliquity of the ecliptic at J2000. @@ -2211,10 +2198,7 @@ function Ecliptic(gx, gy, gz) { cos_ob2000 = Math.cos(ob2000); sin_ob2000 = Math.sin(ob2000); } - VerifyNumber(gx); - VerifyNumber(gy); - VerifyNumber(gz); - return RotateEquatorialToEcliptic(gx, gy, gz, cos_ob2000, sin_ob2000); + return RotateEquatorialToEcliptic(equ, cos_ob2000, sin_ob2000); } exports.Ecliptic = Ecliptic; /** @@ -3077,10 +3061,10 @@ function LongitudeFromSun(body, date) { if (body === Body.Earth) throw 'The Earth does not have a longitude as seen from itself.'; const t = MakeTime(date); - let gb = GeoVector(body, t, false); - const eb = Ecliptic(gb.x, gb.y, gb.z); - let gs = GeoVector(Body.Sun, t, false); - const es = Ecliptic(gs.x, gs.y, gs.z); + const gb = GeoVector(body, t, false); + const eb = Ecliptic(gb); + const gs = GeoVector(Body.Sun, t, false); + const es = Ecliptic(gs); return NormalizeLongitude(eb.elon - es.elon); } exports.LongitudeFromSun = LongitudeFromSun; @@ -3132,8 +3116,8 @@ exports.AngleFromSun = AngleFromSun; function EclipticLongitude(body, date) { if (body === Body.Sun) throw 'Cannot calculate heliocentric longitude of the Sun.'; - let hv = HelioVector(body, date); - let eclip = Ecliptic(hv.x, hv.y, hv.z); + const hv = HelioVector(body, date); + const eclip = Ecliptic(hv); return eclip.elon; } exports.EclipticLongitude = EclipticLongitude; @@ -3190,7 +3174,7 @@ function SaturnMagnitude(phase, helio_dist, geo_dist, gc, time) { // http://www.stjarnhimlen.se/comp/ppcomp.html#15 // We must handle Saturn's rings as a major component of its visual magnitude. // Find geocentric ecliptic coordinates of Saturn. - const eclip = Ecliptic(gc.x, gc.y, gc.z); + const eclip = Ecliptic(gc); const ir = DEG2RAD * 28.06; // tilt of Saturn's rings to the ecliptic, in radians const Nr = DEG2RAD * (169.51 + (3.82e-5 * time.tt)); // ascending node of Saturn's rings, in radians // Find tilt of Saturn's rings, as seen from Earth. diff --git a/source/js/astronomy.min.js b/source/js/astronomy.min.js index 4562e4f2..67237825 100644 --- a/source/js/astronomy.min.js +++ b/source/js/astronomy.min.js @@ -122,15 +122,15 @@ function nutation(a,b,c){a=nutation_rot(a,b);return[a.rot[0][0]*c[0]+a.rot[1][0] function nutation_rot(a,b){a=e_tilt(a);var c=a.mobl*DEG2RAD,d=a.tobl*DEG2RAD,e=a.dpsi*ASEC2RAD;a=Math.cos(c);c=Math.sin(c);var f=Math.cos(d),g=Math.sin(d);d=Math.cos(e);var k=Math.sin(e);e=-k*a;var h=-k*c,l=k*f,m=d*a*f+c*g,n=d*c*f-a*g;k*=g;var p=d*a*g-c*f;a=d*c*g+a*f;return 0===b?new RotationMatrix([[d,l,k],[e,m,p],[h,n,a]]):new RotationMatrix([[d,e,h],[l,m,n],[k,p,a]])}function geo_pos(a,b){var c=sidereal_time(a);b=terra(b,c).pos;b=nutation(a,-1,b);return precession(a.tt,b,0)} var Vector=function(a,b,c,d){this.x=a;this.y=b;this.z=c;this.t=d};Vector.prototype.Length=function(){return Math.sqrt(this.x*this.x+this.y*this.y+this.z*this.z)};exports.Vector=Vector;var Spherical=function(a,b,c){this.lat=VerifyNumber(a);this.lon=VerifyNumber(b);this.dist=VerifyNumber(c)};exports.Spherical=Spherical;var EquatorialCoordinates=function(a,b,c,d){this.ra=VerifyNumber(a);this.dec=VerifyNumber(b);this.dist=VerifyNumber(c);this.vec=d};exports.EquatorialCoordinates=EquatorialCoordinates; function IsValidRotationArray(a){if(!(a instanceof Array)||3!==a.length)return!1;for(var b=0;3>b;++b){if(!(a[b]instanceof Array)||3!==a[b].length)return!1;for(var c=0;3>c;++c)if(!Number.isFinite(a[b][c]))return!1}return!0}var RotationMatrix=function(a){this.rot=a};exports.RotationMatrix=RotationMatrix;function MakeRotation(a){if(!IsValidRotationArray(a))throw"Argument must be a [3][3] array of numbers";return new RotationMatrix(a)}exports.MakeRotation=MakeRotation; -var HorizontalCoordinates=function(a,b,c,d){this.azimuth=VerifyNumber(a);this.altitude=VerifyNumber(b);this.ra=VerifyNumber(c);this.dec=VerifyNumber(d)};exports.HorizontalCoordinates=HorizontalCoordinates;var EclipticCoordinates=function(a,b,c,d,e){this.ex=VerifyNumber(a);this.ey=VerifyNumber(b);this.ez=VerifyNumber(c);this.elat=VerifyNumber(d);this.elon=VerifyNumber(e)};exports.EclipticCoordinates=EclipticCoordinates; +var HorizontalCoordinates=function(a,b,c,d){this.azimuth=VerifyNumber(a);this.altitude=VerifyNumber(b);this.ra=VerifyNumber(c);this.dec=VerifyNumber(d)};exports.HorizontalCoordinates=HorizontalCoordinates;var EclipticCoordinates=function(a,b,c){this.vec=a;this.elat=VerifyNumber(b);this.elon=VerifyNumber(c)};exports.EclipticCoordinates=EclipticCoordinates; function vector2radec(a,b){b=new Vector(a[0],a[1],a[2],b);var c=b.x*b.x+b.y*b.y,d=Math.sqrt(c+b.z*b.z);if(0===c){if(0===b.z)throw"Indeterminate sky coordinates";return 0>b.z?new EquatorialCoordinates(0,-90,d,b):new EquatorialCoordinates(0,90,d,b)}var e=Math.atan2(b.y,b.x)/(15*DEG2RAD);0>e&&(e+=24);return new EquatorialCoordinates(e,Math.atan2(a[2],Math.sqrt(c))/DEG2RAD,d,b)} function spin(a,b){var c=a*DEG2RAD;a=Math.cos(c);c=Math.sin(c);return[a*b[0]+c*b[1]+0*b[2],-c*b[0]+a*b[1]+0*b[2],0*b[0]+0*b[1]+1*b[2]]} function Horizon(a,b,c,d,e){a=MakeTime(a);VerifyObserver(b);VerifyNumber(c);VerifyNumber(d);var f=Math.sin(b.latitude*DEG2RAD),g=Math.cos(b.latitude*DEG2RAD),k=Math.sin(b.longitude*DEG2RAD),h=Math.cos(b.longitude*DEG2RAD);b=Math.sin(d*DEG2RAD);var l=Math.cos(d*DEG2RAD),m=Math.sin(15*c*DEG2RAD),n=Math.cos(15*c*DEG2RAD),p=[g*h,g*k,f];f=[-f*h,-f*k,g];k=[k,-h,0];g=-15*sidereal_time(a);a=spin(g,p);p=spin(g,f);k=spin(g,k);b=[l*n,l*m,b];m=b[0]*a[0]+b[1]*a[1]+b[2]*a[2];l=b[0]*p[0]+b[1]*p[1]+b[2]*p[2];p=b[0]* k[0]+b[1]*k[1]+b[2]*k[2];n=Math.sqrt(l*l+p*p);0l&&(l+=360)):l=0;m=Math.atan2(n,m)*RAD2DEG;n=d;if(e&&(d=m,e=Refraction(e,90-m),m-=e,0k;++k)e.push((b[k]-d*a[k])/p*c+a[k]*n);n=Math.sqrt(e[0]*e[0]+e[1]*e[1]);0c&&(c+=24)):c=0;n=Math.atan2(e[2],n)*RAD2DEG}return new HorizontalCoordinates(l,90-m,c,n)} exports.Horizon=Horizon;function VerifyObserver(a){if(!(a instanceof Observer))throw"Not an instance of the Observer class: "+a;VerifyNumber(a.latitude);VerifyNumber(a.longitude);VerifyNumber(a.height);if(-90>a.latitude||90d&&(d+=360));return new EclipticCoordinates(a,f,b,RAD2DEG*Math.atan2(b,c),d)} -function Ecliptic(a,b,c){void 0===ob2000&&(ob2000=DEG2RAD*e_tilt(MakeTime(J2000)).mobl,cos_ob2000=Math.cos(ob2000),sin_ob2000=Math.sin(ob2000));VerifyNumber(a);VerifyNumber(b);VerifyNumber(c);return RotateEquatorialToEcliptic(a,b,c,cos_ob2000,sin_ob2000)}exports.Ecliptic=Ecliptic; +function SunPosition(a){a=MakeTime(a).AddDays(-1/C_AUDAY);var b=CalcVsop(vsop.Earth,a);b=precession(0,[-b.x,-b.y,-b.z],a.tt);var c=$jscomp.makeIterator(nutation(a,0,b));b=c.next().value;var d=c.next().value,e=c.next().value,f=DEG2RAD*e_tilt(a).tobl;c=Math.cos(f);f=Math.sin(f);a=new Vector(b,d,e,a);return RotateEquatorialToEcliptic(a,c,f)}exports.SunPosition=SunPosition; +function Equator(a,b,c,d,e){VerifyObserver(c);VerifyBoolean(d);VerifyBoolean(e);b=MakeTime(b);c=geo_pos(b,c);a=GeoVector(a,b,e);a=[a.x-c[0],a.y-c[1],a.z-c[2]];if(!d)return vector2radec(a,b);d=precession(0,a,b.tt);d=nutation(b,0,d);return vector2radec(d,b)}exports.Equator=Equator; +function RotateEquatorialToEcliptic(a,b,c){var d=a.x,e=a.y*b+a.z*c;c=-a.y*c+a.z*b;var f=Math.sqrt(d*d+e*e);b=0;0b&&(b+=360));f=RAD2DEG*Math.atan2(c,f);a=new Vector(d,e,c,a.t);return new EclipticCoordinates(a,f,b)}function Ecliptic(a){void 0===ob2000&&(ob2000=DEG2RAD*e_tilt(MakeTime(J2000)).mobl,cos_ob2000=Math.cos(ob2000),sin_ob2000=Math.sin(ob2000));return RotateEquatorialToEcliptic(a,cos_ob2000,sin_ob2000)}exports.Ecliptic=Ecliptic; function GeoMoon(a){a=MakeTime(a);var b=CalcMoon(a),c=b.distance_au*Math.cos(b.geo_eclip_lat);b=ecl2equ_vec(a,[c*Math.cos(b.geo_eclip_lon),c*Math.sin(b.geo_eclip_lon),b.distance_au*Math.sin(b.geo_eclip_lat)]);b=precession(a.tt,b,0);return new Vector(b[0],b[1],b[2],a)}exports.GeoMoon=GeoMoon; function VsopFormula(a,b){var c=1,d=0;a=$jscomp.makeIterator(a);for(var e=a.next();!e.done;e=a.next()){var f=0;e=$jscomp.makeIterator(e.value);for(var g=e.next();!g.done;g=e.next()){var k=$jscomp.makeIterator(g.value);g=k.next().value;var h=k.next().value;k=k.next().value;f+=g*Math.cos(h+b*k)}d+=c*f;c*=b}return d} function VsopDeriv(a,b){var c=1,d=0,e=0,f=0;a=$jscomp.makeIterator(a);for(var g=a.next();!g.done;g=a.next()){var k=0,h=0;g=$jscomp.makeIterator(g.value);for(var l=g.next();!l.done;l=g.next()){var m=$jscomp.makeIterator(l.value);l=m.next().value;var n=m.next().value;m=m.next().value;n+=b*m;k+=l*m*Math.sin(n);0d||1=d)return null;e=Math.sqrt(d);d=(-c+e)/(2*f);e=(-c-e)/(2*f);if(-1<=d&&1>=d){if(-1<=e&&1>=e)return null}else if(-1<=e&&1>=e)d=e;else return null}return{x:d,t:a+d*b,df_dt:(2*f*d+c)/b}} function Search(a,b,c,d){var e=VerifyNumber(d&&d.dt_tolerance_seconds||1);e=Math.abs(e/SECONDS_PER_DAY);var f=d&&d.init_f1||a(b),g=d&&d.init_f2||a(c),k=NaN,h=0;d=d&&d.iter_limit||20;for(var l=!0;;){if(++h>d)throw"Excessive iteration in Search()";var m=InterpolateTime(b,c,.5),n=m.ut-b.ut;if(Math.abs(n)(n.ut-b.ut)*(n.ut-c.ut)&&0>(u.ut-b.ut)*(u.ut-c.ut))){p=a(n);var r=a(u);if(0>p&&0<=r){f=p;g=r;b=n;c=u;k=x;l=!1;continue}}}}if(0>f&&0<=k)c=m,g=k;else if(0>k&&0<=g)b=m,f=k;else return null}}exports.Search=Search;function LongitudeOffset(a){for(;-180>=a;)a+=360;for(;180a;)a+=360;for(;360<=a;)a-=360;return a} -function SearchSunLongitude(a,b,c){VerifyNumber(a);VerifyNumber(c);b=MakeTime(b);c=b.AddDays(c);return Search(function(d){d=SunPosition(d);return LongitudeOffset(d.elon-a)},b,c)}exports.SearchSunLongitude=SearchSunLongitude;function LongitudeFromSun(a,b){if(a===Body.Earth)throw"The Earth does not have a longitude as seen from itself.";b=MakeTime(b);a=GeoVector(a,b,!1);a=Ecliptic(a.x,a.y,a.z);b=GeoVector(Body.Sun,b,!1);b=Ecliptic(b.x,b.y,b.z);return NormalizeLongitude(a.elon-b.elon)} -exports.LongitudeFromSun=LongitudeFromSun;function AngleFromSun(a,b){if(a==Body.Earth)throw"The Earth does not have an angle as seen from itself.";var c=GeoVector(Body.Sun,b,!0);a=GeoVector(a,b,!0);return AngleBetween(c,a)}exports.AngleFromSun=AngleFromSun;function EclipticLongitude(a,b){if(a===Body.Sun)throw"Cannot calculate heliocentric longitude of the Sun.";a=HelioVector(a,b);return Ecliptic(a.x,a.y,a.z).elon}exports.EclipticLongitude=EclipticLongitude; +function SearchSunLongitude(a,b,c){VerifyNumber(a);VerifyNumber(c);b=MakeTime(b);c=b.AddDays(c);return Search(function(d){d=SunPosition(d);return LongitudeOffset(d.elon-a)},b,c)}exports.SearchSunLongitude=SearchSunLongitude;function LongitudeFromSun(a,b){if(a===Body.Earth)throw"The Earth does not have a longitude as seen from itself.";b=MakeTime(b);a=GeoVector(a,b,!1);a=Ecliptic(a);b=GeoVector(Body.Sun,b,!1);b=Ecliptic(b);return NormalizeLongitude(a.elon-b.elon)}exports.LongitudeFromSun=LongitudeFromSun; +function AngleFromSun(a,b){if(a==Body.Earth)throw"The Earth does not have an angle as seen from itself.";var c=GeoVector(Body.Sun,b,!0);a=GeoVector(a,b,!0);return AngleBetween(c,a)}exports.AngleFromSun=AngleFromSun;function EclipticLongitude(a,b){if(a===Body.Sun)throw"Cannot calculate heliocentric longitude of the Sun.";a=HelioVector(a,b);return Ecliptic(a).elon}exports.EclipticLongitude=EclipticLongitude; function VisualMagnitude(a,b,c,d){var e=0,f=0,g=0;switch(a){case Body.Mercury:a=-.6;e=4.98;f=-4.88;g=3.02;break;case Body.Venus:163.6>b?(a=-4.47,e=1.03,f=.57,g=.13):(a=.98,e=-1.02);break;case Body.Mars:a=-1.52;e=1.6;break;case Body.Jupiter:a=-9.4;e=.5;break;case Body.Uranus:a=-7.19;e=.25;break;case Body.Neptune:a=-6.87;break;case Body.Pluto:a=-1;e=4;break;default:throw"VisualMagnitude: unsupported body "+a;}b/=100;return a+b*(e+b*(f+b*g))+5*Math.log10(c*d)} -function SaturnMagnitude(a,b,c,d,e){d=Ecliptic(d.x,d.y,d.z);var f=28.06*DEG2RAD,g=DEG2RAD*d.elat;e=Math.asin(Math.sin(g)*Math.cos(f)-Math.cos(g)*Math.sin(f)*Math.sin(DEG2RAD*d.elon-DEG2RAD*(169.51+3.82E-5*e.tt)));d=Math.sin(Math.abs(e));a=-9+.044*a+d*(-2.6+1.2*d)+5*Math.log10(b*c);return{mag:a,ring_tilt:RAD2DEG*e}}function MoonMagnitude(a,b,c){a*=DEG2RAD;var d=a*a;a=-12.717+1.49*Math.abs(a)+.0431*d*d;return a+=5*Math.log10(c/(385000.6/KM_PER_AU)*b)} +function SaturnMagnitude(a,b,c,d,e){d=Ecliptic(d);var f=28.06*DEG2RAD,g=DEG2RAD*d.elat;e=Math.asin(Math.sin(g)*Math.cos(f)-Math.cos(g)*Math.sin(f)*Math.sin(DEG2RAD*d.elon-DEG2RAD*(169.51+3.82E-5*e.tt)));d=Math.sin(Math.abs(e));a=-9+.044*a+d*(-2.6+1.2*d)+5*Math.log10(b*c);return{mag:a,ring_tilt:RAD2DEG*e}}function MoonMagnitude(a,b,c){a*=DEG2RAD;var d=a*a;a=-12.717+1.49*Math.abs(a)+.0431*d*d;return a+=5*Math.log10(c/(385000.6/KM_PER_AU)*b)} var IlluminationInfo=function(a,b,c,d,e,f,g,k){this.time=a;this.mag=b;this.phase_angle=c;this.helio_dist=d;this.geo_dist=e;this.gc=f;this.hc=g;this.ring_tilt=k;this.phase_fraction=(1+Math.cos(DEG2RAD*c))/2};exports.IlluminationInfo=IlluminationInfo; function Illumination(a,b){if(a===Body.Earth)throw"The illumination of the Earth is not defined.";var c=MakeTime(b),d=CalcVsop(vsop.Earth,c);if(a===Body.Sun){var e=new Vector(-d.x,-d.y,-d.z,c);b=new Vector(0,0,0,c);d=0}else a===Body.Moon?(e=GeoMoon(c),b=new Vector(d.x+e.x,d.y+e.y,d.z+e.z,c)):(b=HelioVector(a,b),e=new Vector(b.x-d.x,b.y-d.y,b.z-d.z,c)),d=AngleBetween(e,b);var f=e.Length(),g=b.Length();if(a===Body.Sun)a=SUN_MAG_1AU+5*Math.log10(f);else if(a===Body.Moon)a=MoonMagnitude(d,g,f);else if(a=== Body.Saturn){var k=SaturnMagnitude(d,g,f,e,c);a=k.mag;k=k.ring_tilt}else a=VisualMagnitude(a,d,g,f);return new IlluminationInfo(c,a,d,g,f,e,b,k)}exports.Illumination=Illumination;function SynodicPeriod(a){if(a===Body.Earth)throw"The Earth does not have a synodic period as seen from itself.";if(a===Body.Moon)return MEAN_SYNODIC_MONTH;var b=Planet[a];if(!b)throw"Not a valid planet name: "+a;a=Planet.Earth.OrbitalPeriod;return Math.abs(a/(a/b.OrbitalPeriod-1))} diff --git a/source/js/astronomy.ts b/source/js/astronomy.ts index 149f3125..133f9dd5 100644 --- a/source/js/astronomy.ts +++ b/source/js/astronomy.ts @@ -1946,18 +1946,12 @@ export class HorizontalCoordinates { * astronomical units (AU) * and spherical coordinates `(elon, elat)` measured in degrees. * - * @property {number} ex - * The Cartesian x-coordinate of the body in astronomical units (AU). + * @property {Vector} vec + * Ecliptic cartesian vector with components measured in astronomical units (AU). * The x-axis is within the ecliptic plane and is oriented in the direction of the * equinox. - * - * @property {number} ey - * The Cartesian y-coordinate of the body in astronomical units (AU). * The y-axis is within the ecliptic plane and is oriented 90 degrees * counterclockwise from the equinox, as seen from above the Sun's north pole. - * - * @property {number} ez - * The Cartesian z-coordinate of the body in astronomical units (AU). * The z-axis is oriented perpendicular to the ecliptic plane, * along the direction of the Sun's north pole. * @@ -1976,16 +1970,12 @@ export class HorizontalCoordinates { * up to 360 degrees. */ export class EclipticCoordinates { - ex: number; - ey: number; - ez: number; + vec: Vector; elat: number; elon: number; - constructor(ex: number, ey: number, ez: number, elat: number, elon: number) { - this.ex = VerifyNumber(ex); - this.ey = VerifyNumber(ey); - this.ez = VerifyNumber(ez); + constructor(vec: Vector, elat: number, elon: number) { + this.vec = vec; this.elat = VerifyNumber(elat); this.elon = VerifyNumber(elon); } @@ -2266,7 +2256,8 @@ export function SunPosition(date: FlexibleDateTime): EclipticCoordinates { const cos_ob = Math.cos(true_obliq); const sin_ob = Math.sin(true_obliq); - const sun_ecliptic = RotateEquatorialToEcliptic(gx, gy, gz, cos_ob, sin_ob); + const vec = new Vector(gx, gy, gz, time); + const sun_ecliptic = RotateEquatorialToEcliptic(vec, cos_ob, sin_ob); return sun_ecliptic; } @@ -2331,11 +2322,11 @@ export function Equator(body: Body, date: FlexibleDateTime, observer: Observer, return vector2radec(datevect, time); } -function RotateEquatorialToEcliptic(gx: number, gy: number, gz: number, cos_ob: number, sin_ob: number): EclipticCoordinates { +function RotateEquatorialToEcliptic(equ: Vector, cos_ob: number, sin_ob: number): EclipticCoordinates { // Rotate equatorial vector to obtain ecliptic vector. - const ex = gx; - const ey = gy*cos_ob + gz*sin_ob; - const ez = -gy*sin_ob + gz*cos_ob; + const ex = equ.x; + const ey = equ.y*cos_ob + equ.z*sin_ob; + const ez = -equ.y*sin_ob + equ.z*cos_ob; const xyproj = Math.sqrt(ex*ex + ey*ey); let elon = 0; @@ -2344,7 +2335,8 @@ function RotateEquatorialToEcliptic(gx: number, gy: number, gz: number, cos_ob: if (elon < 0) elon += 360; } let elat = RAD2DEG * Math.atan2(ez, xyproj); - return new EclipticCoordinates(ex, ey, ez, elat, elon); + let ecl = new Vector(ex, ey, ez, equ.t); + return new EclipticCoordinates(ecl, elat, elon); } /** @@ -2352,21 +2344,14 @@ function RotateEquatorialToEcliptic(gx: number, gy: number, gz: number, cos_ob: * * Given J2000 equatorial Cartesian coordinates, * returns J2000 ecliptic latitude, longitude, and cartesian coordinates. - * You can call {@link GeoVector} and use its (x, y, z) return values - * to pass into this function. + * You can call {@link GeoVector} and pass the resulting vector to this function. * - * @param {number} gx - * The x-coordinate of a 3D vector in the J2000 equatorial coordinate system. - * - * @param {number} gy - * The y-coordinate of a 3D vector in the J2000 equatorial coordinate system. - * - * @param {number} gz - * The z-coordinate of a 3D vector in the J2000 equatorial coordinate system. + * @param {Vector} equ + * A vector in the J2000 equatorial coordinate system. * * @returns {EclipticCoordinates} */ -export function Ecliptic(gx: number, gy: number, gz: number): EclipticCoordinates { +export function Ecliptic(equ: Vector): EclipticCoordinates { // Based on NOVAS functions equ2ecl() and equ2ecl_vec(). if (ob2000 === undefined) { // Lazy-evaluate and keep the mean obliquity of the ecliptic at J2000. @@ -2375,12 +2360,7 @@ export function Ecliptic(gx: number, gy: number, gz: number): EclipticCoordinate cos_ob2000 = Math.cos(ob2000); sin_ob2000 = Math.sin(ob2000); } - - VerifyNumber(gx); - VerifyNumber(gy); - VerifyNumber(gz); - - return RotateEquatorialToEcliptic(gx, gy, gz, cos_ob2000, sin_ob2000); + return RotateEquatorialToEcliptic(equ, cos_ob2000, sin_ob2000); } /** @@ -3371,11 +3351,11 @@ export function LongitudeFromSun(body: Body, date: FlexibleDateTime): number { throw 'The Earth does not have a longitude as seen from itself.'; const t = MakeTime(date); - let gb = GeoVector(body, t, false); - const eb = Ecliptic(gb.x, gb.y, gb.z); + const gb = GeoVector(body, t, false); + const eb = Ecliptic(gb); - let gs = GeoVector(Body.Sun, t, false); - const es = Ecliptic(gs.x, gs.y, gs.z); + const gs = GeoVector(Body.Sun, t, false); + const es = Ecliptic(gs); return NormalizeLongitude(eb.elon - es.elon); } @@ -3430,8 +3410,8 @@ export function EclipticLongitude(body: Body, date: FlexibleDateTime): number { if (body === Body.Sun) throw 'Cannot calculate heliocentric longitude of the Sun.'; - let hv = HelioVector(body, date); - let eclip = Ecliptic(hv.x, hv.y, hv.z); + const hv = HelioVector(body, date); + const eclip = Ecliptic(hv); return eclip.elon; } @@ -3467,7 +3447,7 @@ function SaturnMagnitude(phase: number, helio_dist: number, geo_dist: number, gc // We must handle Saturn's rings as a major component of its visual magnitude. // Find geocentric ecliptic coordinates of Saturn. - const eclip = Ecliptic(gc.x, gc.y, gc.z); + const eclip = Ecliptic(gc); const ir = DEG2RAD * 28.06; // tilt of Saturn's rings to the ecliptic, in radians const Nr = DEG2RAD * (169.51 + (3.82e-5 * time.tt)); // ascending node of Saturn's rings, in radians diff --git a/source/js/esm/astronomy.js b/source/js/esm/astronomy.js index 39eef890..ed0d65c5 100644 --- a/source/js/esm/astronomy.js +++ b/source/js/esm/astronomy.js @@ -1801,18 +1801,12 @@ export class HorizontalCoordinates { * astronomical units (AU) * and spherical coordinates `(elon, elat)` measured in degrees. * - * @property {number} ex - * The Cartesian x-coordinate of the body in astronomical units (AU). + * @property {Vector} vec + * Ecliptic cartesian vector with components measured in astronomical units (AU). * The x-axis is within the ecliptic plane and is oriented in the direction of the * equinox. - * - * @property {number} ey - * The Cartesian y-coordinate of the body in astronomical units (AU). * The y-axis is within the ecliptic plane and is oriented 90 degrees * counterclockwise from the equinox, as seen from above the Sun's north pole. - * - * @property {number} ez - * The Cartesian z-coordinate of the body in astronomical units (AU). * The z-axis is oriented perpendicular to the ecliptic plane, * along the direction of the Sun's north pole. * @@ -1831,10 +1825,8 @@ export class HorizontalCoordinates { * up to 360 degrees. */ export class EclipticCoordinates { - constructor(ex, ey, ez, elat, elon) { - this.ex = VerifyNumber(ex); - this.ey = VerifyNumber(ey); - this.ez = VerifyNumber(ez); + constructor(vec, elat, elon) { + this.vec = vec; this.elat = VerifyNumber(elat); this.elon = VerifyNumber(elon); } @@ -2087,7 +2079,8 @@ export function SunPosition(date) { const true_obliq = DEG2RAD * e_tilt(time).tobl; const cos_ob = Math.cos(true_obliq); const sin_ob = Math.sin(true_obliq); - const sun_ecliptic = RotateEquatorialToEcliptic(gx, gy, gz, cos_ob, sin_ob); + const vec = new Vector(gx, gy, gz, time); + const sun_ecliptic = RotateEquatorialToEcliptic(vec, cos_ob, sin_ob); return sun_ecliptic; } /** @@ -2148,11 +2141,11 @@ export function Equator(body, date, observer, ofdate, aberration) { const datevect = nutation(time, 0, temp); return vector2radec(datevect, time); } -function RotateEquatorialToEcliptic(gx, gy, gz, cos_ob, sin_ob) { +function RotateEquatorialToEcliptic(equ, cos_ob, sin_ob) { // Rotate equatorial vector to obtain ecliptic vector. - const ex = gx; - const ey = gy * cos_ob + gz * sin_ob; - const ez = -gy * sin_ob + gz * cos_ob; + const ex = equ.x; + const ey = equ.y * cos_ob + equ.z * sin_ob; + const ez = -equ.y * sin_ob + equ.z * cos_ob; const xyproj = Math.sqrt(ex * ex + ey * ey); let elon = 0; if (xyproj > 0) { @@ -2161,28 +2154,22 @@ function RotateEquatorialToEcliptic(gx, gy, gz, cos_ob, sin_ob) { elon += 360; } let elat = RAD2DEG * Math.atan2(ez, xyproj); - return new EclipticCoordinates(ex, ey, ez, elat, elon); + let ecl = new Vector(ex, ey, ez, equ.t); + return new EclipticCoordinates(ecl, elat, elon); } /** * @brief Converts equatorial Cartesian coordinates to ecliptic Cartesian and angular coordinates. * * Given J2000 equatorial Cartesian coordinates, * returns J2000 ecliptic latitude, longitude, and cartesian coordinates. - * You can call {@link GeoVector} and use its (x, y, z) return values - * to pass into this function. + * You can call {@link GeoVector} and pass the resulting vector to this function. * - * @param {number} gx - * The x-coordinate of a 3D vector in the J2000 equatorial coordinate system. - * - * @param {number} gy - * The y-coordinate of a 3D vector in the J2000 equatorial coordinate system. - * - * @param {number} gz - * The z-coordinate of a 3D vector in the J2000 equatorial coordinate system. + * @param {Vector} equ + * A vector in the J2000 equatorial coordinate system. * * @returns {EclipticCoordinates} */ -export function Ecliptic(gx, gy, gz) { +export function Ecliptic(equ) { // Based on NOVAS functions equ2ecl() and equ2ecl_vec(). if (ob2000 === undefined) { // Lazy-evaluate and keep the mean obliquity of the ecliptic at J2000. @@ -2191,10 +2178,7 @@ export function Ecliptic(gx, gy, gz) { cos_ob2000 = Math.cos(ob2000); sin_ob2000 = Math.sin(ob2000); } - VerifyNumber(gx); - VerifyNumber(gy); - VerifyNumber(gz); - return RotateEquatorialToEcliptic(gx, gy, gz, cos_ob2000, sin_ob2000); + return RotateEquatorialToEcliptic(equ, cos_ob2000, sin_ob2000); } /** * @brief Calculates the geocentric Cartesian coordinates for the Moon in the J2000 equatorial system. @@ -3050,10 +3034,10 @@ export function LongitudeFromSun(body, date) { if (body === Body.Earth) throw 'The Earth does not have a longitude as seen from itself.'; const t = MakeTime(date); - let gb = GeoVector(body, t, false); - const eb = Ecliptic(gb.x, gb.y, gb.z); - let gs = GeoVector(Body.Sun, t, false); - const es = Ecliptic(gs.x, gs.y, gs.z); + const gb = GeoVector(body, t, false); + const eb = Ecliptic(gb); + const gs = GeoVector(Body.Sun, t, false); + const es = Ecliptic(gs); return NormalizeLongitude(eb.elon - es.elon); } /** @@ -3103,8 +3087,8 @@ export function AngleFromSun(body, date) { export function EclipticLongitude(body, date) { if (body === Body.Sun) throw 'Cannot calculate heliocentric longitude of the Sun.'; - let hv = HelioVector(body, date); - let eclip = Ecliptic(hv.x, hv.y, hv.z); + const hv = HelioVector(body, date); + const eclip = Ecliptic(hv); return eclip.elon; } function VisualMagnitude(body, phase, helio_dist, geo_dist) { @@ -3160,7 +3144,7 @@ function SaturnMagnitude(phase, helio_dist, geo_dist, gc, time) { // http://www.stjarnhimlen.se/comp/ppcomp.html#15 // We must handle Saturn's rings as a major component of its visual magnitude. // Find geocentric ecliptic coordinates of Saturn. - const eclip = Ecliptic(gc.x, gc.y, gc.z); + const eclip = Ecliptic(gc); const ir = DEG2RAD * 28.06; // tilt of Saturn's rings to the ecliptic, in radians const Nr = DEG2RAD * (169.51 + (3.82e-5 * time.tt)); // ascending node of Saturn's rings, in radians // Find tilt of Saturn's rings, as seen from Earth. diff --git a/source/python/README.md b/source/python/README.md index b5d3b5a4..a2faf376 100644 --- a/source/python/README.md +++ b/source/python/README.md @@ -224,9 +224,7 @@ oriented with respect to the plane of the Earth's orbit around the Sun (the ecli | Type | Attribute | Description | | --- | --- | --- | -| `float` | `ex` | Cartesian x-coordinate: in the direction of the equinox along the ecliptic plane. | -| `float` | `ey` | Cartesian y-coordinate: in the ecliptic plane 90 degrees prograde from the equinox. | -| `float` | `ez` | Cartesian z-coordinate: perpendicular to the ecliptic plane. Positive is north. | +| [`Vector`](#Vector) | `vec` | Ecliptic cartesian vector with the following components: x: in the direction of the equinox along the ecliptic plane. y: Cartesian y-coordinate: in the ecliptic plane 90 degrees prograde from the equinox. z: Cartesian z-coordinate: perpendicular to the ecliptic plane. Positive is north. | | `float` | `elat` | Latitude in degrees north (positive) or south (negative) of the ecliptic plane. | | `float` | `elon` | Longitude in degrees around the ecliptic plane prograde from the equinox. | diff --git a/source/python/astronomy.py b/source/python/astronomy.py index 8a0c7d1d..e80ecc54 100644 --- a/source/python/astronomy.py +++ b/source/python/astronomy.py @@ -4082,25 +4082,22 @@ class EclipticCoordinates: Attributes ---------- - ex : float - Cartesian x-coordinate: in the direction of the equinox along the ecliptic plane. - ey : float - Cartesian y-coordinate: in the ecliptic plane 90 degrees prograde from the equinox. - ez : float - Cartesian z-coordinate: perpendicular to the ecliptic plane. Positive is north. + vec : Vector + Ecliptic cartesian vector with the following components: + x: in the direction of the equinox along the ecliptic plane. + y: Cartesian y-coordinate: in the ecliptic plane 90 degrees prograde from the equinox. + z: Cartesian z-coordinate: perpendicular to the ecliptic plane. Positive is north. elat : float Latitude in degrees north (positive) or south (negative) of the ecliptic plane. elon : float Longitude in degrees around the ecliptic plane prograde from the equinox. """ - def __init__(self, ex, ey, ez, elat, elon): - self.ex = ex - self.ey = ey - self.ez = ez + def __init__(self, vec, elat, elon): + self.vec = vec self.elat = elat self.elon = elon -def _RotateEquatorialToEcliptic(pos, obliq_radians): +def _RotateEquatorialToEcliptic(pos, obliq_radians, time): cos_ob = math.cos(obliq_radians) sin_ob = math.sin(obliq_radians) ex = +pos[0] @@ -4114,7 +4111,8 @@ def _RotateEquatorialToEcliptic(pos, obliq_radians): else: elon = 0.0 elat = math.degrees(math.atan2(ez, xyproj)) - return EclipticCoordinates(ex, ey, ez, elat, elon) + vec = Vector(ex, ey, ez, time) + return EclipticCoordinates(vec, elat, elon) def SunPosition(time): """Calculates geocentric ecliptic coordinates for the Sun. @@ -4156,7 +4154,7 @@ def SunPosition(time): # Convert equatorial coordinates to ecliptic coordinates. true_obliq = math.radians(adjusted_time._etilt().tobl) - return _RotateEquatorialToEcliptic(sun_ofdate, true_obliq) + return _RotateEquatorialToEcliptic(sun_ofdate, true_obliq, time) def Ecliptic(equ): """Converts J2000 equatorial Cartesian coordinates to J2000 ecliptic coordinates. @@ -4177,7 +4175,7 @@ def Ecliptic(equ): """ # Based on NOVAS functions equ2ecl() and equ2ecl_vec(). ob2000 = 0.40909260059599012 # mean obliquity of the J2000 ecliptic in radians - return _RotateEquatorialToEcliptic([equ.x, equ.y, equ.z], ob2000) + return _RotateEquatorialToEcliptic([equ.x, equ.y, equ.z], ob2000, equ.t) def EclipticLongitude(body, time): """Calculates heliocentric ecliptic longitude of a body based on the J2000 equinox. diff --git a/website/src/assets/documentation.json b/website/src/assets/documentation.json index 9db1fd89..f94d568f 100644 --- a/website/src/assets/documentation.json +++ b/website/src/assets/documentation.json @@ -19501,23 +19501,21 @@ "scope": "global" }, { - "comment": "/**\n * @brief Ecliptic coordinates of a celestial body.\n *\n * The origin and date of the coordinate system may vary depending on the caller's usage.\n * In general, ecliptic coordinates are measured with respect to the mean plane of the Earth's\n * orbit around the Sun.\n * Includes Cartesian coordinates `(ex, ey, ez)` measured in\n * astronomical units (AU)\n * and spherical coordinates `(elon, elat)` measured in degrees.\n *\n * @property {number} ex\n * The Cartesian x-coordinate of the body in astronomical units (AU).\n * The x-axis is within the ecliptic plane and is oriented in the direction of the\n * equinox.\n *\n * @property {number} ey\n * The Cartesian y-coordinate of the body in astronomical units (AU).\n * The y-axis is within the ecliptic plane and is oriented 90 degrees\n * counterclockwise from the equinox, as seen from above the Sun's north pole.\n *\n * @property {number} ez\n * The Cartesian z-coordinate of the body in astronomical units (AU).\n * The z-axis is oriented perpendicular to the ecliptic plane,\n * along the direction of the Sun's north pole.\n *\n * @property {number} elat\n * The ecliptic latitude of the body in degrees.\n * This is the angle north or south of the ecliptic plane.\n * The value is in the range [-90, +90].\n * Positive values are north and negative values are south.\n *\n * @property {number} elon\n * The ecliptic longitude of the body in degrees.\n * This is the angle measured counterclockwise around the ecliptic plane,\n * as seen from above the Sun's north pole.\n * This is the same direction that the Earth orbits around the Sun.\n * The angle is measured starting at 0 from the equinox and increases\n * up to 360 degrees.\n */", + "comment": "/**\n * @brief Ecliptic coordinates of a celestial body.\n *\n * The origin and date of the coordinate system may vary depending on the caller's usage.\n * In general, ecliptic coordinates are measured with respect to the mean plane of the Earth's\n * orbit around the Sun.\n * Includes Cartesian coordinates `(ex, ey, ez)` measured in\n * astronomical units (AU)\n * and spherical coordinates `(elon, elat)` measured in degrees.\n *\n * @property {Vector} vec\n * Ecliptic cartesian vector with components measured in astronomical units (AU).\n * The x-axis is within the ecliptic plane and is oriented in the direction of the\n * equinox.\n * The y-axis is within the ecliptic plane and is oriented 90 degrees\n * counterclockwise from the equinox, as seen from above the Sun's north pole.\n * The z-axis is oriented perpendicular to the ecliptic plane,\n * along the direction of the Sun's north pole.\n *\n * @property {number} elat\n * The ecliptic latitude of the body in degrees.\n * This is the angle north or south of the ecliptic plane.\n * The value is in the range [-90, +90].\n * Positive values are north and negative values are south.\n *\n * @property {number} elon\n * The ecliptic longitude of the body in degrees.\n * This is the angle measured counterclockwise around the ecliptic plane,\n * as seen from above the Sun's north pole.\n * This is the same direction that the Earth orbits around the Sun.\n * The angle is measured starting at 0 from the equinox and increases\n * up to 360 degrees.\n */", "meta": { "range": [ - 83941, - 84206 + 83748, + 83922 ], "filename": "astronomy.js", - "lineno": 1848, + "lineno": 1842, "columnno": 0, "code": { "id": "astnode100009986", "name": "EclipticCoordinates", "type": "ClassDeclaration", "paramnames": [ - "ex", - "ey", - "ez", + "vec", "elat", "elon" ] @@ -19535,29 +19533,11 @@ { "type": { "names": [ - "number" + "Vector" ] }, - "description": "The Cartesian x-coordinate of the body in astronomical units (AU).\n The x-axis is within the ecliptic plane and is oriented in the direction of the\n equinox.", - "name": "ex" - }, - { - "type": { - "names": [ - "number" - ] - }, - "description": "The Cartesian y-coordinate of the body in astronomical units (AU).\n The y-axis is within the ecliptic plane and is oriented 90 degrees\n counterclockwise from the equinox, as seen from above the Sun's north pole.", - "name": "ey" - }, - { - "type": { - "names": [ - "number" - ] - }, - "description": "The Cartesian z-coordinate of the body in astronomical units (AU).\n The z-axis is oriented perpendicular to the ecliptic plane,\n along the direction of the Sun's north pole.", - "name": "ez" + "description": "Ecliptic cartesian vector with components measured in astronomical units (AU).\n The x-axis is within the ecliptic plane and is oriented in the direction of the\n equinox.\n The y-axis is within the ecliptic plane and is oriented 90 degrees\n counterclockwise from the equinox, as seen from above the Sun's north pole.\n The z-axis is oriented perpendicular to the ecliptic plane,\n along the direction of the Sun's north pole.", + "name": "vec" }, { "type": { @@ -19588,20 +19568,18 @@ "comment": "", "meta": { "range": [ - 83973, - 84204 + 83780, + 83920 ], "filename": "astronomy.js", - "lineno": 1849, + "lineno": 1843, "columnno": 4, "code": { "id": "astnode100009989", "name": "EclipticCoordinates", "type": "MethodDefinition", "paramnames": [ - "ex", - "ey", - "ez", + "vec", "elat", "elon" ] @@ -19618,23 +19596,21 @@ "params": [] }, { - "comment": "/**\n * @brief Ecliptic coordinates of a celestial body.\n *\n * The origin and date of the coordinate system may vary depending on the caller's usage.\n * In general, ecliptic coordinates are measured with respect to the mean plane of the Earth's\n * orbit around the Sun.\n * Includes Cartesian coordinates `(ex, ey, ez)` measured in\n * astronomical units (AU)\n * and spherical coordinates `(elon, elat)` measured in degrees.\n *\n * @property {number} ex\n * The Cartesian x-coordinate of the body in astronomical units (AU).\n * The x-axis is within the ecliptic plane and is oriented in the direction of the\n * equinox.\n *\n * @property {number} ey\n * The Cartesian y-coordinate of the body in astronomical units (AU).\n * The y-axis is within the ecliptic plane and is oriented 90 degrees\n * counterclockwise from the equinox, as seen from above the Sun's north pole.\n *\n * @property {number} ez\n * The Cartesian z-coordinate of the body in astronomical units (AU).\n * The z-axis is oriented perpendicular to the ecliptic plane,\n * along the direction of the Sun's north pole.\n *\n * @property {number} elat\n * The ecliptic latitude of the body in degrees.\n * This is the angle north or south of the ecliptic plane.\n * The value is in the range [-90, +90].\n * Positive values are north and negative values are south.\n *\n * @property {number} elon\n * The ecliptic longitude of the body in degrees.\n * This is the angle measured counterclockwise around the ecliptic plane,\n * as seen from above the Sun's north pole.\n * This is the same direction that the Earth orbits around the Sun.\n * The angle is measured starting at 0 from the equinox and increases\n * up to 360 degrees.\n */", + "comment": "/**\n * @brief Ecliptic coordinates of a celestial body.\n *\n * The origin and date of the coordinate system may vary depending on the caller's usage.\n * In general, ecliptic coordinates are measured with respect to the mean plane of the Earth's\n * orbit around the Sun.\n * Includes Cartesian coordinates `(ex, ey, ez)` measured in\n * astronomical units (AU)\n * and spherical coordinates `(elon, elat)` measured in degrees.\n *\n * @property {Vector} vec\n * Ecliptic cartesian vector with components measured in astronomical units (AU).\n * The x-axis is within the ecliptic plane and is oriented in the direction of the\n * equinox.\n * The y-axis is within the ecliptic plane and is oriented 90 degrees\n * counterclockwise from the equinox, as seen from above the Sun's north pole.\n * The z-axis is oriented perpendicular to the ecliptic plane,\n * along the direction of the Sun's north pole.\n *\n * @property {number} elat\n * The ecliptic latitude of the body in degrees.\n * This is the angle north or south of the ecliptic plane.\n * The value is in the range [-90, +90].\n * Positive values are north and negative values are south.\n *\n * @property {number} elon\n * The ecliptic longitude of the body in degrees.\n * This is the angle measured counterclockwise around the ecliptic plane,\n * as seen from above the Sun's north pole.\n * This is the same direction that the Earth orbits around the Sun.\n * The angle is measured starting at 0 from the equinox and increases\n * up to 360 degrees.\n */", "meta": { "range": [ - 83941, - 84206 + 83748, + 83922 ], "filename": "astronomy.js", - "lineno": 1848, + "lineno": 1842, "columnno": 0, "code": { "id": "astnode100009986", "name": "EclipticCoordinates", "type": "ClassDeclaration", "paramnames": [ - "ex", - "ey", - "ez", + "vec", "elat", "elon" ] @@ -19656,29 +19632,11 @@ { "type": { "names": [ - "number" + "Vector" ] }, - "description": "The Cartesian x-coordinate of the body in astronomical units (AU).\n The x-axis is within the ecliptic plane and is oriented in the direction of the\n equinox.", - "name": "ex" - }, - { - "type": { - "names": [ - "number" - ] - }, - "description": "The Cartesian y-coordinate of the body in astronomical units (AU).\n The y-axis is within the ecliptic plane and is oriented 90 degrees\n counterclockwise from the equinox, as seen from above the Sun's north pole.", - "name": "ey" - }, - { - "type": { - "names": [ - "number" - ] - }, - "description": "The Cartesian z-coordinate of the body in astronomical units (AU).\n The z-axis is oriented perpendicular to the ecliptic plane,\n along the direction of the Sun's north pole.", - "name": "ez" + "description": "Ecliptic cartesian vector with components measured in astronomical units (AU).\n The x-axis is within the ecliptic plane and is oriented in the direction of the\n equinox.\n The y-axis is within the ecliptic plane and is oriented 90 degrees\n counterclockwise from the equinox, as seen from above the Sun's north pole.\n The z-axis is oriented perpendicular to the ecliptic plane,\n along the direction of the Sun's north pole.", + "name": "vec" }, { "type": { @@ -19704,23 +19662,23 @@ "comment": "", "meta": { "range": [ - 84019, - 84045 + 83819, + 83833 ], "filename": "astronomy.js", - "lineno": 1850, + "lineno": 1844, "columnno": 8, "code": { - "id": "astnode100009999", - "name": "this.ex", - "type": "CallExpression", - "value": "", + "id": "astnode100009997", + "name": "this.vec", + "type": "Identifier", + "value": "vec", "paramnames": [] } }, "undocumented": true, - "name": "ex", - "longname": "EclipticCoordinates#ex", + "name": "vec", + "longname": "EclipticCoordinates#vec", "kind": "member", "memberof": "EclipticCoordinates", "scope": "instance" @@ -19729,64 +19687,14 @@ "comment": "", "meta": { "range": [ - 84055, - 84081 + 83843, + 83873 ], "filename": "astronomy.js", - "lineno": 1851, + "lineno": 1845, "columnno": 8, "code": { - "id": "astnode100010007", - "name": "this.ey", - "type": "CallExpression", - "value": "", - "paramnames": [] - } - }, - "undocumented": true, - "name": "ey", - "longname": "EclipticCoordinates#ey", - "kind": "member", - "memberof": "EclipticCoordinates", - "scope": "instance" - }, - { - "comment": "", - "meta": { - "range": [ - 84091, - 84117 - ], - "filename": "astronomy.js", - "lineno": 1852, - "columnno": 8, - "code": { - "id": "astnode100010015", - "name": "this.ez", - "type": "CallExpression", - "value": "", - "paramnames": [] - } - }, - "undocumented": true, - "name": "ez", - "longname": "EclipticCoordinates#ez", - "kind": "member", - "memberof": "EclipticCoordinates", - "scope": "instance" - }, - { - "comment": "", - "meta": { - "range": [ - 84127, - 84157 - ], - "filename": "astronomy.js", - "lineno": 1853, - "columnno": 8, - "code": { - "id": "astnode100010023", + "id": "astnode100010003", "name": "this.elat", "type": "CallExpression", "value": "", @@ -19804,14 +19712,14 @@ "comment": "", "meta": { "range": [ - 84167, - 84197 + 83883, + 83913 ], "filename": "astronomy.js", - "lineno": 1854, + "lineno": 1846, "columnno": 8, "code": { - "id": "astnode100010031", + "id": "astnode100010011", "name": "this.elon", "type": "CallExpression", "value": "", @@ -19829,14 +19737,14 @@ "comment": "", "meta": { "range": [ - 84207, - 84256 + 83923, + 83972 ], "filename": "astronomy.js", - "lineno": 1857, + "lineno": 1849, "columnno": 0, "code": { - "id": "astnode100010039", + "id": "astnode100010019", "name": "exports.EclipticCoordinates", "type": "Identifier", "value": "EclipticCoordinates", @@ -19853,14 +19761,14 @@ "comment": "", "meta": { "range": [ - 84258, - 84922 + 83974, + 84638 ], "filename": "astronomy.js", - "lineno": 1858, + "lineno": 1850, "columnno": 0, "code": { - "id": "astnode100010044", + "id": "astnode100010024", "name": "vector2radec", "type": "FunctionDeclaration", "paramnames": [ @@ -19887,14 +19795,14 @@ "comment": "", "meta": { "range": [ - 84303, - 84349 + 84019, + 84065 ], "filename": "astronomy.js", - "lineno": 1859, + "lineno": 1851, "columnno": 10, "code": { - "id": "astnode100010050", + "id": "astnode100010030", "name": "vec", "type": "NewExpression", "value": "" @@ -19912,14 +19820,14 @@ "comment": "", "meta": { "range": [ - 84361, - 84399 + 84077, + 84115 ], "filename": "astronomy.js", - "lineno": 1860, + "lineno": 1852, "columnno": 10, "code": { - "id": "astnode100010065", + "id": "astnode100010045", "name": "xyproj", "type": "BinaryExpression", "value": "" @@ -19937,14 +19845,14 @@ "comment": "", "meta": { "range": [ - 84411, - 84451 + 84127, + 84167 ], "filename": "astronomy.js", - "lineno": 1861, + "lineno": 1853, "columnno": 10, "code": { - "id": "astnode100010083", + "id": "astnode100010063", "name": "dist", "type": "CallExpression", "value": "" @@ -19962,14 +19870,14 @@ "comment": "", "meta": { "range": [ - 84716, - 84762 + 84432, + 84478 ], "filename": "astronomy.js", - "lineno": 1869, + "lineno": 1861, "columnno": 8, "code": { - "id": "astnode100010134", + "id": "astnode100010114", "name": "ra", "type": "BinaryExpression", "value": "" @@ -19987,14 +19895,14 @@ "comment": "", "meta": { "range": [ - 84788, - 84796 + 84504, + 84512 ], "filename": "astronomy.js", - "lineno": 1871, + "lineno": 1863, "columnno": 8, "code": { - "id": "astnode100010155", + "id": "astnode100010135", "name": "ra", "type": "Literal", "funcscope": "vector2radec", @@ -20013,14 +19921,14 @@ "comment": "", "meta": { "range": [ - 84808, - 84861 + 84524, + 84577 ], "filename": "astronomy.js", - "lineno": 1872, + "lineno": 1864, "columnno": 10, "code": { - "id": "astnode100010159", + "id": "astnode100010139", "name": "dec", "type": "BinaryExpression", "value": "" @@ -20038,14 +19946,14 @@ "comment": "", "meta": { "range": [ - 84923, - 85415 + 84639, + 85131 ], "filename": "astronomy.js", - "lineno": 1875, + "lineno": 1867, "columnno": 0, "code": { - "id": "astnode100010182", + "id": "astnode100010162", "name": "spin", "type": "FunctionDeclaration", "paramnames": [ @@ -20079,14 +19987,14 @@ "comment": "", "meta": { "range": [ - 84962, - 84984 + 84678, + 84700 ], "filename": "astronomy.js", - "lineno": 1876, + "lineno": 1868, "columnno": 10, "code": { - "id": "astnode100010188", + "id": "astnode100010168", "name": "angr", "type": "BinaryExpression", "value": "" @@ -20104,14 +20012,14 @@ "comment": "", "meta": { "range": [ - 84996, - 85019 + 84712, + 84735 ], "filename": "astronomy.js", - "lineno": 1877, + "lineno": 1869, "columnno": 10, "code": { - "id": "astnode100010194", + "id": "astnode100010174", "name": "cosang", "type": "CallExpression", "value": "" @@ -20129,14 +20037,14 @@ "comment": "", "meta": { "range": [ - 85031, - 85054 + 84747, + 84770 ], "filename": "astronomy.js", - "lineno": 1878, + "lineno": 1870, "columnno": 10, "code": { - "id": "astnode100010202", + "id": "astnode100010182", "name": "sinang", "type": "CallExpression", "value": "" @@ -20154,14 +20062,14 @@ "comment": "", "meta": { "range": [ - 85066, - 85077 + 84782, + 84793 ], "filename": "astronomy.js", - "lineno": 1879, + "lineno": 1871, "columnno": 10, "code": { - "id": "astnode100010210", + "id": "astnode100010190", "name": "xx", "type": "Identifier", "value": "cosang" @@ -20179,14 +20087,14 @@ "comment": "", "meta": { "range": [ - 85089, - 85100 + 84805, + 84816 ], "filename": "astronomy.js", - "lineno": 1880, + "lineno": 1872, "columnno": 10, "code": { - "id": "astnode100010214", + "id": "astnode100010194", "name": "yx", "type": "Identifier", "value": "sinang" @@ -20204,14 +20112,14 @@ "comment": "", "meta": { "range": [ - 85112, - 85118 + 84828, + 84834 ], "filename": "astronomy.js", - "lineno": 1881, + "lineno": 1873, "columnno": 10, "code": { - "id": "astnode100010218", + "id": "astnode100010198", "name": "zx", "type": "Literal", "value": 0 @@ -20229,14 +20137,14 @@ "comment": "", "meta": { "range": [ - 85130, - 85142 + 84846, + 84858 ], "filename": "astronomy.js", - "lineno": 1882, + "lineno": 1874, "columnno": 10, "code": { - "id": "astnode100010222", + "id": "astnode100010202", "name": "xy", "type": "UnaryExpression", "value": "-sinang" @@ -20254,14 +20162,14 @@ "comment": "", "meta": { "range": [ - 85154, - 85165 + 84870, + 84881 ], "filename": "astronomy.js", - "lineno": 1883, + "lineno": 1875, "columnno": 10, "code": { - "id": "astnode100010227", + "id": "astnode100010207", "name": "yy", "type": "Identifier", "value": "cosang" @@ -20279,14 +20187,14 @@ "comment": "", "meta": { "range": [ - 85177, - 85183 + 84893, + 84899 ], "filename": "astronomy.js", - "lineno": 1884, + "lineno": 1876, "columnno": 10, "code": { - "id": "astnode100010231", + "id": "astnode100010211", "name": "zy", "type": "Literal", "value": 0 @@ -20304,14 +20212,14 @@ "comment": "", "meta": { "range": [ - 85195, - 85201 + 84911, + 84917 ], "filename": "astronomy.js", - "lineno": 1885, + "lineno": 1877, "columnno": 10, "code": { - "id": "astnode100010235", + "id": "astnode100010215", "name": "xz", "type": "Literal", "value": 0 @@ -20329,14 +20237,14 @@ "comment": "", "meta": { "range": [ - 85213, - 85219 + 84929, + 84935 ], "filename": "astronomy.js", - "lineno": 1886, + "lineno": 1878, "columnno": 10, "code": { - "id": "astnode100010239", + "id": "astnode100010219", "name": "yz", "type": "Literal", "value": 0 @@ -20354,14 +20262,14 @@ "comment": "", "meta": { "range": [ - 85231, - 85237 + 84947, + 84953 ], "filename": "astronomy.js", - "lineno": 1887, + "lineno": 1879, "columnno": 10, "code": { - "id": "astnode100010243", + "id": "astnode100010223", "name": "zz", "type": "Literal", "value": 1 @@ -20379,14 +20287,14 @@ "comment": "/**\n * @brief Converts equatorial coordinates to horizontal coordinates.\n *\n * Given a date and time, a geographic location of an observer on the Earth, and\n * equatorial coordinates (right ascension and declination) of a celestial body,\n * returns horizontal coordinates (azimuth and altitude angles) for that body\n * as seen by that observer. Allows optional correction for atmospheric refraction.\n *\n * @param {FlexibleDateTime} date\n * The date and time for which to find horizontal coordinates.\n *\n * @param {Observer} observer\n * The location of the observer for which to find horizontal coordinates.\n *\n * @param {number} ra\n * Right ascension in sidereal hours of the celestial object,\n * referred to the mean equinox of date for the J2000 epoch.\n *\n * @param {number} dec\n * Declination in degrees of the celestial object,\n * referred to the mean equator of date for the J2000 epoch.\n * Positive values are north of the celestial equator and negative values are south.\n *\n * @param {string} refraction\n * If omitted or has a false-like value (false, null, undefined, etc.)\n * the calculations are performed without any correction for atmospheric\n * refraction. If the value is the string `\"normal\"`,\n * uses the recommended refraction correction based on Meeus \"Astronomical Algorithms\"\n * with a linear taper more than 1 degree below the horizon. The linear\n * taper causes the refraction to linearly approach 0 as the altitude of the\n * body approaches the nadir (-90 degrees).\n * If the value is the string `\"jplhor\"`, uses a JPL Horizons\n * compatible formula. This is the same algorithm as `\"normal\"`,\n * only without linear tapering; this can result in physically impossible\n * altitudes of less than -90 degrees, which may cause problems for some applications.\n * (The `\"jplhor\"` option was created for unit testing against data\n * generated by JPL Horizons, and is otherwise not recommended for use.)\n *\n * @returns {HorizontalCoordinates}\n */", "meta": { "range": [ - 87477, - 91989 + 87193, + 91705 ], "filename": "astronomy.js", - "lineno": 1934, + "lineno": 1926, "columnno": 0, "code": { - "id": "astnode100010299", + "id": "astnode100010279", "name": "Horizon", "type": "FunctionDeclaration", "paramnames": [ @@ -20506,14 +20414,14 @@ "comment": "", "meta": { "range": [ - 87573, - 87594 + 87289, + 87310 ], "filename": "astronomy.js", - "lineno": 1936, + "lineno": 1928, "columnno": 8, "code": { - "id": "astnode100010308", + "id": "astnode100010288", "name": "time", "type": "CallExpression", "value": "" @@ -20531,14 +20439,14 @@ "comment": "", "meta": { "range": [ - 87681, - 87727 + 87397, + 87443 ], "filename": "astronomy.js", - "lineno": 1940, + "lineno": 1932, "columnno": 10, "code": { - "id": "astnode100010326", + "id": "astnode100010306", "name": "sinlat", "type": "CallExpression", "value": "" @@ -20556,14 +20464,14 @@ "comment": "", "meta": { "range": [ - 87739, - 87785 + 87455, + 87501 ], "filename": "astronomy.js", - "lineno": 1941, + "lineno": 1933, "columnno": 10, "code": { - "id": "astnode100010338", + "id": "astnode100010318", "name": "coslat", "type": "CallExpression", "value": "" @@ -20581,14 +20489,14 @@ "comment": "", "meta": { "range": [ - 87797, - 87844 + 87513, + 87560 ], "filename": "astronomy.js", - "lineno": 1942, + "lineno": 1934, "columnno": 10, "code": { - "id": "astnode100010350", + "id": "astnode100010330", "name": "sinlon", "type": "CallExpression", "value": "" @@ -20606,14 +20514,14 @@ "comment": "", "meta": { "range": [ - 87856, - 87903 + 87572, + 87619 ], "filename": "astronomy.js", - "lineno": 1943, + "lineno": 1935, "columnno": 10, "code": { - "id": "astnode100010362", + "id": "astnode100010342", "name": "coslon", "type": "CallExpression", "value": "" @@ -20631,14 +20539,14 @@ "comment": "", "meta": { "range": [ - 87915, - 87946 + 87631, + 87662 ], "filename": "astronomy.js", - "lineno": 1944, + "lineno": 1936, "columnno": 10, "code": { - "id": "astnode100010374", + "id": "astnode100010354", "name": "sindc", "type": "CallExpression", "value": "" @@ -20656,14 +20564,14 @@ "comment": "", "meta": { "range": [ - 87958, - 87989 + 87674, + 87705 ], "filename": "astronomy.js", - "lineno": 1945, + "lineno": 1937, "columnno": 10, "code": { - "id": "astnode100010384", + "id": "astnode100010364", "name": "cosdc", "type": "CallExpression", "value": "" @@ -20681,14 +20589,14 @@ "comment": "", "meta": { "range": [ - 88001, - 88036 + 87717, + 87752 ], "filename": "astronomy.js", - "lineno": 1946, + "lineno": 1938, "columnno": 10, "code": { - "id": "astnode100010394", + "id": "astnode100010374", "name": "sinra", "type": "CallExpression", "value": "" @@ -20706,14 +20614,14 @@ "comment": "", "meta": { "range": [ - 88048, - 88083 + 87764, + 87799 ], "filename": "astronomy.js", - "lineno": 1947, + "lineno": 1939, "columnno": 10, "code": { - "id": "astnode100010406", + "id": "astnode100010386", "name": "cosra", "type": "CallExpression", "value": "" @@ -20731,14 +20639,14 @@ "comment": "", "meta": { "range": [ - 88834, - 88882 + 88550, + 88598 ], "filename": "astronomy.js", - "lineno": 1961, + "lineno": 1953, "columnno": 8, "code": { - "id": "astnode100010418", + "id": "astnode100010398", "name": "uze", "type": "ArrayExpression", "value": "[\"\",\"\",\"sinlat\"]" @@ -20756,14 +20664,14 @@ "comment": "", "meta": { "range": [ - 88892, - 88942 + 88608, + 88658 ], "filename": "astronomy.js", - "lineno": 1962, + "lineno": 1954, "columnno": 8, "code": { - "id": "astnode100010429", + "id": "astnode100010409", "name": "une", "type": "ArrayExpression", "value": "[\"\",\"\",\"coslat\"]" @@ -20781,14 +20689,14 @@ "comment": "", "meta": { "range": [ - 88952, - 88978 + 88668, + 88694 ], "filename": "astronomy.js", - "lineno": 1963, + "lineno": 1955, "columnno": 8, "code": { - "id": "astnode100010442", + "id": "astnode100010422", "name": "uwe", "type": "ArrayExpression", "value": "[\"sinlon\",\"-coslon\",0]" @@ -20806,14 +20714,14 @@ "comment": "", "meta": { "range": [ - 89375, - 89413 + 89091, + 89129 ], "filename": "astronomy.js", - "lineno": 1969, + "lineno": 1961, "columnno": 10, "code": { - "id": "astnode100010450", + "id": "astnode100010430", "name": "spin_angle", "type": "BinaryExpression", "value": "" @@ -20831,14 +20739,14 @@ "comment": "", "meta": { "range": [ - 89423, - 89449 + 89139, + 89165 ], "filename": "astronomy.js", - "lineno": 1970, + "lineno": 1962, "columnno": 8, "code": { - "id": "astnode100010459", + "id": "astnode100010439", "name": "uz", "type": "CallExpression", "value": "" @@ -20856,14 +20764,14 @@ "comment": "", "meta": { "range": [ - 89459, - 89485 + 89175, + 89201 ], "filename": "astronomy.js", - "lineno": 1971, + "lineno": 1963, "columnno": 8, "code": { - "id": "astnode100010466", + "id": "astnode100010446", "name": "un", "type": "CallExpression", "value": "" @@ -20881,14 +20789,14 @@ "comment": "", "meta": { "range": [ - 89495, - 89521 + 89211, + 89237 ], "filename": "astronomy.js", - "lineno": 1972, + "lineno": 1964, "columnno": 8, "code": { - "id": "astnode100010473", + "id": "astnode100010453", "name": "uw", "type": "CallExpression", "value": "" @@ -20906,14 +20814,14 @@ "comment": "", "meta": { "range": [ - 89697, - 89738 + 89413, + 89454 ], "filename": "astronomy.js", - "lineno": 1976, + "lineno": 1968, "columnno": 8, "code": { - "id": "astnode100010480", + "id": "astnode100010460", "name": "p", "type": "ArrayExpression", "value": "[\"\",\"\",\"sindc\"]" @@ -20931,14 +20839,14 @@ "comment": "", "meta": { "range": [ - 90045, - 90092 + 89761, + 89808 ], "filename": "astronomy.js", - "lineno": 1983, + "lineno": 1975, "columnno": 10, "code": { - "id": "astnode100010491", + "id": "astnode100010471", "name": "pz", "type": "BinaryExpression", "value": "" @@ -20956,14 +20864,14 @@ "comment": "", "meta": { "range": [ - 90104, - 90151 + 89820, + 89867 ], "filename": "astronomy.js", - "lineno": 1984, + "lineno": 1976, "columnno": 10, "code": { - "id": "astnode100010517", + "id": "astnode100010497", "name": "pn", "type": "BinaryExpression", "value": "" @@ -20981,14 +20889,14 @@ "comment": "", "meta": { "range": [ - 90163, - 90210 + 89879, + 89926 ], "filename": "astronomy.js", - "lineno": 1985, + "lineno": 1977, "columnno": 10, "code": { - "id": "astnode100010543", + "id": "astnode100010523", "name": "pw", "type": "BinaryExpression", "value": "" @@ -21006,14 +20914,14 @@ "comment": "", "meta": { "range": [ - 90301, - 90336 + 90017, + 90052 ], "filename": "astronomy.js", - "lineno": 1987, + "lineno": 1979, "columnno": 8, "code": { - "id": "astnode100010569", + "id": "astnode100010549", "name": "proj", "type": "CallExpression", "value": "" @@ -21031,14 +20939,14 @@ "comment": "", "meta": { "range": [ - 90417, - 90419 + 90133, + 90135 ], "filename": "astronomy.js", - "lineno": 1989, + "lineno": 1981, "columnno": 8, "code": { - "id": "astnode100010583", + "id": "astnode100010563", "name": "az" } }, @@ -21054,14 +20962,14 @@ "comment": "", "meta": { "range": [ - 90592, - 90626 + 90308, + 90342 ], "filename": "astronomy.js", - "lineno": 1993, + "lineno": 1985, "columnno": 8, "code": { - "id": "astnode100010591", + "id": "astnode100010571", "name": "az", "type": "BinaryExpression", "funcscope": "Horizon", @@ -21080,14 +20988,14 @@ "comment": "", "meta": { "range": [ - 90660, - 90669 + 90376, + 90385 ], "filename": "astronomy.js", - "lineno": 1995, + "lineno": 1987, "columnno": 12, "code": { - "id": "astnode100010607", + "id": "astnode100010587", "name": "az", "type": "Literal", "funcscope": "Horizon", @@ -21106,14 +21014,14 @@ "comment": "", "meta": { "range": [ - 90822, - 90828 + 90538, + 90544 ], "filename": "astronomy.js", - "lineno": 2000, + "lineno": 1992, "columnno": 8, "code": { - "id": "astnode100010612", + "id": "astnode100010592", "name": "az", "type": "Literal", "funcscope": "Horizon", @@ -21132,14 +21040,14 @@ "comment": "", "meta": { "range": [ - 90923, - 90958 + 90639, + 90674 ], "filename": "astronomy.js", - "lineno": 2003, + "lineno": 1995, "columnno": 8, "code": { - "id": "astnode100010616", + "id": "astnode100010596", "name": "zd", "type": "BinaryExpression", "value": "" @@ -21157,14 +21065,14 @@ "comment": "", "meta": { "range": [ - 90968, - 90979 + 90684, + 90695 ], "filename": "astronomy.js", - "lineno": 2004, + "lineno": 1996, "columnno": 8, "code": { - "id": "astnode100010627", + "id": "astnode100010607", "name": "out_ra", "type": "Identifier", "value": "ra" @@ -21182,14 +21090,14 @@ "comment": "", "meta": { "range": [ - 90989, - 91002 + 90705, + 90718 ], "filename": "astronomy.js", - "lineno": 2005, + "lineno": 1997, "columnno": 8, "code": { - "id": "astnode100010631", + "id": "astnode100010611", "name": "out_dec", "type": "Identifier", "value": "dec" @@ -21207,14 +21115,14 @@ "comment": "", "meta": { "range": [ - 91038, - 91046 + 90754, + 90762 ], "filename": "astronomy.js", - "lineno": 2007, + "lineno": 1999, "columnno": 12, "code": { - "id": "astnode100010638", + "id": "astnode100010618", "name": "zd0", "type": "Identifier", "value": "zd" @@ -21232,14 +21140,14 @@ "comment": "", "meta": { "range": [ - 91060, - 91098 + 90776, + 90814 ], "filename": "astronomy.js", - "lineno": 2008, + "lineno": 2000, "columnno": 12, "code": { - "id": "astnode100010642", + "id": "astnode100010622", "name": "refr", "type": "CallExpression", "value": "" @@ -21257,14 +21165,14 @@ "comment": "", "meta": { "range": [ - 91108, - 91118 + 90824, + 90834 ], "filename": "astronomy.js", - "lineno": 2009, + "lineno": 2001, "columnno": 8, "code": { - "id": "astnode100010651", + "id": "astnode100010631", "name": "zd", "type": "Identifier", "funcscope": "Horizon", @@ -21283,14 +21191,14 @@ "comment": "", "meta": { "range": [ - 91179, - 91209 + 90895, + 90925 ], "filename": "astronomy.js", - "lineno": 2011, + "lineno": 2003, "columnno": 18, "code": { - "id": "astnode100010664", + "id": "astnode100010644", "name": "sinzd", "type": "CallExpression", "value": "" @@ -21308,14 +21216,14 @@ "comment": "", "meta": { "range": [ - 91229, - 91259 + 90945, + 90975 ], "filename": "astronomy.js", - "lineno": 2012, + "lineno": 2004, "columnno": 18, "code": { - "id": "astnode100010674", + "id": "astnode100010654", "name": "coszd", "type": "CallExpression", "value": "" @@ -21333,14 +21241,14 @@ "comment": "", "meta": { "range": [ - 91279, - 91311 + 90995, + 91027 ], "filename": "astronomy.js", - "lineno": 2013, + "lineno": 2005, "columnno": 18, "code": { - "id": "astnode100010684", + "id": "astnode100010664", "name": "sinzd0", "type": "CallExpression", "value": "" @@ -21358,14 +21266,14 @@ "comment": "", "meta": { "range": [ - 91331, - 91363 + 91047, + 91079 ], "filename": "astronomy.js", - "lineno": 2014, + "lineno": 2006, "columnno": 18, "code": { - "id": "astnode100010694", + "id": "astnode100010674", "name": "coszd0", "type": "CallExpression", "value": "" @@ -21383,14 +21291,14 @@ "comment": "", "meta": { "range": [ - 91381, - 91388 + 91097, + 91104 ], "filename": "astronomy.js", - "lineno": 2015, + "lineno": 2007, "columnno": 16, "code": { - "id": "astnode100010704", + "id": "astnode100010684", "name": "pr", "type": "ArrayExpression", "value": "[]" @@ -21408,14 +21316,14 @@ "comment": "", "meta": { "range": [ - 91411, - 91416 + 91127, + 91132 ], "filename": "astronomy.js", - "lineno": 2016, + "lineno": 2008, "columnno": 21, "code": { - "id": "astnode100010709", + "id": "astnode100010689", "name": "j", "type": "Literal", "value": 0 @@ -21433,14 +21341,14 @@ "comment": "", "meta": { "range": [ - 91543, - 91590 + 91259, + 91306 ], "filename": "astronomy.js", - "lineno": 2019, + "lineno": 2011, "columnno": 12, "code": { - "id": "astnode100010743", + "id": "astnode100010723", "name": "proj", "type": "CallExpression", "funcscope": "Horizon", @@ -21459,14 +21367,14 @@ "comment": "", "meta": { "range": [ - 91636, - 91684 + 91352, + 91400 ], "filename": "astronomy.js", - "lineno": 2021, + "lineno": 2013, "columnno": 16, "code": { - "id": "astnode100010770", + "id": "astnode100010750", "name": "out_ra", "type": "BinaryExpression", "funcscope": "Horizon", @@ -21485,14 +21393,14 @@ "comment": "", "meta": { "range": [ - 91740, - 91752 + 91456, + 91468 ], "filename": "astronomy.js", - "lineno": 2023, + "lineno": 2015, "columnno": 20, "code": { - "id": "astnode100010792", + "id": "astnode100010772", "name": "out_ra", "type": "Literal", "funcscope": "Horizon", @@ -21511,14 +21419,14 @@ "comment": "", "meta": { "range": [ - 91821, - 91831 + 91537, + 91547 ], "filename": "astronomy.js", - "lineno": 2027, + "lineno": 2019, "columnno": 16, "code": { - "id": "astnode100010797", + "id": "astnode100010777", "name": "out_ra", "type": "Literal", "funcscope": "Horizon", @@ -21537,14 +21445,14 @@ "comment": "", "meta": { "range": [ - 91859, - 91902 + 91575, + 91618 ], "filename": "astronomy.js", - "lineno": 2029, + "lineno": 2021, "columnno": 12, "code": { - "id": "astnode100010801", + "id": "astnode100010781", "name": "out_dec", "type": "BinaryExpression", "funcscope": "Horizon", @@ -21563,14 +21471,14 @@ "comment": "", "meta": { "range": [ - 91990, - 92015 + 91706, + 91731 ], "filename": "astronomy.js", - "lineno": 2034, + "lineno": 2026, "columnno": 0, "code": { - "id": "astnode100010823", + "id": "astnode100010803", "name": "exports.Horizon", "type": "Identifier", "value": "Horizon", @@ -21587,14 +21495,14 @@ "comment": "", "meta": { "range": [ - 92017, - 92452 + 91733, + 92168 ], "filename": "astronomy.js", - "lineno": 2035, + "lineno": 2027, "columnno": 0, "code": { - "id": "astnode100010828", + "id": "astnode100010808", "name": "VerifyObserver", "type": "FunctionDeclaration", "paramnames": [ @@ -21613,14 +21521,14 @@ "comment": "/**\n * @brief Represents the geographic location of an observer on the surface of the Earth.\n *\n * @property {number} latitude\n * The observer's geographic latitude in degrees north of the Earth's equator.\n * The value is negative for observers south of the equator.\n * Must be in the range -90 to +90.\n *\n * @property {number} longitude\n * The observer's geographic longitude in degrees east of the prime meridian\n * passing through Greenwich, England.\n * The value is negative for observers west of the prime meridian.\n * The value should be kept in the range -180 to +180 to minimize floating point errors.\n *\n * @property {number} height\n * The observer's elevation above mean sea level, expressed in meters.\n */", "meta": { "range": [ - 93210, - 93411 + 92926, + 93127 ], "filename": "astronomy.js", - "lineno": 2064, + "lineno": 2056, "columnno": 0, "code": { - "id": "astnode100010885", + "id": "astnode100010865", "name": "Observer", "type": "ClassDeclaration", "paramnames": [ @@ -21677,14 +21585,14 @@ "comment": "", "meta": { "range": [ - 93231, - 93409 + 92947, + 93125 ], "filename": "astronomy.js", - "lineno": 2065, + "lineno": 2057, "columnno": 4, "code": { - "id": "astnode100010888", + "id": "astnode100010868", "name": "Observer", "type": "MethodDefinition", "paramnames": [ @@ -21708,14 +21616,14 @@ "comment": "/**\n * @brief Represents the geographic location of an observer on the surface of the Earth.\n *\n * @property {number} latitude\n * The observer's geographic latitude in degrees north of the Earth's equator.\n * The value is negative for observers south of the equator.\n * Must be in the range -90 to +90.\n *\n * @property {number} longitude\n * The observer's geographic longitude in degrees east of the prime meridian\n * passing through Greenwich, England.\n * The value is negative for observers west of the prime meridian.\n * The value should be kept in the range -180 to +180 to minimize floating point errors.\n *\n * @property {number} height\n * The observer's elevation above mean sea level, expressed in meters.\n */", "meta": { "range": [ - 93210, - 93411 + 92926, + 93127 ], "filename": "astronomy.js", - "lineno": 2064, + "lineno": 2056, "columnno": 0, "code": { - "id": "astnode100010885", + "id": "astnode100010865", "name": "Observer", "type": "ClassDeclaration", "paramnames": [ @@ -21771,14 +21679,14 @@ "comment": "", "meta": { "range": [ - 93282, - 93306 + 92998, + 93022 ], "filename": "astronomy.js", - "lineno": 2066, + "lineno": 2058, "columnno": 8, "code": { - "id": "astnode100010896", + "id": "astnode100010876", "name": "this.latitude", "type": "Identifier", "value": "latitude", @@ -21796,14 +21704,14 @@ "comment": "", "meta": { "range": [ - 93316, - 93342 + 93032, + 93058 ], "filename": "astronomy.js", - "lineno": 2067, + "lineno": 2059, "columnno": 8, "code": { - "id": "astnode100010902", + "id": "astnode100010882", "name": "this.longitude", "type": "Identifier", "value": "longitude", @@ -21821,14 +21729,14 @@ "comment": "", "meta": { "range": [ - 93352, - 93372 + 93068, + 93088 ], "filename": "astronomy.js", - "lineno": 2068, + "lineno": 2060, "columnno": 8, "code": { - "id": "astnode100010908", + "id": "astnode100010888", "name": "this.height", "type": "Identifier", "value": "height", @@ -21846,14 +21754,14 @@ "comment": "", "meta": { "range": [ - 93412, - 93439 + 93128, + 93155 ], "filename": "astronomy.js", - "lineno": 2072, + "lineno": 2064, "columnno": 0, "code": { - "id": "astnode100010918", + "id": "astnode100010898", "name": "exports.Observer", "type": "Identifier", "value": "Observer", @@ -21870,14 +21778,14 @@ "comment": "/**\n * @brief Returns apparent geocentric true ecliptic coordinates of date for the Sun.\n *\n * This function is used for calculating the times of equinoxes and solstices.\n *\n * Geocentric means coordinates as the Sun would appear to a hypothetical observer\n * at the center of the Earth.\n * Ecliptic coordinates of date are measured along the plane of the Earth's mean\n * orbit around the Sun, using the\n * equinox\n * of the Earth as adjusted for precession and nutation of the Earth's\n * axis of rotation on the given date.\n *\n * @param {FlexibleDateTime} date\n * The date and time at which to calculate the Sun's apparent location as seen from\n * the center of the Earth.\n *\n * @returns {EclipticCoordinates}\n */", "meta": { "range": [ - 94256, - 95235 + 93972, + 94990 ], "filename": "astronomy.js", - "lineno": 2092, + "lineno": 2084, "columnno": 0, "code": { - "id": "astnode100010923", + "id": "astnode100010903", "name": "SunPosition", "type": "FunctionDeclaration", "paramnames": [ @@ -21893,6 +21801,7 @@ "true_obliq": "SunPosition~true_obliq", "cos_ob": "SunPosition~cos_ob", "sin_ob": "SunPosition~sin_ob", + "vec": "SunPosition~vec", "sun_ecliptic": "SunPosition~sun_ecliptic" } }, @@ -21933,14 +21842,14 @@ "comment": "", "meta": { "range": [ - 94502, - 94545 + 94218, + 94261 ], "filename": "astronomy.js", - "lineno": 2096, + "lineno": 2088, "columnno": 10, "code": { - "id": "astnode100010928", + "id": "astnode100010908", "name": "time", "type": "CallExpression", "value": "" @@ -21958,14 +21867,14 @@ "comment": "", "meta": { "range": [ - 94622, - 94660 + 94338, + 94376 ], "filename": "astronomy.js", - "lineno": 2098, + "lineno": 2090, "columnno": 10, "code": { - "id": "astnode100010941", + "id": "astnode100010921", "name": "earth2000", "type": "CallExpression", "value": "" @@ -21983,14 +21892,14 @@ "comment": "", "meta": { "range": [ - 94722, - 94774 + 94438, + 94490 ], "filename": "astronomy.js", - "lineno": 2100, + "lineno": 2092, "columnno": 10, "code": { - "id": "astnode100010950", + "id": "astnode100010930", "name": "sun2000", "type": "ArrayExpression", "value": "[\"-earth2000.x\",\"-earth2000.y\",\"-earth2000.z\"]" @@ -22008,14 +21917,14 @@ "comment": "", "meta": { "range": [ - 94854, - 94893 + 94570, + 94609 ], "filename": "astronomy.js", - "lineno": 2102, + "lineno": 2094, "columnno": 10, "code": { - "id": "astnode100010966", + "id": "astnode100010946", "name": "stemp", "type": "CallExpression", "value": "" @@ -22033,14 +21942,14 @@ "comment": "", "meta": { "range": [ - 95004, - 95044 + 94720, + 94760 ], "filename": "astronomy.js", - "lineno": 2105, + "lineno": 2097, "columnno": 10, "code": { - "id": "astnode100010984", + "id": "astnode100010964", "name": "true_obliq", "type": "BinaryExpression", "value": "" @@ -22058,14 +21967,14 @@ "comment": "", "meta": { "range": [ - 95056, - 95085 + 94772, + 94801 ], "filename": "astronomy.js", - "lineno": 2106, + "lineno": 2098, "columnno": 10, "code": { - "id": "astnode100010994", + "id": "astnode100010974", "name": "cos_ob", "type": "CallExpression", "value": "" @@ -22083,14 +21992,14 @@ "comment": "", "meta": { "range": [ - 95097, - 95126 + 94813, + 94842 ], "filename": "astronomy.js", - "lineno": 2107, + "lineno": 2099, "columnno": 10, "code": { - "id": "astnode100011002", + "id": "astnode100010982", "name": "sin_ob", "type": "CallExpression", "value": "" @@ -22108,14 +22017,39 @@ "comment": "", "meta": { "range": [ - 95138, - 95207 + 94854, + 94888 ], "filename": "astronomy.js", - "lineno": 2108, + "lineno": 2100, "columnno": 10, "code": { - "id": "astnode100011010", + "id": "astnode100010990", + "name": "vec", + "type": "NewExpression", + "value": "" + } + }, + "undocumented": true, + "name": "vec", + "longname": "SunPosition~vec", + "kind": "constant", + "memberof": "SunPosition", + "scope": "inner", + "params": [] + }, + { + "comment": "", + "meta": { + "range": [ + 94900, + 94962 + ], + "filename": "astronomy.js", + "lineno": 2101, + "columnno": 10, + "code": { + "id": "astnode100010999", "name": "sun_ecliptic", "type": "CallExpression", "value": "" @@ -22133,14 +22067,14 @@ "comment": "", "meta": { "range": [ - 95236, - 95269 + 94991, + 95024 ], "filename": "astronomy.js", - "lineno": 2111, + "lineno": 2104, "columnno": 0, "code": { - "id": "astnode100011022", + "id": "astnode100011009", "name": "exports.SunPosition", "type": "Identifier", "value": "SunPosition", @@ -22157,14 +22091,14 @@ "comment": "/**\n * @brief Calculates equatorial coordinates of a Solar System body at a given time.\n *\n * Returns topocentric equatorial coordinates (right ascension and declination)\n * in one of two different systems: J2000 or true-equator-of-date.\n * Allows optional correction for aberration.\n * Always corrects for light travel time (represents the object as seen by the observer\n * with light traveling to the Earth at finite speed, not where the object is right now).\n * Topocentric refers to a position as seen by an observer on the surface of the Earth.\n * This function corrects for\n * parallax\n * of the object between a geocentric observer and a topocentric observer.\n * This is most significant for the Moon, because it is so close to the Earth.\n * However, it can have a small effect on the apparent positions of other bodies.\n *\n * @param {Body} body\n * The body for which to find equatorial coordinates.\n * Not allowed to be `\"Earth\"`.\n *\n * @param {FlexibleDateTime} date\n * Specifies the date and time at which the body is to be observed.\n *\n * @param {Observer} observer\n * The location on the Earth of the observer.\n *\n * @param {bool} ofdate\n * Pass `true` to return equatorial coordinates of date,\n * i.e. corrected for precession and nutation at the given date.\n * This is needed to get correct horizontal coordinates when you call\n * {@link Horizon}.\n * Pass `false` to return equatorial coordinates in the J2000 system.\n *\n * @param {bool} aberration\n * Pass `true` to correct for\n * aberration,\n * or `false` to leave uncorrected.\n *\n * @returns {EquatorialCoordinates}\n * The topocentric coordinates of the body as adjusted for the given observer.\n */", "meta": { "range": [ - 97126, - 97721 + 96881, + 97476 ], "filename": "astronomy.js", - "lineno": 2152, + "lineno": 2145, "columnno": 0, "code": { - "id": "astnode100011027", + "id": "astnode100011014", "name": "Equator", "type": "FunctionDeclaration", "paramnames": [ @@ -22258,14 +22192,14 @@ "comment": "", "meta": { "range": [ - 97285, - 97306 + 97040, + 97061 ], "filename": "astronomy.js", - "lineno": 2156, + "lineno": 2149, "columnno": 10, "code": { - "id": "astnode100011048", + "id": "astnode100011035", "name": "time", "type": "CallExpression", "value": "" @@ -22283,14 +22217,14 @@ "comment": "", "meta": { "range": [ - 97318, - 97355 + 97073, + 97110 ], "filename": "astronomy.js", - "lineno": 2157, + "lineno": 2150, "columnno": 10, "code": { - "id": "astnode100011054", + "id": "astnode100011041", "name": "gc_observer", "type": "CallExpression", "value": "" @@ -22308,14 +22242,14 @@ "comment": "", "meta": { "range": [ - 97367, - 97405 + 97122, + 97160 ], "filename": "astronomy.js", - "lineno": 2158, + "lineno": 2151, "columnno": 10, "code": { - "id": "astnode100011061", + "id": "astnode100011048", "name": "gc", "type": "CallExpression", "value": "" @@ -22333,14 +22267,14 @@ "comment": "", "meta": { "range": [ - 97417, - 97524 + 97172, + 97279 ], "filename": "astronomy.js", - "lineno": 2159, + "lineno": 2152, "columnno": 10, "code": { - "id": "astnode100011069", + "id": "astnode100011056", "name": "j2000", "type": "ArrayExpression", "value": "[\"\",\"\",\"\"]" @@ -22358,14 +22292,14 @@ "comment": "", "meta": { "range": [ - 97595, - 97631 + 97350, + 97386 ], "filename": "astronomy.js", - "lineno": 2166, + "lineno": 2159, "columnno": 10, "code": { - "id": "astnode100011102", + "id": "astnode100011089", "name": "temp", "type": "CallExpression", "value": "" @@ -22383,14 +22317,14 @@ "comment": "", "meta": { "range": [ - 97643, - 97677 + 97398, + 97432 ], "filename": "astronomy.js", - "lineno": 2167, + "lineno": 2160, "columnno": 10, "code": { - "id": "astnode100011112", + "id": "astnode100011099", "name": "datevect", "type": "CallExpression", "value": "" @@ -22408,14 +22342,14 @@ "comment": "", "meta": { "range": [ - 97722, - 97747 + 97477, + 97502 ], "filename": "astronomy.js", - "lineno": 2170, + "lineno": 2163, "columnno": 0, "code": { - "id": "astnode100011125", + "id": "astnode100011112", "name": "exports.Equator", "type": "Identifier", "value": "Equator", @@ -22432,20 +22366,18 @@ "comment": "", "meta": { "range": [ - 97749, - 98275 + 97504, + 98076 ], "filename": "astronomy.js", - "lineno": 2171, + "lineno": 2164, "columnno": 0, "code": { - "id": "astnode100011130", + "id": "astnode100011117", "name": "RotateEquatorialToEcliptic", "type": "FunctionDeclaration", "paramnames": [ - "gx", - "gy", - "gz", + "equ", "cos_ob", "sin_ob" ] @@ -22456,7 +22388,8 @@ "ez": "RotateEquatorialToEcliptic~ez", "xyproj": "RotateEquatorialToEcliptic~xyproj", "elon": "RotateEquatorialToEcliptic~elon", - "elat": "RotateEquatorialToEcliptic~elat" + "elat": "RotateEquatorialToEcliptic~elat", + "ecl": "RotateEquatorialToEcliptic~ecl" } }, "undocumented": true, @@ -22470,17 +22403,17 @@ "comment": "", "meta": { "range": [ - 97884, - 97891 + 97632, + 97642 ], "filename": "astronomy.js", - "lineno": 2173, + "lineno": 2166, "columnno": 10, "code": { - "id": "astnode100011139", + "id": "astnode100011124", "name": "ex", - "type": "Identifier", - "value": "gx" + "type": "MemberExpression", + "value": "equ.x" } }, "undocumented": true, @@ -22495,14 +22428,14 @@ "comment": "", "meta": { "range": [ - 97903, - 97933 + 97654, + 97690 ], "filename": "astronomy.js", - "lineno": 2174, + "lineno": 2167, "columnno": 10, "code": { - "id": "astnode100011143", + "id": "astnode100011130", "name": "ey", "type": "BinaryExpression", "value": "" @@ -22520,14 +22453,14 @@ "comment": "", "meta": { "range": [ - 97945, - 97976 + 97702, + 97739 ], "filename": "astronomy.js", - "lineno": 2175, + "lineno": 2168, "columnno": 10, "code": { - "id": "astnode100011153", + "id": "astnode100011144", "name": "ez", "type": "BinaryExpression", "value": "" @@ -22545,14 +22478,14 @@ "comment": "", "meta": { "range": [ - 97988, - 98025 + 97751, + 97788 ], "filename": "astronomy.js", - "lineno": 2176, + "lineno": 2169, "columnno": 10, "code": { - "id": "astnode100011164", + "id": "astnode100011159", "name": "xyproj", "type": "CallExpression", "value": "" @@ -22570,14 +22503,14 @@ "comment": "", "meta": { "range": [ - 98035, - 98043 + 97798, + 97806 ], "filename": "astronomy.js", - "lineno": 2177, + "lineno": 2170, "columnno": 8, "code": { - "id": "astnode100011178", + "id": "astnode100011173", "name": "elon", "type": "Literal", "value": 0 @@ -22595,14 +22528,14 @@ "comment": "", "meta": { "range": [ - 98075, - 98110 + 97838, + 97873 ], "filename": "astronomy.js", - "lineno": 2179, + "lineno": 2172, "columnno": 8, "code": { - "id": "astnode100011187", + "id": "astnode100011182", "name": "elon", "type": "BinaryExpression", "funcscope": "RotateEquatorialToEcliptic", @@ -22621,14 +22554,14 @@ "comment": "", "meta": { "range": [ - 98146, - 98157 + 97909, + 97920 ], "filename": "astronomy.js", - "lineno": 2181, + "lineno": 2174, "columnno": 12, "code": { - "id": "astnode100011202", + "id": "astnode100011197", "name": "elon", "type": "Literal", "funcscope": "RotateEquatorialToEcliptic", @@ -22647,14 +22580,14 @@ "comment": "", "meta": { "range": [ - 98173, - 98212 + 97936, + 97975 ], "filename": "astronomy.js", - "lineno": 2183, + "lineno": 2176, "columnno": 8, "code": { - "id": "astnode100011206", + "id": "astnode100011201", "name": "elat", "type": "BinaryExpression", "value": "" @@ -22669,23 +22602,46 @@ "params": [] }, { - "comment": "/**\n * @brief Converts equatorial Cartesian coordinates to ecliptic Cartesian and angular coordinates.\n *\n * Given J2000 equatorial Cartesian coordinates,\n * returns J2000 ecliptic latitude, longitude, and cartesian coordinates.\n * You can call {@link GeoVector} and use its (x, y, z) return values\n * to pass into this function.\n *\n * @param {number} gx\n * The x-coordinate of a 3D vector in the J2000 equatorial coordinate system.\n *\n * @param {number} gy\n * The y-coordinate of a 3D vector in the J2000 equatorial coordinate system.\n *\n * @param {number} gz\n * The z-coordinate of a 3D vector in the J2000 equatorial coordinate system.\n *\n * @returns {EclipticCoordinates}\n */", + "comment": "", "meta": { "range": [ - 98971, - 99530 + 97985, + 98020 ], "filename": "astronomy.js", - "lineno": 2205, + "lineno": 2177, + "columnno": 8, + "code": { + "id": "astnode100011212", + "name": "ecl", + "type": "NewExpression", + "value": "" + } + }, + "undocumented": true, + "name": "ecl", + "longname": "RotateEquatorialToEcliptic~ecl", + "kind": "member", + "memberof": "RotateEquatorialToEcliptic", + "scope": "inner", + "params": [] + }, + { + "comment": "/**\n * @brief Converts equatorial Cartesian coordinates to ecliptic Cartesian and angular coordinates.\n *\n * Given J2000 equatorial Cartesian coordinates,\n * returns J2000 ecliptic latitude, longitude, and cartesian coordinates.\n * You can call {@link GeoVector} and pass the resulting vector to this function.\n *\n * @param {Vector} equ\n * A vector in the J2000 equatorial coordinate system.\n *\n * @returns {EclipticCoordinates}\n */", + "meta": { + "range": [ + 98515, + 98994 + ], + "filename": "astronomy.js", + "lineno": 2192, "columnno": 0, "code": { - "id": "astnode100011224", + "id": "astnode100011228", "name": "Ecliptic", "type": "FunctionDeclaration", "paramnames": [ - "gx", - "gy", - "gz" + "equ" ] }, "vars": { @@ -22698,37 +22654,19 @@ { "originalTitle": "brief", "title": "brief", - "text": "Converts equatorial Cartesian coordinates to ecliptic Cartesian and angular coordinates.\n\nGiven J2000 equatorial Cartesian coordinates,\nreturns J2000 ecliptic latitude, longitude, and cartesian coordinates.\nYou can call {@link GeoVector} and use its (x, y, z) return values\nto pass into this function.", - "value": "Converts equatorial Cartesian coordinates to ecliptic Cartesian and angular coordinates.\n\nGiven J2000 equatorial Cartesian coordinates,\nreturns J2000 ecliptic latitude, longitude, and cartesian coordinates.\nYou can call {@link GeoVector} and use its (x, y, z) return values\nto pass into this function." + "text": "Converts equatorial Cartesian coordinates to ecliptic Cartesian and angular coordinates.\n\nGiven J2000 equatorial Cartesian coordinates,\nreturns J2000 ecliptic latitude, longitude, and cartesian coordinates.\nYou can call {@link GeoVector} and pass the resulting vector to this function.", + "value": "Converts equatorial Cartesian coordinates to ecliptic Cartesian and angular coordinates.\n\nGiven J2000 equatorial Cartesian coordinates,\nreturns J2000 ecliptic latitude, longitude, and cartesian coordinates.\nYou can call {@link GeoVector} and pass the resulting vector to this function." } ], "params": [ { "type": { "names": [ - "number" + "Vector" ] }, - "description": "The x-coordinate of a 3D vector in the J2000 equatorial coordinate system.", - "name": "gx" - }, - { - "type": { - "names": [ - "number" - ] - }, - "description": "The y-coordinate of a 3D vector in the J2000 equatorial coordinate system.", - "name": "gy" - }, - { - "type": { - "names": [ - "number" - ] - }, - "description": "The z-coordinate of a 3D vector in the J2000 equatorial coordinate system.", - "name": "gz" + "description": "A vector in the J2000 equatorial coordinate system.", + "name": "equ" } ], "returns": [ @@ -22749,14 +22687,14 @@ "comment": "", "meta": { "range": [ - 99255, - 99302 + 98792, + 98839 ], "filename": "astronomy.js", - "lineno": 2210, + "lineno": 2197, "columnno": 8, "code": { - "id": "astnode100011236", + "id": "astnode100011238", "name": "ob2000", "type": "BinaryExpression", "funcscope": "Ecliptic", @@ -22775,14 +22713,14 @@ "comment": "", "meta": { "range": [ - 99312, - 99341 + 98849, + 98878 ], "filename": "astronomy.js", - "lineno": 2211, + "lineno": 2198, "columnno": 8, "code": { - "id": "astnode100011248", + "id": "astnode100011250", "name": "cos_ob2000", "type": "CallExpression", "funcscope": "Ecliptic", @@ -22801,14 +22739,14 @@ "comment": "", "meta": { "range": [ - 99351, - 99380 + 98888, + 98917 ], "filename": "astronomy.js", - "lineno": 2212, + "lineno": 2199, "columnno": 8, "code": { - "id": "astnode100011256", + "id": "astnode100011258", "name": "sin_ob2000", "type": "CallExpression", "funcscope": "Ecliptic", @@ -22827,14 +22765,14 @@ "comment": "", "meta": { "range": [ - 99531, - 99558 + 98995, + 99022 ], "filename": "astronomy.js", - "lineno": 2219, + "lineno": 2203, "columnno": 0, "code": { - "id": "astnode100011284", + "id": "astnode100011272", "name": "exports.Ecliptic", "type": "Identifier", "value": "Ecliptic", @@ -22851,14 +22789,14 @@ "comment": "/**\n * @brief Calculates the geocentric Cartesian coordinates for the Moon in the J2000 equatorial system.\n *\n * Based on the Nautical Almanac Office's Improved Lunar Ephemeris of 1954,\n * which in turn derives from E. W. Brown's lunar theories.\n * Adapted from Turbo Pascal code from the book\n * Astronomy on the Personal Computer\n * by Montenbruck and Pfleger.\n *\n * @param {FlexibleDateTime} date\n * The date and time for which to calculate the Moon's geocentric position.\n *\n * @returns {Vector}\n */", "meta": { "range": [ - 100137, - 100851 + 99601, + 100315 ], "filename": "astronomy.js", - "lineno": 2234, + "lineno": 2218, "columnno": 0, "code": { - "id": "astnode100011289", + "id": "astnode100011277", "name": "GeoMoon", "type": "FunctionDeclaration", "paramnames": [ @@ -22911,14 +22849,14 @@ "comment": "", "meta": { "range": [ - 100170, - 100191 + 99634, + 99655 ], "filename": "astronomy.js", - "lineno": 2235, + "lineno": 2219, "columnno": 8, "code": { - "id": "astnode100011294", + "id": "astnode100011282", "name": "time", "type": "CallExpression", "value": "" @@ -22936,14 +22874,14 @@ "comment": "", "meta": { "range": [ - 100201, - 100222 + 99665, + 99686 ], "filename": "astronomy.js", - "lineno": 2236, + "lineno": 2220, "columnno": 8, "code": { - "id": "astnode100011300", + "id": "astnode100011288", "name": "moon", "type": "CallExpression", "value": "" @@ -22961,14 +22899,14 @@ "comment": "", "meta": { "range": [ - 100305, - 100367 + 99769, + 99831 ], "filename": "astronomy.js", - "lineno": 2238, + "lineno": 2222, "columnno": 8, "code": { - "id": "astnode100011306", + "id": "astnode100011294", "name": "dist_cos_lat", "type": "BinaryExpression", "value": "" @@ -22986,14 +22924,14 @@ "comment": "", "meta": { "range": [ - 100377, - 100554 + 99841, + 100018 ], "filename": "astronomy.js", - "lineno": 2239, + "lineno": 2223, "columnno": 8, "code": { - "id": "astnode100011320", + "id": "astnode100011308", "name": "gepos", "type": "ArrayExpression", "value": "[\"\",\"\",\"\"]" @@ -23011,14 +22949,14 @@ "comment": "", "meta": { "range": [ - 100657, - 100689 + 100121, + 100153 ], "filename": "astronomy.js", - "lineno": 2245, + "lineno": 2229, "columnno": 8, "code": { - "id": "astnode100011353", + "id": "astnode100011341", "name": "mpos1", "type": "CallExpression", "value": "" @@ -23036,14 +22974,14 @@ "comment": "", "meta": { "range": [ - 100752, - 100789 + 100216, + 100253 ], "filename": "astronomy.js", - "lineno": 2247, + "lineno": 2231, "columnno": 8, "code": { - "id": "astnode100011360", + "id": "astnode100011348", "name": "mpos2", "type": "CallExpression", "value": "" @@ -23061,14 +22999,14 @@ "comment": "", "meta": { "range": [ - 100852, - 100877 + 100316, + 100341 ], "filename": "astronomy.js", - "lineno": 2250, + "lineno": 2234, "columnno": 0, "code": { - "id": "astnode100011383", + "id": "astnode100011371", "name": "exports.GeoMoon", "type": "Identifier", "value": "GeoMoon", @@ -23085,14 +23023,14 @@ "comment": "", "meta": { "range": [ - 100879, - 101199 + 100343, + 100663 ], "filename": "astronomy.js", - "lineno": 2251, + "lineno": 2235, "columnno": 0, "code": { - "id": "astnode100011388", + "id": "astnode100011376", "name": "VsopFormula", "type": "FunctionDeclaration", "paramnames": [ @@ -23119,14 +23057,14 @@ "comment": "", "meta": { "range": [ - 100922, - 100932 + 100386, + 100396 ], "filename": "astronomy.js", - "lineno": 2252, + "lineno": 2236, "columnno": 8, "code": { - "id": "astnode100011394", + "id": "astnode100011382", "name": "tpower", "type": "Literal", "value": 1 @@ -23144,14 +23082,14 @@ "comment": "", "meta": { "range": [ - 100942, - 100951 + 100406, + 100415 ], "filename": "astronomy.js", - "lineno": 2253, + "lineno": 2237, "columnno": 8, "code": { - "id": "astnode100011398", + "id": "astnode100011386", "name": "coord", "type": "Literal", "value": 0 @@ -23169,14 +23107,14 @@ "comment": "", "meta": { "range": [ - 100966, - 100972 + 100430, + 100436 ], "filename": "astronomy.js", - "lineno": 2254, + "lineno": 2238, "columnno": 13, "code": { - "id": "astnode100011403", + "id": "astnode100011391", "name": "series" } }, @@ -23192,14 +23130,14 @@ "comment": "", "meta": { "range": [ - 100999, - 101006 + 100463, + 100470 ], "filename": "astronomy.js", - "lineno": 2255, + "lineno": 2239, "columnno": 12, "code": { - "id": "astnode100011408", + "id": "astnode100011396", "name": "sum", "type": "Literal", "value": 0 @@ -23217,14 +23155,14 @@ "comment": "", "meta": { "range": [ - 101069, - 101110 + 100533, + 100574 ], "filename": "astronomy.js", - "lineno": 2257, + "lineno": 2241, "columnno": 12, "code": { - "id": "astnode100011418", + "id": "astnode100011406", "name": "sum", "type": "BinaryExpression", "funcscope": "VsopFormula", @@ -23243,14 +23181,14 @@ "comment": "", "meta": { "range": [ - 101130, - 101151 + 100594, + 100615 ], "filename": "astronomy.js", - "lineno": 2259, + "lineno": 2243, "columnno": 8, "code": { - "id": "astnode100011432", + "id": "astnode100011420", "name": "coord", "type": "BinaryExpression", "funcscope": "VsopFormula", @@ -23269,14 +23207,14 @@ "comment": "", "meta": { "range": [ - 101161, - 101172 + 100625, + 100636 ], "filename": "astronomy.js", - "lineno": 2260, + "lineno": 2244, "columnno": 8, "code": { - "id": "astnode100011438", + "id": "astnode100011426", "name": "tpower", "type": "Identifier", "funcscope": "VsopFormula", @@ -23295,14 +23233,14 @@ "comment": "", "meta": { "range": [ - 101200, - 101801 + 100664, + 101265 ], "filename": "astronomy.js", - "lineno": 2264, + "lineno": 2248, "columnno": 0, "code": { - "id": "astnode100011443", + "id": "astnode100011431", "name": "VsopDeriv", "type": "FunctionDeclaration", "paramnames": [ @@ -23333,14 +23271,14 @@ "comment": "", "meta": { "range": [ - 101241, - 101251 + 100705, + 100715 ], "filename": "astronomy.js", - "lineno": 2265, + "lineno": 2249, "columnno": 8, "code": { - "id": "astnode100011449", + "id": "astnode100011437", "name": "tpower", "type": "Literal", "value": 1 @@ -23358,14 +23296,14 @@ "comment": "", "meta": { "range": [ - 101268, - 101278 + 100732, + 100742 ], "filename": "astronomy.js", - "lineno": 2266, + "lineno": 2250, "columnno": 8, "code": { - "id": "astnode100011453", + "id": "astnode100011441", "name": "dpower", "type": "Literal", "value": 0 @@ -23383,14 +23321,14 @@ "comment": "", "meta": { "range": [ - 101299, - 101308 + 100763, + 100772 ], "filename": "astronomy.js", - "lineno": 2267, + "lineno": 2251, "columnno": 8, "code": { - "id": "astnode100011457", + "id": "astnode100011445", "name": "deriv", "type": "Literal", "value": 0 @@ -23408,14 +23346,14 @@ "comment": "", "meta": { "range": [ - 101318, - 101323 + 100782, + 100787 ], "filename": "astronomy.js", - "lineno": 2268, + "lineno": 2252, "columnno": 8, "code": { - "id": "astnode100011461", + "id": "astnode100011449", "name": "s", "type": "Literal", "value": 0 @@ -23433,14 +23371,14 @@ "comment": "", "meta": { "range": [ - 101338, - 101344 + 100802, + 100808 ], "filename": "astronomy.js", - "lineno": 2269, + "lineno": 2253, "columnno": 13, "code": { - "id": "astnode100011466", + "id": "astnode100011454", "name": "series" } }, @@ -23456,14 +23394,14 @@ "comment": "", "meta": { "range": [ - 101371, - 101382 + 100835, + 100846 ], "filename": "astronomy.js", - "lineno": 2270, + "lineno": 2254, "columnno": 12, "code": { - "id": "astnode100011471", + "id": "astnode100011459", "name": "sin_sum", "type": "Literal", "value": 0 @@ -23481,14 +23419,14 @@ "comment": "", "meta": { "range": [ - 101396, - 101407 + 100860, + 100871 ], "filename": "astronomy.js", - "lineno": 2271, + "lineno": 2255, "columnno": 12, "code": { - "id": "astnode100011475", + "id": "astnode100011463", "name": "cos_sum", "type": "Literal", "value": 0 @@ -23506,14 +23444,14 @@ "comment": "", "meta": { "range": [ - 101474, - 101499 + 100938, + 100963 ], "filename": "astronomy.js", - "lineno": 2273, + "lineno": 2257, "columnno": 16, "code": { - "id": "astnode100011485", + "id": "astnode100011473", "name": "angle", "type": "BinaryExpression", "value": "" @@ -23531,14 +23469,14 @@ "comment": "", "meta": { "range": [ - 101513, - 101553 + 100977, + 101017 ], "filename": "astronomy.js", - "lineno": 2274, + "lineno": 2258, "columnno": 12, "code": { - "id": "astnode100011493", + "id": "astnode100011481", "name": "sin_sum", "type": "BinaryExpression", "funcscope": "VsopDeriv", @@ -23557,14 +23495,14 @@ "comment": "", "meta": { "range": [ - 101596, - 101629 + 101060, + 101093 ], "filename": "astronomy.js", - "lineno": 2276, + "lineno": 2260, "columnno": 16, "code": { - "id": "astnode100011510", + "id": "astnode100011498", "name": "cos_sum", "type": "BinaryExpression", "funcscope": "VsopDeriv", @@ -23583,14 +23521,14 @@ "comment": "", "meta": { "range": [ - 101663, - 101715 + 101127, + 101179 ], "filename": "astronomy.js", - "lineno": 2279, + "lineno": 2263, "columnno": 8, "code": { - "id": "astnode100011520", + "id": "astnode100011508", "name": "deriv", "type": "BinaryExpression", "funcscope": "VsopDeriv", @@ -23609,14 +23547,14 @@ "comment": "", "meta": { "range": [ - 101725, - 101740 + 101189, + 101204 ], "filename": "astronomy.js", - "lineno": 2280, + "lineno": 2264, "columnno": 8, "code": { - "id": "astnode100011532", + "id": "astnode100011520", "name": "dpower", "type": "Identifier", "funcscope": "VsopDeriv", @@ -23635,14 +23573,14 @@ "comment": "", "meta": { "range": [ - 101750, - 101761 + 101214, + 101225 ], "filename": "astronomy.js", - "lineno": 2281, + "lineno": 2265, "columnno": 8, "code": { - "id": "astnode100011536", + "id": "astnode100011524", "name": "tpower", "type": "Identifier", "funcscope": "VsopDeriv", @@ -23661,14 +23599,14 @@ "comment": "", "meta": { "range": [ - 101808, - 101836 + 101272, + 101300 ], "filename": "astronomy.js", - "lineno": 2286, + "lineno": 2270, "columnno": 6, "code": { - "id": "astnode100011545", + "id": "astnode100011533", "name": "DAYS_PER_MILLENNIUM", "type": "Literal", "value": 365250 @@ -23685,14 +23623,14 @@ "comment": "", "meta": { "range": [ - 101844, - 101857 + 101308, + 101321 ], "filename": "astronomy.js", - "lineno": 2287, + "lineno": 2271, "columnno": 6, "code": { - "id": "astnode100011549", + "id": "astnode100011537", "name": "LON_INDEX", "type": "Literal", "value": 0 @@ -23709,14 +23647,14 @@ "comment": "", "meta": { "range": [ - 101865, - 101878 + 101329, + 101342 ], "filename": "astronomy.js", - "lineno": 2288, + "lineno": 2272, "columnno": 6, "code": { - "id": "astnode100011553", + "id": "astnode100011541", "name": "LAT_INDEX", "type": "Literal", "value": 1 @@ -23733,14 +23671,14 @@ "comment": "", "meta": { "range": [ - 101886, - 101899 + 101350, + 101363 ], "filename": "astronomy.js", - "lineno": 2289, + "lineno": 2273, "columnno": 6, "code": { - "id": "astnode100011557", + "id": "astnode100011545", "name": "RAD_INDEX", "type": "Literal", "value": 2 @@ -23757,14 +23695,14 @@ "comment": "", "meta": { "range": [ - 101901, - 102247 + 101365, + 101711 ], "filename": "astronomy.js", - "lineno": 2290, + "lineno": 2274, "columnno": 0, "code": { - "id": "astnode100011560", + "id": "astnode100011548", "name": "VsopRotate", "type": "FunctionDeclaration", "paramnames": [ @@ -23783,14 +23721,14 @@ "comment": "", "meta": { "range": [ - 102248, - 102531 + 101712, + 101995 ], "filename": "astronomy.js", - "lineno": 2294, + "lineno": 2278, "columnno": 0, "code": { - "id": "astnode100011611", + "id": "astnode100011599", "name": "VsopSphereToRect", "type": "FunctionDeclaration", "paramnames": [ @@ -23814,14 +23752,14 @@ "comment": "", "meta": { "range": [ - 102376, - 102409 + 101840, + 101873 ], "filename": "astronomy.js", - "lineno": 2296, + "lineno": 2280, "columnno": 10, "code": { - "id": "astnode100011618", + "id": "astnode100011606", "name": "r_coslat", "type": "BinaryExpression", "value": "" @@ -23839,14 +23777,14 @@ "comment": "", "meta": { "range": [ - 102532, - 102886 + 101996, + 102350 ], "filename": "astronomy.js", - "lineno": 2303, + "lineno": 2287, "columnno": 0, "code": { - "id": "astnode100011650", + "id": "astnode100011638", "name": "CalcVsop", "type": "FunctionDeclaration", "paramnames": [ @@ -23873,14 +23811,14 @@ "comment": "", "meta": { "range": [ - 102575, - 102608 + 102039, + 102072 ], "filename": "astronomy.js", - "lineno": 2304, + "lineno": 2288, "columnno": 10, "code": { - "id": "astnode100011656", + "id": "astnode100011644", "name": "t", "type": "BinaryExpression", "value": "" @@ -23898,14 +23836,14 @@ "comment": "", "meta": { "range": [ - 102644, - 102682 + 102108, + 102146 ], "filename": "astronomy.js", - "lineno": 2305, + "lineno": 2289, "columnno": 10, "code": { - "id": "astnode100011664", + "id": "astnode100011652", "name": "lon", "type": "CallExpression", "value": "" @@ -23923,14 +23861,14 @@ "comment": "", "meta": { "range": [ - 102694, - 102732 + 102158, + 102196 ], "filename": "astronomy.js", - "lineno": 2306, + "lineno": 2290, "columnno": 10, "code": { - "id": "astnode100011673", + "id": "astnode100011661", "name": "lat", "type": "CallExpression", "value": "" @@ -23948,14 +23886,14 @@ "comment": "", "meta": { "range": [ - 102744, - 102782 + 102208, + 102246 ], "filename": "astronomy.js", - "lineno": 2307, + "lineno": 2291, "columnno": 10, "code": { - "id": "astnode100011682", + "id": "astnode100011670", "name": "rad", "type": "CallExpression", "value": "" @@ -23973,14 +23911,14 @@ "comment": "", "meta": { "range": [ - 102794, - 102833 + 102258, + 102297 ], "filename": "astronomy.js", - "lineno": 2308, + "lineno": 2292, "columnno": 10, "code": { - "id": "astnode100011691", + "id": "astnode100011679", "name": "eclip", "type": "CallExpression", "value": "" @@ -23998,14 +23936,14 @@ "comment": "", "meta": { "range": [ - 102887, - 104417 + 102351, + 103881 ], "filename": "astronomy.js", - "lineno": 2311, + "lineno": 2295, "columnno": 0, "code": { - "id": "astnode100011706", + "id": "astnode100011694", "name": "CalcVsopPosVel", "type": "FunctionDeclaration", "paramnames": [ @@ -24045,14 +23983,14 @@ "comment": "", "meta": { "range": [ - 102934, - 102962 + 102398, + 102426 ], "filename": "astronomy.js", - "lineno": 2312, + "lineno": 2296, "columnno": 10, "code": { - "id": "astnode100011712", + "id": "astnode100011700", "name": "t", "type": "BinaryExpression", "value": "" @@ -24070,14 +24008,14 @@ "comment": "", "meta": { "range": [ - 103067, - 103105 + 102531, + 102569 ], "filename": "astronomy.js", - "lineno": 2314, + "lineno": 2298, "columnno": 10, "code": { - "id": "astnode100011718", + "id": "astnode100011706", "name": "lon", "type": "CallExpression", "value": "" @@ -24095,14 +24033,14 @@ "comment": "", "meta": { "range": [ - 103117, - 103155 + 102581, + 102619 ], "filename": "astronomy.js", - "lineno": 2315, + "lineno": 2299, "columnno": 10, "code": { - "id": "astnode100011727", + "id": "astnode100011715", "name": "lat", "type": "CallExpression", "value": "" @@ -24120,14 +24058,14 @@ "comment": "", "meta": { "range": [ - 103167, - 103205 + 102631, + 102669 ], "filename": "astronomy.js", - "lineno": 2316, + "lineno": 2300, "columnno": 10, "code": { - "id": "astnode100011736", + "id": "astnode100011724", "name": "rad", "type": "CallExpression", "value": "" @@ -24145,14 +24083,14 @@ "comment": "", "meta": { "range": [ - 103217, - 103257 + 102681, + 102721 ], "filename": "astronomy.js", - "lineno": 2317, + "lineno": 2301, "columnno": 10, "code": { - "id": "astnode100011745", + "id": "astnode100011733", "name": "dlon_dt", "type": "CallExpression", "value": "" @@ -24170,14 +24108,14 @@ "comment": "", "meta": { "range": [ - 103269, - 103309 + 102733, + 102773 ], "filename": "astronomy.js", - "lineno": 2318, + "lineno": 2302, "columnno": 10, "code": { - "id": "astnode100011754", + "id": "astnode100011742", "name": "dlat_dt", "type": "CallExpression", "value": "" @@ -24195,14 +24133,14 @@ "comment": "", "meta": { "range": [ - 103321, - 103361 + 102785, + 102825 ], "filename": "astronomy.js", - "lineno": 2319, + "lineno": 2303, "columnno": 10, "code": { - "id": "astnode100011763", + "id": "astnode100011751", "name": "drad_dt", "type": "CallExpression", "value": "" @@ -24220,14 +24158,14 @@ "comment": "", "meta": { "range": [ - 103495, - 103517 + 102959, + 102981 ], "filename": "astronomy.js", - "lineno": 2322, + "lineno": 2306, "columnno": 10, "code": { - "id": "astnode100011772", + "id": "astnode100011760", "name": "coslon", "type": "CallExpression", "value": "" @@ -24245,14 +24183,14 @@ "comment": "", "meta": { "range": [ - 103529, - 103551 + 102993, + 103015 ], "filename": "astronomy.js", - "lineno": 2323, + "lineno": 2307, "columnno": 10, "code": { - "id": "astnode100011780", + "id": "astnode100011768", "name": "sinlon", "type": "CallExpression", "value": "" @@ -24270,14 +24208,14 @@ "comment": "", "meta": { "range": [ - 103563, - 103585 + 103027, + 103049 ], "filename": "astronomy.js", - "lineno": 2324, + "lineno": 2308, "columnno": 10, "code": { - "id": "astnode100011788", + "id": "astnode100011776", "name": "coslat", "type": "CallExpression", "value": "" @@ -24295,14 +24233,14 @@ "comment": "", "meta": { "range": [ - 103597, - 103619 + 103061, + 103083 ], "filename": "astronomy.js", - "lineno": 2325, + "lineno": 2309, "columnno": 10, "code": { - "id": "astnode100011796", + "id": "astnode100011784", "name": "sinlat", "type": "CallExpression", "value": "" @@ -24320,14 +24258,14 @@ "comment": "", "meta": { "range": [ - 103631, - 103754 + 103095, + 103218 ], "filename": "astronomy.js", - "lineno": 2326, + "lineno": 2310, "columnno": 10, "code": { - "id": "astnode100011804", + "id": "astnode100011792", "name": "vx", "type": "BinaryExpression", "value": "" @@ -24345,14 +24283,14 @@ "comment": "", "meta": { "range": [ - 103766, - 103889 + 103230, + 103353 ], "filename": "astronomy.js", - "lineno": 2329, + "lineno": 2313, "columnno": 10, "code": { - "id": "astnode100011829", + "id": "astnode100011817", "name": "vy", "type": "BinaryExpression", "value": "" @@ -24370,14 +24308,14 @@ "comment": "", "meta": { "range": [ - 103901, - 103962 + 103365, + 103426 ], "filename": "astronomy.js", - "lineno": 2332, + "lineno": 2316, "columnno": 10, "code": { - "id": "astnode100011854", + "id": "astnode100011842", "name": "vz", "type": "BinaryExpression", "value": "" @@ -24395,14 +24333,14 @@ "comment": "", "meta": { "range": [ - 103974, - 104017 + 103438, + 103481 ], "filename": "astronomy.js", - "lineno": 2334, + "lineno": 2318, "columnno": 10, "code": { - "id": "astnode100011867", + "id": "astnode100011855", "name": "eclip_pos", "type": "CallExpression", "value": "" @@ -24420,14 +24358,14 @@ "comment": "", "meta": { "range": [ - 104090, - 104210 + 103554, + 103674 ], "filename": "astronomy.js", - "lineno": 2336, + "lineno": 2320, "columnno": 10, "code": { - "id": "astnode100011875", + "id": "astnode100011863", "name": "eclip_vel", "type": "ArrayExpression", "value": "[\"\",\"\",\"\"]" @@ -24445,14 +24383,14 @@ "comment": "", "meta": { "range": [ - 104289, - 104320 + 103753, + 103784 ], "filename": "astronomy.js", - "lineno": 2342, + "lineno": 2326, "columnno": 10, "code": { - "id": "astnode100011888", + "id": "astnode100011876", "name": "equ_pos", "type": "CallExpression", "value": "" @@ -24470,14 +24408,14 @@ "comment": "", "meta": { "range": [ - 104332, - 104363 + 103796, + 103827 ], "filename": "astronomy.js", - "lineno": 2343, + "lineno": 2327, "columnno": 10, "code": { - "id": "astnode100011894", + "id": "astnode100011882", "name": "equ_vel", "type": "CallExpression", "value": "" @@ -24495,14 +24433,14 @@ "comment": "", "meta": { "range": [ - 104418, - 104655 + 103882, + 104119 ], "filename": "astronomy.js", - "lineno": 2346, + "lineno": 2330, "columnno": 0, "code": { - "id": "astnode100011905", + "id": "astnode100011893", "name": "AdjustBarycenter", "type": "FunctionDeclaration", "paramnames": [ @@ -24531,14 +24469,14 @@ "comment": "", "meta": { "range": [ - 104480, - 104512 + 103944, + 103976 ], "filename": "astronomy.js", - "lineno": 2347, + "lineno": 2331, "columnno": 10, "code": { - "id": "astnode100011913", + "id": "astnode100011901", "name": "shift", "type": "BinaryExpression", "value": "" @@ -24556,14 +24494,14 @@ "comment": "", "meta": { "range": [ - 104524, - 104559 + 103988, + 104023 ], "filename": "astronomy.js", - "lineno": 2348, + "lineno": 2332, "columnno": 10, "code": { - "id": "astnode100011921", + "id": "astnode100011909", "name": "planet", "type": "CallExpression", "value": "" @@ -24581,14 +24519,14 @@ "comment": "", "meta": { "range": [ - 104565, - 104590 + 104029, + 104054 ], "filename": "astronomy.js", - "lineno": 2349, + "lineno": 2333, "columnno": 4, "code": { - "id": "astnode100011930", + "id": "astnode100011918", "name": "ssb.x", "type": "BinaryExpression", "value": "", @@ -24606,14 +24544,14 @@ "comment": "", "meta": { "range": [ - 104596, - 104621 + 104060, + 104085 ], "filename": "astronomy.js", - "lineno": 2350, + "lineno": 2334, "columnno": 4, "code": { - "id": "astnode100011940", + "id": "astnode100011928", "name": "ssb.y", "type": "BinaryExpression", "value": "", @@ -24631,14 +24569,14 @@ "comment": "", "meta": { "range": [ - 104627, - 104652 + 104091, + 104116 ], "filename": "astronomy.js", - "lineno": 2351, + "lineno": 2335, "columnno": 4, "code": { - "id": "astnode100011950", + "id": "astnode100011938", "name": "ssb.z", "type": "BinaryExpression", "value": "", @@ -24656,14 +24594,14 @@ "comment": "", "meta": { "range": [ - 104656, - 104997 + 104120, + 104461 ], "filename": "astronomy.js", - "lineno": 2353, + "lineno": 2337, "columnno": 0, "code": { - "id": "astnode100011959", + "id": "astnode100011947", "name": "CalcSolarSystemBarycenter", "type": "FunctionDeclaration", "paramnames": [ @@ -24685,14 +24623,14 @@ "comment": "", "meta": { "range": [ - 104709, - 104746 + 104173, + 104210 ], "filename": "astronomy.js", - "lineno": 2354, + "lineno": 2338, "columnno": 10, "code": { - "id": "astnode100011964", + "id": "astnode100011952", "name": "ssb", "type": "NewExpression", "value": "" @@ -24710,14 +24648,14 @@ "comment": "", "meta": { "range": [ - 105084, - 105105 + 104548, + 104569 ], "filename": "astronomy.js", - "lineno": 2362, + "lineno": 2346, "columnno": 6, "code": { - "id": "astnode100012011", + "id": "astnode100011999", "name": "PLUTO_NUM_STATES", "type": "Literal", "value": 41 @@ -24734,14 +24672,14 @@ "comment": "", "meta": { "range": [ - 105113, - 105136 + 104577, + 104600 ], "filename": "astronomy.js", - "lineno": 2363, + "lineno": 2347, "columnno": 6, "code": { - "id": "astnode100012015", + "id": "astnode100012003", "name": "PLUTO_TIME_STEP", "type": "Literal", "value": 36500 @@ -24758,14 +24696,14 @@ "comment": "", "meta": { "range": [ - 105144, - 110877 + 104608, + 110341 ], "filename": "astronomy.js", - "lineno": 2364, + "lineno": 2348, "columnno": 6, "code": { - "id": "astnode100012019", + "id": "astnode100012007", "name": "PlutoStateTable", "type": "ArrayExpression", "value": "[\"[-730000,\\\"[-26.1182072321076,-14.376168177825,3.3844025152995]\\\",\\\"[0.0016339372163656,-0.0027861699588508,-0.0013585880229445]\\\"]\",\"[-693500,\\\"[43.6599275018261,15.7782921408811,-8.2269833881374]\\\",\\\"[-0.0002504304629586,0.0021163039457238,0.00073466073583102]\\\"]\",\"[-657000,\\\"[-17.0086014985033,33.059074387642,15.4080189624259]\\\",\\\"[-0.0019676551946049,-0.001833770776677,0.000020125441459959]\\\"]\",\"[-620500,\\\"[26.9005106893171,-21.5285596810214,-14.7987712668075]\\\",\\\"[0.0022939261196998,0.0017431871970059,-0.00014585639832643]\\\"]\",\"[-584000,\\\"[20.2303809506997,43.2669666571891,7.3829660919234]\\\",\\\"[-0.0019754081700585,0.00053457141292226,0.00075929169129793]\\\"]\",\"[-547500,\\\"[-22.5571440338751,-19.2958112538447,0.7806423603826]\\\",\\\"[0.0021494578646505,-0.0024266772630044,-0.0014013084013574]\\\"]\",\"[-511000,\\\"[43.023623681036,19.6179542007347,-6.8406553041565]\\\",\\\"[-0.00047729923671058,0.0020208979483877,0.00077191815992131]\\\"]\",\"[-474500,\\\"[-20.4245105862934,29.5157679318005,15.3408675727018]\\\",\\\"[-0.0018003167284198,-0.0021025226687937,-0.00011262333332859]\\\"]\",\"[-438000,\\\"[30.7746921076872,-18.2366370153037,-14.9455358798963]\\\",\\\"[0.0020113162005465,0.0019353827024189,-0.0000020937793168297]\\\"]\",\"[-401500,\\\"[16.7235440456361,44.0505598318603,8.688611393944]\\\",\\\"[-0.0020565226049264,0.00032710694138777,0.00072006155046579]\\\"]\",\"[-365000,\\\"[-18.4891734360057,-23.1428732331142,-1.6436720878799]\\\",\\\"[0.0025524223225832,-0.0020035792463879,-0.0013910737531294]\\\"]\",\"[-328500,\\\"[42.0853950560734,22.974253125952,-5.5131410205412]\\\",\\\"[-0.00067105845193949,0.0019177289500465,0.00079770011059534]\\\"]\",\"[-292000,\\\"[-23.2753639151193,25.8185142987694,15.0553815885983]\\\",\\\"[-0.0016062295460975,-0.0023395961498533,-0.00024377362639479]\\\"]\",\"[-255500,\\\"[33.901579321013,-14.9421228983498,-14.8664994855707]\\\",\\\"[0.0017455105487563,0.0020655068871494,0.0001169500065763]\\\"]\",\"[-219000,\\\"[13.3770189322702,44.4442211120183,9.8260227015847]\\\",\\\"[-0.0021171882923251,0.00013114714542921,0.00067884578840323]\\\"]\",\"[-182500,\\\"[-14.1723844533379,-26.0054690135836,-3.8387026446526]\\\",\\\"[0.0028419751785822,-0.0015579441656564,-0.001340841671106]\\\"]\",\"[-146000,\\\"[40.9468572586403,25.9049735920209,-4.2563362404988]\\\",\\\"[-0.00083652705194051,0.0018129497136404,0.0008156422827306]\\\"]\",\"[-109500,\\\"[-25.5839689598009,22.0699164999425,14.590202603678]\\\",\\\"[-0.0013923977856331,-0.0025442249745422,-0.00037169906721828]\\\"]\",\"[-73000,\\\"[36.4035708396756,-11.7473067389593,-14.6304139635223]\\\",\\\"[0.0015037714418941,0.0021500325702247,0.00021523781242948]\\\"]\",\"[-36500,\\\"[10.2436041239517,44.5280986402285,10.8048664487066]\\\",\\\"[-0.0021615839201823,-0.000051418983893534,0.0006368706075143]\\\"]\",\"[0,\\\"[-9.8753695807739,-27.9789262247367,-5.7537118247043]\\\",\\\"[0.0030287533248818,-0.0011276087003636,-0.0012651326732361]\\\"]\",\"[36500,\\\"[39.7009143866164,28.4327664903825,-3.0906026170881]\\\",\\\"[-0.00097720559866138,0.0017121518344796,0.00082822409843551]\\\"]\",\"[73000,\\\"[-27.3620419812795,18.4265651225706,13.9975343005914]\\\",\\\"[-0.001169093462134,-0.0027143131627458,-0.00049312695340367]\\\"]\",\"[109500,\\\"[38.3556091850032,-8.7643800131842,-14.2951819118807]\\\",\\\"[0.0012922798115839,0.0022032141141126,0.00029606522103424]\\\"]\",\"[146000,\\\"[7.3929490279056,44.3826789515344,11.6295002148543]\\\",\\\"[-0.002193281545383,-0.00021751799585364,0.00059556516201114]\\\"]\",\"[182500,\\\"[-5.8649529029432,-29.1987619981354,-7.3502494912123]\\\",\\\"[0.0031339384323665,-0.00074205968379701,-0.0011783357537604]\\\"]\",\"[219000,\\\"[38.4269476345329,30.5667598351632,-2.0378379641214]\\\",\\\"[-0.0010958945370084,0.0016194885149659,0.00083705272532546]\\\"]\",\"[255500,\\\"[-28.6586488201636,15.0309000931701,13.3365724093667]\\\",\\\"[-0.00094611899595408,-0.0028506813871559,-0.00060508645822989]\\\"]\",\"[292000,\\\"[39.8319806717528,-6.0784057667647,-13.9098153586562]\\\",\\\"[0.0011117769689167,0.0022362097830152,0.00036230548231153]\\\"]\",\"[328500,\\\"[4.837152376403,44.072311954153,12.3146147867802]\\\",\\\"[-0.0022164547537724,-0.00036790365636785,0.00055542723844616]\\\"]\",\"[365000,\\\"[-2.2619763759487,-29.8581508706765,-8.6502366418978]\\\",\\\"[0.0031821176368396,-0.00040915169873994,-0.0010895893040652]\\\"]\",\"[401500,\\\"[37.1576590087419,32.3528396259588,-1.0950381786229]\\\",\\\"[-0.001198841260683,0.0015356290902995,0.00084339118209852]\\\"]\",\"[438000,\\\"[-29.5767402292299,11.8635359435865,12.6313230398719]\\\",\\\"[-0.00072292830060955,-0.0029587820140709,-0.000708242964503]\\\"]\",\"[474500,\\\"[40.9541099577599,-3.658980594537,-13.499469956395]\\\",\\\"[0.00095387298337127,0.0022572135462477,0.00041826529781128]\\\"]\",\"[511000,\\\"[2.4859523114116,43.6181887566155,12.8914184596699]\\\",\\\"[-0.0022339745420393,-0.00051034757181916,0.00051485330196245]\\\"]\",\"[547500,\\\"[1.0594791441638,-30.1357921778687,-9.7458684762963]\\\",\\\"[0.0031921591684898,-0.0001130531279615,-0.00099954096945965]\\\"]\",\"[584000,\\\"[35.8778640130144,33.8942263660709,-0.2245246362769]\\\",\\\"[-0.0012941245730845,0.0014560427668319,0.00084762160640137]\\\"]\",\"[620500,\\\"[-30.2026537318923,8.7794211940578,11.8609238187578]\\\",\\\"[-0.00049002221381806,-0.0030438768469137,-0.00080605935262763]\\\"]\",\"[657000,\\\"[41.8536204011376,-1.3790965838042,-13.0624345337527]\\\",\\\"[0.00080674627557124,0.0022702374399791,0.00046832587475465]\\\"]\",\"[693500,\\\"[0.2468843977112,43.0303960481227,13.3909343344167]\\\",\\\"[-0.0022436121787266,-0.00065238074250728,0.00047172729553196]\\\"]\",\"[730000,\\\"[4.2432528370899,-30.1182016908248,-10.7074412313491]\\\",\\\"[0.0031725847067411,0.0001609846120227,-0.00090672150593868]\\\"]\"]" @@ -24782,14 +24720,14 @@ "comment": "", "meta": { "range": [ - 110879, - 111939 + 110343, + 111403 ], "filename": "astronomy.js", - "lineno": 2407, + "lineno": 2391, "columnno": 0, "code": { - "id": "astnode100012570", + "id": "astnode100012558", "name": "TerseVector", "type": "ClassDeclaration", "paramnames": [ @@ -24809,14 +24747,14 @@ "comment": "", "meta": { "range": [ - 110903, - 110991 + 110367, + 110455 ], "filename": "astronomy.js", - "lineno": 2408, + "lineno": 2392, "columnno": 4, "code": { - "id": "astnode100012573", + "id": "astnode100012561", "name": "TerseVector", "type": "MethodDefinition", "paramnames": [ @@ -24840,14 +24778,14 @@ "comment": "", "meta": { "range": [ - 110934, - 110944 + 110398, + 110408 ], "filename": "astronomy.js", - "lineno": 2409, + "lineno": 2393, "columnno": 8, "code": { - "id": "astnode100012581", + "id": "astnode100012569", "name": "this.x", "type": "Identifier", "value": "x", @@ -24865,14 +24803,14 @@ "comment": "", "meta": { "range": [ - 110954, - 110964 + 110418, + 110428 ], "filename": "astronomy.js", - "lineno": 2410, + "lineno": 2394, "columnno": 8, "code": { - "id": "astnode100012587", + "id": "astnode100012575", "name": "this.y", "type": "Identifier", "value": "y", @@ -24890,14 +24828,14 @@ "comment": "", "meta": { "range": [ - 110974, - 110984 + 110438, + 110448 ], "filename": "astronomy.js", - "lineno": 2411, + "lineno": 2395, "columnno": 8, "code": { - "id": "astnode100012593", + "id": "astnode100012581", "name": "this.z", "type": "Identifier", "value": "z", @@ -24915,14 +24853,14 @@ "comment": "", "meta": { "range": [ - 110996, - 111074 + 110460, + 110538 ], "filename": "astronomy.js", - "lineno": 2413, + "lineno": 2397, "columnno": 4, "code": { - "id": "astnode100012598", + "id": "astnode100012586", "name": "TerseVector#ToAstroVector", "type": "MethodDefinition", "paramnames": [ @@ -24945,14 +24883,14 @@ "comment": "", "meta": { "range": [ - 111079, - 111167 + 110543, + 110631 ], "filename": "astronomy.js", - "lineno": 2416, + "lineno": 2400, "columnno": 4, "code": { - "id": "astnode100012616", + "id": "astnode100012604", "name": "TerseVector#quadrature", "type": "MethodDefinition", "paramnames": [] @@ -24973,14 +24911,14 @@ "comment": "", "meta": { "range": [ - 111172, - 111276 + 110636, + 110740 ], "filename": "astronomy.js", - "lineno": 2419, + "lineno": 2403, "columnno": 4, "code": { - "id": "astnode100012644", + "id": "astnode100012632", "name": "TerseVector#add", "type": "MethodDefinition", "paramnames": [ @@ -25003,14 +24941,14 @@ "comment": "", "meta": { "range": [ - 111281, - 111385 + 110745, + 110849 ], "filename": "astronomy.js", - "lineno": 2422, + "lineno": 2406, "columnno": 4, "code": { - "id": "astnode100012673", + "id": "astnode100012661", "name": "TerseVector#sub", "type": "MethodDefinition", "paramnames": [ @@ -25033,14 +24971,14 @@ "comment": "", "meta": { "range": [ - 111390, - 111490 + 110854, + 110954 ], "filename": "astronomy.js", - "lineno": 2425, + "lineno": 2409, "columnno": 4, "code": { - "id": "astnode100012702", + "id": "astnode100012690", "name": "TerseVector#incr", "type": "MethodDefinition", "paramnames": [ @@ -25063,14 +25001,14 @@ "comment": "", "meta": { "range": [ - 111412, - 111429 + 110876, + 110893 ], "filename": "astronomy.js", - "lineno": 2426, + "lineno": 2410, "columnno": 8, "code": { - "id": "astnode100012708", + "id": "astnode100012696", "name": "this.x", "type": "MemberExpression", "value": "other.x", @@ -25088,14 +25026,14 @@ "comment": "", "meta": { "range": [ - 111439, - 111456 + 110903, + 110920 ], "filename": "astronomy.js", - "lineno": 2427, + "lineno": 2411, "columnno": 8, "code": { - "id": "astnode100012716", + "id": "astnode100012704", "name": "this.y", "type": "MemberExpression", "value": "other.y", @@ -25113,14 +25051,14 @@ "comment": "", "meta": { "range": [ - 111466, - 111483 + 110930, + 110947 ], "filename": "astronomy.js", - "lineno": 2428, + "lineno": 2412, "columnno": 8, "code": { - "id": "astnode100012724", + "id": "astnode100012712", "name": "this.z", "type": "MemberExpression", "value": "other.z", @@ -25138,14 +25076,14 @@ "comment": "", "meta": { "range": [ - 111495, - 111595 + 110959, + 111059 ], "filename": "astronomy.js", - "lineno": 2430, + "lineno": 2414, "columnno": 4, "code": { - "id": "astnode100012731", + "id": "astnode100012719", "name": "TerseVector#decr", "type": "MethodDefinition", "paramnames": [ @@ -25168,14 +25106,14 @@ "comment": "", "meta": { "range": [ - 111517, - 111534 + 110981, + 110998 ], "filename": "astronomy.js", - "lineno": 2431, + "lineno": 2415, "columnno": 8, "code": { - "id": "astnode100012737", + "id": "astnode100012725", "name": "this.x", "type": "MemberExpression", "value": "other.x", @@ -25193,14 +25131,14 @@ "comment": "", "meta": { "range": [ - 111544, - 111561 + 111008, + 111025 ], "filename": "astronomy.js", - "lineno": 2432, + "lineno": 2416, "columnno": 8, "code": { - "id": "astnode100012745", + "id": "astnode100012733", "name": "this.y", "type": "MemberExpression", "value": "other.y", @@ -25218,14 +25156,14 @@ "comment": "", "meta": { "range": [ - 111571, - 111588 + 111035, + 111052 ], "filename": "astronomy.js", - "lineno": 2433, + "lineno": 2417, "columnno": 8, "code": { - "id": "astnode100012753", + "id": "astnode100012741", "name": "this.z", "type": "MemberExpression", "value": "other.z", @@ -25243,14 +25181,14 @@ "comment": "", "meta": { "range": [ - 111600, - 111702 + 111064, + 111166 ], "filename": "astronomy.js", - "lineno": 2435, + "lineno": 2419, "columnno": 4, "code": { - "id": "astnode100012760", + "id": "astnode100012748", "name": "TerseVector#mul", "type": "MethodDefinition", "paramnames": [ @@ -25273,14 +25211,14 @@ "comment": "", "meta": { "range": [ - 111707, - 111809 + 111171, + 111273 ], "filename": "astronomy.js", - "lineno": 2438, + "lineno": 2422, "columnno": 4, "code": { - "id": "astnode100012783", + "id": "astnode100012771", "name": "TerseVector#div", "type": "MethodDefinition", "paramnames": [ @@ -25303,14 +25241,14 @@ "comment": "", "meta": { "range": [ - 111814, - 111937 + 111278, + 111401 ], "filename": "astronomy.js", - "lineno": 2441, + "lineno": 2425, "columnno": 4, "code": { - "id": "astnode100012806", + "id": "astnode100012794", "name": "TerseVector#mean", "type": "MethodDefinition", "paramnames": [ @@ -25333,14 +25271,14 @@ "comment": "", "meta": { "range": [ - 111940, - 112058 + 111404, + 111522 ], "filename": "astronomy.js", - "lineno": 2445, + "lineno": 2429, "columnno": 0, "code": { - "id": "astnode100012841", + "id": "astnode100012829", "name": "body_state_t", "type": "ClassDeclaration", "paramnames": [ @@ -25360,14 +25298,14 @@ "comment": "", "meta": { "range": [ - 111965, - 112056 + 111429, + 111520 ], "filename": "astronomy.js", - "lineno": 2446, + "lineno": 2430, "columnno": 4, "code": { - "id": "astnode100012844", + "id": "astnode100012832", "name": "body_state_t", "type": "MethodDefinition", "paramnames": [ @@ -25391,14 +25329,14 @@ "comment": "", "meta": { "range": [ - 111997, - 112009 + 111461, + 111473 ], "filename": "astronomy.js", - "lineno": 2447, + "lineno": 2431, "columnno": 8, "code": { - "id": "astnode100012852", + "id": "astnode100012840", "name": "this.tt", "type": "Identifier", "value": "tt", @@ -25416,14 +25354,14 @@ "comment": "", "meta": { "range": [ - 112019, - 112029 + 111483, + 111493 ], "filename": "astronomy.js", - "lineno": 2448, + "lineno": 2432, "columnno": 8, "code": { - "id": "astnode100012858", + "id": "astnode100012846", "name": "this.r", "type": "Identifier", "value": "r", @@ -25441,14 +25379,14 @@ "comment": "", "meta": { "range": [ - 112039, - 112049 + 111503, + 111513 ], "filename": "astronomy.js", - "lineno": 2449, + "lineno": 2433, "columnno": 8, "code": { - "id": "astnode100012864", + "id": "astnode100012852", "name": "this.v", "type": "Identifier", "value": "v", @@ -25466,14 +25404,14 @@ "comment": "", "meta": { "range": [ - 112059, - 112238 + 111523, + 111702 ], "filename": "astronomy.js", - "lineno": 2452, + "lineno": 2436, "columnno": 0, "code": { - "id": "astnode100012869", + "id": "astnode100012857", "name": "BodyStateFromTable", "type": "FunctionDeclaration", "paramnames": [ @@ -25495,14 +25433,14 @@ "comment": "", "meta": { "range": [ - 112239, - 112496 + 111703, + 111960 ], "filename": "astronomy.js", - "lineno": 2456, + "lineno": 2440, "columnno": 0, "code": { - "id": "astnode100012893", + "id": "astnode100012881", "name": "AdjustBarycenterPosVel", "type": "FunctionDeclaration", "paramnames": [ @@ -25528,14 +25466,14 @@ "comment": "", "meta": { "range": [ - 112309, - 112349 + 111773, + 111813 ], "filename": "astronomy.js", - "lineno": 2457, + "lineno": 2441, "columnno": 10, "code": { - "id": "astnode100012901", + "id": "astnode100012889", "name": "shift", "type": "BinaryExpression", "value": "" @@ -25553,14 +25491,14 @@ "comment": "", "meta": { "range": [ - 112361, - 112400 + 111825, + 111864 ], "filename": "astronomy.js", - "lineno": 2458, + "lineno": 2442, "columnno": 10, "code": { - "id": "astnode100012909", + "id": "astnode100012897", "name": "planet", "type": "CallExpression", "value": "" @@ -25578,14 +25516,14 @@ "comment": "", "meta": { "range": [ - 112497, - 112685 + 111961, + 112149 ], "filename": "astronomy.js", - "lineno": 2463, + "lineno": 2447, "columnno": 0, "code": { - "id": "astnode100012947", + "id": "astnode100012935", "name": "AccelerationIncrement", "type": "FunctionDeclaration", "paramnames": [ @@ -25610,14 +25548,14 @@ "comment": "", "meta": { "range": [ - 112566, - 112598 + 112030, + 112062 ], "filename": "astronomy.js", - "lineno": 2464, + "lineno": 2448, "columnno": 10, "code": { - "id": "astnode100012954", + "id": "astnode100012942", "name": "delta", "type": "CallExpression", "value": "" @@ -25635,14 +25573,14 @@ "comment": "", "meta": { "range": [ - 112610, - 112633 + 112074, + 112097 ], "filename": "astronomy.js", - "lineno": 2465, + "lineno": 2449, "columnno": 10, "code": { - "id": "astnode100012962", + "id": "astnode100012950", "name": "r2", "type": "CallExpression", "value": "" @@ -25660,14 +25598,14 @@ "comment": "", "meta": { "range": [ - 112686, - 114273 + 112150, + 113737 ], "filename": "astronomy.js", - "lineno": 2468, + "lineno": 2452, "columnno": 0, "code": { - "id": "astnode100012982", + "id": "astnode100012970", "name": "major_bodies_t", "type": "ClassDeclaration", "paramnames": [ @@ -25685,14 +25623,14 @@ "comment": "", "meta": { "range": [ - 112713, - 113702 + 112177, + 113166 ], "filename": "astronomy.js", - "lineno": 2469, + "lineno": 2453, "columnno": 4, "code": { - "id": "astnode100012985", + "id": "astnode100012973", "name": "major_bodies_t", "type": "MethodDefinition", "paramnames": [ @@ -25714,14 +25652,14 @@ "comment": "", "meta": { "range": [ - 112803, - 112881 + 112267, + 112345 ], "filename": "astronomy.js", - "lineno": 2471, + "lineno": 2455, "columnno": 12, "code": { - "id": "astnode100012991", + "id": "astnode100012979", "name": "ssb", "type": "NewExpression", "value": "" @@ -25739,14 +25677,14 @@ "comment": "", "meta": { "range": [ - 112891, - 112963 + 112355, + 112427 ], "filename": "astronomy.js", - "lineno": 2472, + "lineno": 2456, "columnno": 8, "code": { - "id": "astnode100013007", + "id": "astnode100012995", "name": "this.Jupiter", "type": "CallExpression", "value": "", @@ -25764,14 +25702,14 @@ "comment": "", "meta": { "range": [ - 112973, - 113042 + 112437, + 112506 ], "filename": "astronomy.js", - "lineno": 2473, + "lineno": 2457, "columnno": 8, "code": { - "id": "astnode100013020", + "id": "astnode100013008", "name": "this.Saturn", "type": "CallExpression", "value": "", @@ -25789,14 +25727,14 @@ "comment": "", "meta": { "range": [ - 113052, - 113121 + 112516, + 112585 ], "filename": "astronomy.js", - "lineno": 2474, + "lineno": 2458, "columnno": 8, "code": { - "id": "astnode100013033", + "id": "astnode100013021", "name": "this.Uranus", "type": "CallExpression", "value": "", @@ -25814,14 +25752,14 @@ "comment": "", "meta": { "range": [ - 113131, - 113203 + 112595, + 112667 ], "filename": "astronomy.js", - "lineno": 2475, + "lineno": 2459, "columnno": 8, "code": { - "id": "astnode100013046", + "id": "astnode100013034", "name": "this.Neptune", "type": "CallExpression", "value": "", @@ -25839,14 +25777,14 @@ "comment": "", "meta": { "range": [ - 113634, - 113695 + 113098, + 113159 ], "filename": "astronomy.js", - "lineno": 2486, + "lineno": 2470, "columnno": 8, "code": { - "id": "astnode100013155", + "id": "astnode100013143", "name": "this.Sun", "type": "NewExpression", "value": "", @@ -25864,14 +25802,14 @@ "comment": "", "meta": { "range": [ - 113707, - 114271 + 113171, + 113735 ], "filename": "astronomy.js", - "lineno": 2488, + "lineno": 2472, "columnno": 4, "code": { - "id": "astnode100013178", + "id": "astnode100013166", "name": "major_bodies_t#Acceleration", "type": "MethodDefinition", "paramnames": [ @@ -25894,14 +25832,14 @@ "comment": "", "meta": { "range": [ - 113900, - 113952 + 113364, + 113416 ], "filename": "astronomy.js", - "lineno": 2491, + "lineno": 2475, "columnno": 12, "code": { - "id": "astnode100013184", + "id": "astnode100013172", "name": "acc", "type": "CallExpression", "value": "" @@ -25919,14 +25857,14 @@ "comment": "/**\n * @ignore\n *\n * @brief The state of a body at an incremental step in a gravity simulation.\n *\n * This is an internal data structure used to represent the\n * position, velocity, and acceleration vectors of a body\n * in a gravity simulation at a given moment in time.\n *\n * @property tt\n * The J2000 terrestrial time of the state [days].\n *\n * @property r\n * The position vector [au].\n *\n * @property v\n * The velocity vector [au/day].\n *\n * @property a\n * The acceleration vector [au/day^2].\n */", "meta": { "range": [ - 114794, - 114939 + 114258, + 114403 ], "filename": "astronomy.js", - "lineno": 2520, + "lineno": 2504, "columnno": 0, "code": { - "id": "astnode100013253", + "id": "astnode100013241", "name": "body_grav_calc_t", "type": "ClassDeclaration", "paramnames": [ @@ -25974,14 +25912,14 @@ "comment": "", "meta": { "range": [ - 114823, - 114937 + 114287, + 114401 ], "filename": "astronomy.js", - "lineno": 2521, + "lineno": 2505, "columnno": 4, "code": { - "id": "astnode100013256", + "id": "astnode100013244", "name": "body_grav_calc_t", "type": "MethodDefinition", "paramnames": [ @@ -26006,14 +25944,14 @@ "comment": "/**\n * @ignore\n *\n * @brief The state of a body at an incremental step in a gravity simulation.\n *\n * This is an internal data structure used to represent the\n * position, velocity, and acceleration vectors of a body\n * in a gravity simulation at a given moment in time.\n *\n * @property tt\n * The J2000 terrestrial time of the state [days].\n *\n * @property r\n * The position vector [au].\n *\n * @property v\n * The velocity vector [au/day].\n *\n * @property a\n * The acceleration vector [au/day^2].\n */", "meta": { "range": [ - 114794, - 114939 + 114258, + 114403 ], "filename": "astronomy.js", - "lineno": 2520, + "lineno": 2504, "columnno": 0, "code": { - "id": "astnode100013253", + "id": "astnode100013241", "name": "body_grav_calc_t", "type": "ClassDeclaration", "paramnames": [ @@ -26060,14 +25998,14 @@ "comment": "", "meta": { "range": [ - 114858, - 114870 + 114322, + 114334 ], "filename": "astronomy.js", - "lineno": 2522, + "lineno": 2506, "columnno": 8, "code": { - "id": "astnode100013265", + "id": "astnode100013253", "name": "this.tt", "type": "Identifier", "value": "tt", @@ -26085,14 +26023,14 @@ "comment": "", "meta": { "range": [ - 114880, - 114890 + 114344, + 114354 ], "filename": "astronomy.js", - "lineno": 2523, + "lineno": 2507, "columnno": 8, "code": { - "id": "astnode100013271", + "id": "astnode100013259", "name": "this.r", "type": "Identifier", "value": "r", @@ -26110,14 +26048,14 @@ "comment": "", "meta": { "range": [ - 114900, - 114910 + 114364, + 114374 ], "filename": "astronomy.js", - "lineno": 2524, + "lineno": 2508, "columnno": 8, "code": { - "id": "astnode100013277", + "id": "astnode100013265", "name": "this.v", "type": "Identifier", "value": "v", @@ -26135,14 +26073,14 @@ "comment": "", "meta": { "range": [ - 114920, - 114930 + 114384, + 114394 ], "filename": "astronomy.js", - "lineno": 2525, + "lineno": 2509, "columnno": 8, "code": { - "id": "astnode100013283", + "id": "astnode100013271", "name": "this.a", "type": "Identifier", "value": "a", @@ -26160,14 +26098,14 @@ "comment": "", "meta": { "range": [ - 114940, - 115048 + 114404, + 114512 ], "filename": "astronomy.js", - "lineno": 2528, + "lineno": 2512, "columnno": 0, "code": { - "id": "astnode100013288", + "id": "astnode100013276", "name": "grav_sim_t", "type": "ClassDeclaration", "paramnames": [ @@ -26186,14 +26124,14 @@ "comment": "", "meta": { "range": [ - 114963, - 115046 + 114427, + 114510 ], "filename": "astronomy.js", - "lineno": 2529, + "lineno": 2513, "columnno": 4, "code": { - "id": "astnode100013291", + "id": "astnode100013279", "name": "grav_sim_t", "type": "MethodDefinition", "paramnames": [ @@ -26216,14 +26154,14 @@ "comment": "", "meta": { "range": [ - 114997, - 115013 + 114461, + 114477 ], "filename": "astronomy.js", - "lineno": 2530, + "lineno": 2514, "columnno": 8, "code": { - "id": "astnode100013298", + "id": "astnode100013286", "name": "this.bary", "type": "Identifier", "value": "bary", @@ -26241,14 +26179,14 @@ "comment": "", "meta": { "range": [ - 115023, - 115039 + 114487, + 114503 ], "filename": "astronomy.js", - "lineno": 2531, + "lineno": 2515, "columnno": 8, "code": { - "id": "astnode100013304", + "id": "astnode100013292", "name": "this.grav", "type": "Identifier", "value": "grav", @@ -26266,14 +26204,14 @@ "comment": "", "meta": { "range": [ - 115049, - 115216 + 114513, + 114680 ], "filename": "astronomy.js", - "lineno": 2534, + "lineno": 2518, "columnno": 0, "code": { - "id": "astnode100013309", + "id": "astnode100013297", "name": "UpdatePosition", "type": "FunctionDeclaration", "paramnames": [ @@ -26295,14 +26233,14 @@ "comment": "", "meta": { "range": [ - 115217, - 116134 + 114681, + 115598 ], "filename": "astronomy.js", - "lineno": 2537, + "lineno": 2521, "columnno": 0, "code": { - "id": "astnode100013370", + "id": "astnode100013358", "name": "GravSim", "type": "FunctionDeclaration", "paramnames": [ @@ -26332,14 +26270,14 @@ "comment": "", "meta": { "range": [ - 115258, - 115277 + 114722, + 114741 ], "filename": "astronomy.js", - "lineno": 2538, + "lineno": 2522, "columnno": 10, "code": { - "id": "astnode100013376", + "id": "astnode100013364", "name": "dt", "type": "BinaryExpression", "value": "" @@ -26357,14 +26295,14 @@ "comment": "", "meta": { "range": [ - 115370, - 115401 + 114834, + 114865 ], "filename": "astronomy.js", - "lineno": 2540, + "lineno": 2524, "columnno": 10, "code": { - "id": "astnode100013384", + "id": "astnode100013372", "name": "bary2", "type": "NewExpression", "value": "" @@ -26382,14 +26320,14 @@ "comment": "", "meta": { "range": [ - 115519, - 115577 + 114983, + 115041 ], "filename": "astronomy.js", - "lineno": 2542, + "lineno": 2526, "columnno": 10, "code": { - "id": "astnode100013390", + "id": "astnode100013378", "name": "approx_pos", "type": "CallExpression", "value": "" @@ -26407,14 +26345,14 @@ "comment": "", "meta": { "range": [ - 115742, - 115797 + 115206, + 115261 ], "filename": "astronomy.js", - "lineno": 2545, + "lineno": 2529, "columnno": 10, "code": { - "id": "astnode100013405", + "id": "astnode100013393", "name": "mean_acc", "type": "CallExpression", "value": "" @@ -26432,14 +26370,14 @@ "comment": "", "meta": { "range": [ - 115892, - 115944 + 115356, + 115408 ], "filename": "astronomy.js", - "lineno": 2547, + "lineno": 2531, "columnno": 10, "code": { - "id": "astnode100013419", + "id": "astnode100013407", "name": "pos", "type": "CallExpression", "value": "" @@ -26457,14 +26395,14 @@ "comment": "", "meta": { "range": [ - 115956, - 115991 + 115420, + 115455 ], "filename": "astronomy.js", - "lineno": 2548, + "lineno": 2532, "columnno": 10, "code": { - "id": "astnode100013432", + "id": "astnode100013420", "name": "vel", "type": "CallExpression", "value": "" @@ -26482,14 +26420,14 @@ "comment": "", "meta": { "range": [ - 116003, - 116032 + 115467, + 115496 ], "filename": "astronomy.js", - "lineno": 2549, + "lineno": 2533, "columnno": 10, "code": { - "id": "astnode100013446", + "id": "astnode100013434", "name": "acc", "type": "CallExpression", "value": "" @@ -26507,14 +26445,14 @@ "comment": "", "meta": { "range": [ - 116044, - 116091 + 115508, + 115555 ], "filename": "astronomy.js", - "lineno": 2550, + "lineno": 2534, "columnno": 10, "code": { - "id": "astnode100013454", + "id": "astnode100013442", "name": "grav", "type": "NewExpression", "value": "" @@ -26532,14 +26470,14 @@ "comment": "", "meta": { "range": [ - 116141, - 116155 + 115605, + 115619 ], "filename": "astronomy.js", - "lineno": 2553, + "lineno": 2537, "columnno": 6, "code": { - "id": "astnode100013468", + "id": "astnode100013456", "name": "PLUTO_DT", "type": "Literal", "value": 250 @@ -26556,14 +26494,14 @@ "comment": "", "meta": { "range": [ - 116163, - 116210 + 115627, + 115674 ], "filename": "astronomy.js", - "lineno": 2554, + "lineno": 2538, "columnno": 6, "code": { - "id": "astnode100013472", + "id": "astnode100013460", "name": "PLUTO_NSTEPS", "type": "BinaryExpression", "value": "" @@ -26580,14 +26518,14 @@ "comment": "", "meta": { "range": [ - 116218, - 116234 + 115682, + 115698 ], "filename": "astronomy.js", - "lineno": 2555, + "lineno": 2539, "columnno": 6, "code": { - "id": "astnode100013480", + "id": "astnode100013468", "name": "pluto_cache", "type": "ArrayExpression", "value": "[]" @@ -26604,14 +26542,14 @@ "comment": "", "meta": { "range": [ - 116236, - 116432 + 115700, + 115896 ], "filename": "astronomy.js", - "lineno": 2556, + "lineno": 2540, "columnno": 0, "code": { - "id": "astnode100013483", + "id": "astnode100013471", "name": "ClampIndex", "type": "FunctionDeclaration", "paramnames": [ @@ -26634,14 +26572,14 @@ "comment": "", "meta": { "range": [ - 116282, - 116306 + 115746, + 115770 ], "filename": "astronomy.js", - "lineno": 2557, + "lineno": 2541, "columnno": 10, "code": { - "id": "astnode100013489", + "id": "astnode100013477", "name": "index", "type": "CallExpression", "value": "" @@ -26659,14 +26597,14 @@ "comment": "", "meta": { "range": [ - 116433, - 116769 + 115897, + 116233 ], "filename": "astronomy.js", - "lineno": 2566, + "lineno": 2550, "columnno": 0, "code": { - "id": "astnode100013514", + "id": "astnode100013502", "name": "GravFromState", "type": "FunctionDeclaration", "paramnames": [ @@ -26693,14 +26631,14 @@ "comment": "", "meta": { "range": [ - 116475, - 116508 + 115939, + 115972 ], "filename": "astronomy.js", - "lineno": 2567, + "lineno": 2551, "columnno": 10, "code": { - "id": "astnode100013519", + "id": "astnode100013507", "name": "state", "type": "CallExpression", "value": "" @@ -26718,14 +26656,14 @@ "comment": "", "meta": { "range": [ - 116520, - 116555 + 115984, + 116019 ], "filename": "astronomy.js", - "lineno": 2568, + "lineno": 2552, "columnno": 10, "code": { - "id": "astnode100013525", + "id": "astnode100013513", "name": "bary", "type": "NewExpression", "value": "" @@ -26743,14 +26681,14 @@ "comment": "", "meta": { "range": [ - 116567, - 116594 + 116031, + 116058 ], "filename": "astronomy.js", - "lineno": 2569, + "lineno": 2553, "columnno": 10, "code": { - "id": "astnode100013533", + "id": "astnode100013521", "name": "r", "type": "CallExpression", "value": "" @@ -26768,14 +26706,14 @@ "comment": "", "meta": { "range": [ - 116606, - 116633 + 116070, + 116097 ], "filename": "astronomy.js", - "lineno": 2570, + "lineno": 2554, "columnno": 10, "code": { - "id": "astnode100013547", + "id": "astnode100013535", "name": "v", "type": "CallExpression", "value": "" @@ -26793,14 +26731,14 @@ "comment": "", "meta": { "range": [ - 116645, - 116669 + 116109, + 116133 ], "filename": "astronomy.js", - "lineno": 2571, + "lineno": 2555, "columnno": 10, "code": { - "id": "astnode100013561", + "id": "astnode100013549", "name": "a", "type": "CallExpression", "value": "" @@ -26818,14 +26756,14 @@ "comment": "", "meta": { "range": [ - 116681, - 116727 + 116145, + 116191 ], "filename": "astronomy.js", - "lineno": 2572, + "lineno": 2556, "columnno": 10, "code": { - "id": "astnode100013569", + "id": "astnode100013557", "name": "grav", "type": "NewExpression", "value": "" @@ -26843,14 +26781,14 @@ "comment": "", "meta": { "range": [ - 116770, - 118346 + 116234, + 117810 ], "filename": "astronomy.js", - "lineno": 2575, + "lineno": 2559, "columnno": 0, "code": { - "id": "astnode100013584", + "id": "astnode100013572", "name": "GetSegment", "type": "FunctionDeclaration", "paramnames": [ @@ -26886,14 +26824,14 @@ "comment": "", "meta": { "range": [ - 116813, - 116839 + 116277, + 116303 ], "filename": "astronomy.js", - "lineno": 2576, + "lineno": 2560, "columnno": 10, "code": { - "id": "astnode100013590", + "id": "astnode100013578", "name": "t0", "type": "MemberExpression", "value": "PlutoStateTable[0][0]" @@ -26911,14 +26849,14 @@ "comment": "", "meta": { "range": [ - 117045, - 117118 + 116509, + 116582 ], "filename": "astronomy.js", - "lineno": 2581, + "lineno": 2565, "columnno": 10, "code": { - "id": "astnode100013615", + "id": "astnode100013603", "name": "seg_index", "type": "CallExpression", "value": "" @@ -26936,14 +26874,14 @@ "comment": "", "meta": { "range": [ - 117163, - 117190 + 116627, + 116654 ], "filename": "astronomy.js", - "lineno": 2583, + "lineno": 2567, "columnno": 14, "code": { - "id": "astnode100013634", + "id": "astnode100013622", "name": "seg", "type": "AssignmentExpression", "value": "cache[undefined]" @@ -26961,14 +26899,14 @@ "comment": "", "meta": { "range": [ - 117169, - 117190 + 116633, + 116654 ], "filename": "astronomy.js", - "lineno": 2583, + "lineno": 2567, "columnno": 20, "code": { - "id": "astnode100013636", + "id": "astnode100013624", "name": "cache[undefined]", "type": "ArrayExpression", "value": "[]", @@ -26985,14 +26923,14 @@ "comment": "", "meta": { "range": [ - 117235, - 117290 + 116699, + 116754 ], "filename": "astronomy.js", - "lineno": 2585, + "lineno": 2569, "columnno": 8, "code": { - "id": "astnode100013642", + "id": "astnode100013630", "name": "seg[0]", "type": "MemberExpression", "funcscope": "GetSegment", @@ -27011,14 +26949,14 @@ "comment": "", "meta": { "range": [ - 117300, - 117374 + 116764, + 116838 ], "filename": "astronomy.js", - "lineno": 2586, + "lineno": 2570, "columnno": 8, "code": { - "id": "astnode100013654", + "id": "astnode100013642", "name": "seg[undefined]", "type": "MemberExpression", "funcscope": "GetSegment", @@ -27037,14 +26975,14 @@ "comment": "", "meta": { "range": [ - 117444, - 117445 + 116908, + 116909 ], "filename": "astronomy.js", - "lineno": 2588, + "lineno": 2572, "columnno": 12, "code": { - "id": "astnode100013670", + "id": "astnode100013658", "name": "i" } }, @@ -27060,14 +26998,14 @@ "comment": "", "meta": { "range": [ - 117459, - 117478 + 116923, + 116942 ], "filename": "astronomy.js", - "lineno": 2589, + "lineno": 2573, "columnno": 12, "code": { - "id": "astnode100013673", + "id": "astnode100013661", "name": "step_tt", "type": "MemberExpression", "value": "seg[0].tt" @@ -27085,14 +27023,14 @@ "comment": "", "meta": { "range": [ - 117493, - 117498 + 116957, + 116962 ], "filename": "astronomy.js", - "lineno": 2590, + "lineno": 2574, "columnno": 13, "code": { - "id": "astnode100013681", + "id": "astnode100013669", "name": "i", "type": "Literal", "funcscope": "GetSegment", @@ -27111,14 +27049,14 @@ "comment": "", "meta": { "range": [ - 117539, - 117593 + 117003, + 117057 ], "filename": "astronomy.js", - "lineno": 2591, + "lineno": 2575, "columnno": 12, "code": { - "id": "astnode100013692", + "id": "astnode100013680", "name": "seg[undefined]", "type": "MemberExpression", "funcscope": "GetSegment", @@ -27137,14 +27075,14 @@ "comment": "", "meta": { "range": [ - 117556, - 117575 + 117020, + 117039 ], "filename": "astronomy.js", - "lineno": 2591, + "lineno": 2575, "columnno": 29, "code": { - "id": "astnode100013699", + "id": "astnode100013687", "name": "step_tt", "type": "Identifier", "funcscope": "GetSegment", @@ -27163,14 +27101,14 @@ "comment": "", "meta": { "range": [ - 117660, - 117694 + 117124, + 117158 ], "filename": "astronomy.js", - "lineno": 2593, + "lineno": 2577, "columnno": 8, "code": { - "id": "astnode100013709", + "id": "astnode100013697", "name": "step_tt", "type": "MemberExpression", "funcscope": "GetSegment", @@ -27189,14 +27127,14 @@ "comment": "", "meta": { "range": [ - 117708, - 117720 + 117172, + 117184 ], "filename": "astronomy.js", - "lineno": 2594, + "lineno": 2578, "columnno": 12, "code": { - "id": "astnode100013719", + "id": "astnode100013707", "name": "reverse", "type": "ArrayExpression", "value": "[]" @@ -27214,14 +27152,14 @@ "comment": "", "meta": { "range": [ - 117730, - 117779 + 117194, + 117243 ], "filename": "astronomy.js", - "lineno": 2595, + "lineno": 2579, "columnno": 8, "code": { - "id": "astnode100013723", + "id": "astnode100013711", "name": "reverse[undefined]", "type": "MemberExpression", "funcscope": "GetSegment", @@ -27240,14 +27178,14 @@ "comment": "", "meta": { "range": [ - 117794, - 117814 + 117258, + 117278 ], "filename": "astronomy.js", - "lineno": 2596, + "lineno": 2580, "columnno": 13, "code": { - "id": "astnode100013735", + "id": "astnode100013723", "name": "i", "type": "BinaryExpression", "funcscope": "GetSegment", @@ -27266,14 +27204,14 @@ "comment": "", "meta": { "range": [ - 117840, - 117902 + 117304, + 117366 ], "filename": "astronomy.js", - "lineno": 2597, + "lineno": 2581, "columnno": 12, "code": { - "id": "astnode100013746", + "id": "astnode100013734", "name": "reverse[undefined]", "type": "MemberExpression", "funcscope": "GetSegment", @@ -27292,14 +27230,14 @@ "comment": "", "meta": { "range": [ - 117861, - 117880 + 117325, + 117344 ], "filename": "astronomy.js", - "lineno": 2597, + "lineno": 2581, "columnno": 33, "code": { - "id": "astnode100013753", + "id": "astnode100013741", "name": "step_tt", "type": "Identifier", "funcscope": "GetSegment", @@ -27318,14 +27256,14 @@ "comment": "", "meta": { "range": [ - 117990, - 118010 + 117454, + 117474 ], "filename": "astronomy.js", - "lineno": 2599, + "lineno": 2583, "columnno": 13, "code": { - "id": "astnode100013763", + "id": "astnode100013751", "name": "i", "type": "BinaryExpression", "funcscope": "GetSegment", @@ -27344,14 +27282,14 @@ "comment": "", "meta": { "range": [ - 118044, - 118073 + 117508, + 117537 ], "filename": "astronomy.js", - "lineno": 2600, + "lineno": 2584, "columnno": 18, "code": { - "id": "astnode100013775", + "id": "astnode100013763", "name": "ramp", "type": "BinaryExpression", "value": "" @@ -27369,14 +27307,14 @@ "comment": "", "meta": { "range": [ - 118087, - 118148 + 117551, + 117612 ], "filename": "astronomy.js", - "lineno": 2601, + "lineno": 2585, "columnno": 12, "code": { - "id": "astnode100013783", + "id": "astnode100013771", "name": "seg[undefined].r", "type": "CallExpression", "funcscope": "GetSegment", @@ -27395,14 +27333,14 @@ "comment": "", "meta": { "range": [ - 118162, - 118223 + 117626, + 117687 ], "filename": "astronomy.js", - "lineno": 2602, + "lineno": 2586, "columnno": 12, "code": { - "id": "astnode100013813", + "id": "astnode100013801", "name": "seg[undefined].v", "type": "CallExpression", "funcscope": "GetSegment", @@ -27421,14 +27359,14 @@ "comment": "", "meta": { "range": [ - 118237, - 118298 + 117701, + 117762 ], "filename": "astronomy.js", - "lineno": 2603, + "lineno": 2587, "columnno": 12, "code": { - "id": "astnode100013843", + "id": "astnode100013831", "name": "seg[undefined].a", "type": "CallExpression", "funcscope": "GetSegment", @@ -27447,14 +27385,14 @@ "comment": "", "meta": { "range": [ - 118347, - 118627 + 117811, + 118091 ], "filename": "astronomy.js", - "lineno": 2608, + "lineno": 2592, "columnno": 0, "code": { - "id": "astnode100013876", + "id": "astnode100013864", "name": "CalcPlutoOneWay", "type": "FunctionDeclaration", "paramnames": [ @@ -27480,14 +27418,14 @@ "comment": "", "meta": { "range": [ - 118404, - 118430 + 117868, + 117894 ], "filename": "astronomy.js", - "lineno": 2609, + "lineno": 2593, "columnno": 8, "code": { - "id": "astnode100013883", + "id": "astnode100013871", "name": "sim", "type": "CallExpression", "value": "" @@ -27505,14 +27443,14 @@ "comment": "", "meta": { "range": [ - 118442, - 118487 + 117906, + 117951 ], "filename": "astronomy.js", - "lineno": 2610, + "lineno": 2594, "columnno": 10, "code": { - "id": "astnode100013889", + "id": "astnode100013877", "name": "n", "type": "CallExpression", "value": "" @@ -27530,14 +27468,14 @@ "comment": "", "meta": { "range": [ - 118502, - 118507 + 117966, + 117971 ], "filename": "astronomy.js", - "lineno": 2611, + "lineno": 2595, "columnno": 13, "code": { - "id": "astnode100013906", + "id": "astnode100013894", "name": "i", "type": "Literal", "value": 0 @@ -27555,14 +27493,14 @@ "comment": "", "meta": { "range": [ - 118531, - 118602 + 117995, + 118066 ], "filename": "astronomy.js", - "lineno": 2612, + "lineno": 2596, "columnno": 8, "code": { - "id": "astnode100013916", + "id": "astnode100013904", "name": "sim", "type": "CallExpression", "funcscope": "CalcPlutoOneWay", @@ -27581,14 +27519,14 @@ "comment": "", "meta": { "range": [ - 118628, - 120126 + 118092, + 119590 ], "filename": "astronomy.js", - "lineno": 2616, + "lineno": 2600, "columnno": 0, "code": { - "id": "astnode100013939", + "id": "astnode100013927", "name": "CalcPluto", "type": "FunctionDeclaration", "paramnames": [ @@ -27620,14 +27558,14 @@ "comment": "", "meta": { "range": [ - 118663, - 118664 + 118127, + 118128 ], "filename": "astronomy.js", - "lineno": 2617, + "lineno": 2601, "columnno": 8, "code": { - "id": "astnode100013944", + "id": "astnode100013932", "name": "r" } }, @@ -27643,14 +27581,14 @@ "comment": "", "meta": { "range": [ - 118666, - 118670 + 118130, + 118134 ], "filename": "astronomy.js", - "lineno": 2617, + "lineno": 2601, "columnno": 11, "code": { - "id": "astnode100013946", + "id": "astnode100013934", "name": "bary" } }, @@ -27666,14 +27604,14 @@ "comment": "", "meta": { "range": [ - 118682, - 118720 + 118146, + 118184 ], "filename": "astronomy.js", - "lineno": 2618, + "lineno": 2602, "columnno": 10, "code": { - "id": "astnode100013949", + "id": "astnode100013937", "name": "seg", "type": "CallExpression", "value": "" @@ -27691,14 +27629,14 @@ "comment": "", "meta": { "range": [ - 118985, - 118988 + 118449, + 118452 ], "filename": "astronomy.js", - "lineno": 2623, + "lineno": 2607, "columnno": 12, "code": { - "id": "astnode100013962", + "id": "astnode100013950", "name": "sim" } }, @@ -27714,14 +27652,14 @@ "comment": "", "meta": { "range": [ - 119047, - 119108 + 118511, + 118572 ], "filename": "astronomy.js", - "lineno": 2625, + "lineno": 2609, "columnno": 12, "code": { - "id": "astnode100013975", + "id": "astnode100013963", "name": "sim", "type": "CallExpression", "funcscope": "CalcPluto", @@ -27740,14 +27678,14 @@ "comment": "", "meta": { "range": [ - 119135, - 119215 + 118599, + 118679 ], "filename": "astronomy.js", - "lineno": 2627, + "lineno": 2611, "columnno": 12, "code": { - "id": "astnode100013988", + "id": "astnode100013976", "name": "sim", "type": "CallExpression", "funcscope": "CalcPluto", @@ -27766,14 +27704,14 @@ "comment": "", "meta": { "range": [ - 119225, - 119239 + 118689, + 118703 ], "filename": "astronomy.js", - "lineno": 2628, + "lineno": 2612, "columnno": 8, "code": { - "id": "astnode100014003", + "id": "astnode100013991", "name": "r", "type": "MemberExpression", "funcscope": "CalcPluto", @@ -27792,14 +27730,14 @@ "comment": "", "meta": { "range": [ - 119249, - 119264 + 118713, + 118728 ], "filename": "astronomy.js", - "lineno": 2629, + "lineno": 2613, "columnno": 8, "code": { - "id": "astnode100014011", + "id": "astnode100013999", "name": "bary", "type": "MemberExpression", "funcscope": "CalcPluto", @@ -27818,14 +27756,14 @@ "comment": "", "meta": { "range": [ - 119297, - 119366 + 118761, + 118830 ], "filename": "astronomy.js", - "lineno": 2632, + "lineno": 2616, "columnno": 14, "code": { - "id": "astnode100014018", + "id": "astnode100014006", "name": "left", "type": "CallExpression", "value": "" @@ -27843,14 +27781,14 @@ "comment": "", "meta": { "range": [ - 119382, - 119396 + 118846, + 118860 ], "filename": "astronomy.js", - "lineno": 2633, + "lineno": 2617, "columnno": 14, "code": { - "id": "astnode100014037", + "id": "astnode100014025", "name": "s1", "type": "MemberExpression", "value": "seg[undefined]" @@ -27868,14 +27806,14 @@ "comment": "", "meta": { "range": [ - 119412, - 119430 + 118876, + 118894 ], "filename": "astronomy.js", - "lineno": 2634, + "lineno": 2618, "columnno": 14, "code": { - "id": "astnode100014043", + "id": "astnode100014031", "name": "s2", "type": "MemberExpression", "value": "seg[undefined]" @@ -27893,14 +27831,14 @@ "comment": "", "meta": { "range": [ - 119506, - 119527 + 118970, + 118991 ], "filename": "astronomy.js", - "lineno": 2636, + "lineno": 2620, "columnno": 14, "code": { - "id": "astnode100014051", + "id": "astnode100014039", "name": "acc", "type": "CallExpression", "value": "" @@ -27918,14 +27856,14 @@ "comment": "", "meta": { "range": [ - 119638, - 119691 + 119102, + 119155 ], "filename": "astronomy.js", - "lineno": 2638, + "lineno": 2622, "columnno": 14, "code": { - "id": "astnode100014063", + "id": "astnode100014051", "name": "ra", "type": "CallExpression", "value": "" @@ -27943,14 +27881,14 @@ "comment": "", "meta": { "range": [ - 119802, - 119855 + 119266, + 119319 ], "filename": "astronomy.js", - "lineno": 2640, + "lineno": 2624, "columnno": 14, "code": { - "id": "astnode100014082", + "id": "astnode100014070", "name": "rb", "type": "CallExpression", "value": "" @@ -27968,14 +27906,14 @@ "comment": "", "meta": { "range": [ - 119940, - 119975 + 119404, + 119439 ], "filename": "astronomy.js", - "lineno": 2642, + "lineno": 2626, "columnno": 14, "code": { - "id": "astnode100014101", + "id": "astnode100014089", "name": "ramp", "type": "BinaryExpression", "value": "" @@ -27993,14 +27931,14 @@ "comment": "", "meta": { "range": [ - 119985, - 120023 + 119449, + 119487 ], "filename": "astronomy.js", - "lineno": 2643, + "lineno": 2627, "columnno": 8, "code": { - "id": "astnode100014113", + "id": "astnode100014101", "name": "r", "type": "CallExpression", "funcscope": "CalcPluto", @@ -28019,14 +27957,14 @@ "comment": "", "meta": { "range": [ - 120033, - 120067 + 119497, + 119531 ], "filename": "astronomy.js", - "lineno": 2644, + "lineno": 2628, "columnno": 8, "code": { - "id": "astnode100014131", + "id": "astnode100014119", "name": "bary", "type": "NewExpression", "funcscope": "CalcPluto", @@ -28045,14 +27983,14 @@ "comment": "/**\n * @brief Calculates a vector from the center of the Sun to the given body at the given time.\n *\n * Calculates heliocentric (i.e., with respect to the center of the Sun)\n * Cartesian coordinates in the J2000 equatorial system of a celestial\n * body at a specified time. The position is not corrected for light travel time or aberration.\n *\n * @param {Body} body\n * One of the strings\n * `\"Sun\"`, `\"Moon\"`, `\"Mercury\"`, `\"Venus\"`,\n * `\"Earth\"`, `\"Mars\"`, `\"Jupiter\"`, `\"Saturn\"`,\n * `\"Uranus\"`, `\"Neptune\"`, `\"Pluto\"`,\n * `\"SSB\"`, or `\"EMB\"`.\n *\n * @param {FlexibleDateTime} date\n * The date and time for which the body's position is to be calculated.\n *\n * @returns {Vector}\n */", "meta": { "range": [ - 120919, - 121775 + 120383, + 121239 ], "filename": "astronomy.js", - "lineno": 2668, + "lineno": 2652, "columnno": 0, "code": { - "id": "astnode100014152", + "id": "astnode100014140", "name": "HelioVector", "type": "FunctionDeclaration", "paramnames": [ @@ -28113,14 +28051,14 @@ "comment": "", "meta": { "range": [ - 120962, - 120983 + 120426, + 120447 ], "filename": "astronomy.js", - "lineno": 2669, + "lineno": 2653, "columnno": 8, "code": { - "id": "astnode100014158", + "id": "astnode100014146", "name": "time", "type": "CallExpression", "value": "" @@ -28138,14 +28076,14 @@ "comment": "", "meta": { "range": [ - 121246, - 121276 + 120710, + 120740 ], "filename": "astronomy.js", - "lineno": 2680, + "lineno": 2664, "columnno": 12, "code": { - "id": "astnode100014208", + "id": "astnode100014196", "name": "e", "type": "CallExpression", "value": "" @@ -28163,14 +28101,14 @@ "comment": "", "meta": { "range": [ - 121290, - 121307 + 120754, + 120771 ], "filename": "astronomy.js", - "lineno": 2681, + "lineno": 2665, "columnno": 12, "code": { - "id": "astnode100014217", + "id": "astnode100014205", "name": "m", "type": "CallExpression", "value": "" @@ -28188,14 +28126,14 @@ "comment": "", "meta": { "range": [ - 121424, - 121454 + 120888, + 120918 ], "filename": "astronomy.js", - "lineno": 2685, + "lineno": 2669, "columnno": 14, "code": { - "id": "astnode100014255", + "id": "astnode100014243", "name": "e", "type": "CallExpression", "value": "" @@ -28213,14 +28151,14 @@ "comment": "", "meta": { "range": [ - 121470, - 121487 + 120934, + 120951 ], "filename": "astronomy.js", - "lineno": 2686, + "lineno": 2670, "columnno": 14, "code": { - "id": "astnode100014264", + "id": "astnode100014252", "name": "m", "type": "CallExpression", "value": "" @@ -28238,14 +28176,14 @@ "comment": "", "meta": { "range": [ - 121503, - 121538 + 120967, + 121002 ], "filename": "astronomy.js", - "lineno": 2687, + "lineno": 2671, "columnno": 14, "code": { - "id": "astnode100014270", + "id": "astnode100014258", "name": "denom", "type": "BinaryExpression", "value": "" @@ -28263,14 +28201,14 @@ "comment": "", "meta": { "range": [ - 121776, - 121809 + 121240, + 121273 ], "filename": "astronomy.js", - "lineno": 2695, + "lineno": 2679, "columnno": 0, "code": { - "id": "astnode100014323", + "id": "astnode100014311", "name": "exports.HelioVector", "type": "Identifier", "value": "HelioVector", @@ -28287,14 +28225,14 @@ "comment": "/**\n * @brief Calculates the distance between a body and the Sun at a given time.\n *\n * Given a date and time, this function calculates the distance between\n * the center of `body` and the center of the Sun.\n * For the planets Mercury through Neptune, this function is significantly\n * more efficient than calling {@link HelioVector} followed by taking the length\n * of the resulting vector.\n *\n * @param {Body} body\n * A body for which to calculate a heliocentric distance:\n * the Sun, Moon, or any of the planets.\n *\n * @param {FlexibleDateTime} date\n * The date and time for which to calculate the heliocentric distance.\n *\n * @returns {number}\n * The heliocentric distance in AU.\n */", "meta": { "range": [ - 122521, - 122749 + 121985, + 122213 ], "filename": "astronomy.js", - "lineno": 2716, + "lineno": 2700, "columnno": 0, "code": { - "id": "astnode100014329", + "id": "astnode100014317", "name": "HelioDistance", "type": "FunctionDeclaration", "paramnames": [ @@ -28353,14 +28291,14 @@ "comment": "", "meta": { "range": [ - 122568, - 122589 + 122032, + 122053 ], "filename": "astronomy.js", - "lineno": 2717, + "lineno": 2701, "columnno": 10, "code": { - "id": "astnode100014335", + "id": "astnode100014323", "name": "time", "type": "CallExpression", "value": "" @@ -28378,14 +28316,14 @@ "comment": "", "meta": { "range": [ - 122750, - 122787 + 122214, + 122251 ], "filename": "astronomy.js", - "lineno": 2723, + "lineno": 2707, "columnno": 0, "code": { - "id": "astnode100014367", + "id": "astnode100014355", "name": "exports.HelioDistance", "type": "Identifier", "value": "HelioDistance", @@ -28402,14 +28340,14 @@ "comment": "/**\n * @brief Calculates a vector from the center of the Earth to the given body at the given time.\n *\n * Calculates geocentric (i.e., with respect to the center of the Earth)\n * Cartesian coordinates in the J2000 equatorial system of a celestial\n * body at a specified time. The position is always corrected for light travel time:\n * this means the position of the body is \"back-dated\" based on how long it\n * takes light to travel from the body to an observer on the Earth.\n * Also, the position can optionally be corrected for aberration, an effect\n * causing the apparent direction of the body to be shifted based on\n * transverse movement of the Earth with respect to the rays of light\n * coming from that body.\n *\n * @param {Body} body\n * One of the strings\n * `\"Sun\"`, `\"Moon\"`, `\"Mercury\"`, `\"Venus\"`,\n * `\"Earth\"`, `\"Mars\"`, `\"Jupiter\"`, `\"Saturn\"`,\n * `\"Uranus\"`, `\"Neptune\"`, or `\"Pluto\"`.\n *\n * @param {FlexibleDateTime} date\n * The date and time for which the body's position is to be calculated.\n *\n * @param {bool} aberration\n * Pass `true` to correct for\n * aberration,\n * or `false` to leave uncorrected.\n *\n * @returns {Vector}\n */", "meta": { "range": [ - 124043, - 126063 + 123507, + 125527 ], "filename": "astronomy.js", - "lineno": 2753, + "lineno": 2737, "columnno": 0, "code": { - "id": "astnode100014372", + "id": "astnode100014360", "name": "GeoVector", "type": "FunctionDeclaration", "paramnames": [ @@ -28484,14 +28422,14 @@ "comment": "", "meta": { "range": [ - 124129, - 124150 + 123593, + 123614 ], "filename": "astronomy.js", - "lineno": 2755, + "lineno": 2739, "columnno": 10, "code": { - "id": "astnode100014383", + "id": "astnode100014371", "name": "time", "type": "CallExpression", "value": "" @@ -28509,14 +28447,14 @@ "comment": "", "meta": { "range": [ - 124305, - 124317 + 123769, + 123781 ], "filename": "astronomy.js", - "lineno": 2762, + "lineno": 2746, "columnno": 8, "code": { - "id": "astnode100014414", + "id": "astnode100014402", "name": "earth", "type": "Literal", "value": null @@ -28534,14 +28472,14 @@ "comment": "", "meta": { "range": [ - 124327, - 124328 + 123791, + 123792 ], "filename": "astronomy.js", - "lineno": 2763, + "lineno": 2747, "columnno": 8, "code": { - "id": "astnode100014418", + "id": "astnode100014406", "name": "h" } }, @@ -28557,14 +28495,14 @@ "comment": "", "meta": { "range": [ - 124338, - 124341 + 123802, + 123805 ], "filename": "astronomy.js", - "lineno": 2764, + "lineno": 2748, "columnno": 8, "code": { - "id": "astnode100014421", + "id": "astnode100014409", "name": "geo" } }, @@ -28580,14 +28518,14 @@ "comment": "", "meta": { "range": [ - 124351, - 124357 + 123815, + 123821 ], "filename": "astronomy.js", - "lineno": 2765, + "lineno": 2749, "columnno": 8, "code": { - "id": "astnode100014424", + "id": "astnode100014412", "name": "dt", "type": "Literal", "value": 0 @@ -28605,14 +28543,14 @@ "comment": "", "meta": { "range": [ - 124367, - 124379 + 123831, + 123843 ], "filename": "astronomy.js", - "lineno": 2766, + "lineno": 2750, "columnno": 8, "code": { - "id": "astnode100014428", + "id": "astnode100014416", "name": "ltime", "type": "Identifier", "value": "time" @@ -28630,14 +28568,14 @@ "comment": "", "meta": { "range": [ - 124485, - 124493 + 123949, + 123957 ], "filename": "astronomy.js", - "lineno": 2768, + "lineno": 2752, "columnno": 13, "code": { - "id": "astnode100014433", + "id": "astnode100014421", "name": "iter", "type": "Literal", "value": 0 @@ -28655,14 +28593,14 @@ "comment": "", "meta": { "range": [ - 124524, - 124552 + 123988, + 124016 ], "filename": "astronomy.js", - "lineno": 2769, + "lineno": 2753, "columnno": 8, "code": { - "id": "astnode100014443", + "id": "astnode100014431", "name": "h", "type": "CallExpression", "funcscope": "GeoVector", @@ -28681,14 +28619,14 @@ "comment": "", "meta": { "range": [ - 125462, - 125497 + 124926, + 124961 ], "filename": "astronomy.js", - "lineno": 2784, + "lineno": 2768, "columnno": 12, "code": { - "id": "astnode100014453", + "id": "astnode100014441", "name": "earth", "type": "CallExpression", "funcscope": "GeoVector", @@ -28707,14 +28645,14 @@ "comment": "", "meta": { "range": [ - 125664, - 125698 + 125128, + 125162 ], "filename": "astronomy.js", - "lineno": 2789, + "lineno": 2773, "columnno": 16, "code": { - "id": "astnode100014467", + "id": "astnode100014455", "name": "earth", "type": "CallExpression", "funcscope": "GeoVector", @@ -28733,14 +28671,14 @@ "comment": "", "meta": { "range": [ - 125732, - 125799 + 125196, + 125263 ], "filename": "astronomy.js", - "lineno": 2792, + "lineno": 2776, "columnno": 8, "code": { - "id": "astnode100014476", + "id": "astnode100014464", "name": "geo", "type": "NewExpression", "funcscope": "GeoVector", @@ -28759,14 +28697,14 @@ "comment": "", "meta": { "range": [ - 125813, - 125859 + 125277, + 125323 ], "filename": "astronomy.js", - "lineno": 2793, + "lineno": 2777, "columnno": 12, "code": { - "id": "astnode100014503", + "id": "astnode100014491", "name": "ltime2", "type": "CallExpression", "value": "" @@ -28784,14 +28722,14 @@ "comment": "", "meta": { "range": [ - 125869, - 125904 + 125333, + 125368 ], "filename": "astronomy.js", - "lineno": 2794, + "lineno": 2778, "columnno": 8, "code": { - "id": "astnode100014517", + "id": "astnode100014505", "name": "dt", "type": "CallExpression", "funcscope": "GeoVector", @@ -28810,14 +28748,14 @@ "comment": "", "meta": { "range": [ - 125975, - 125989 + 125439, + 125453 ], "filename": "astronomy.js", - "lineno": 2798, + "lineno": 2782, "columnno": 8, "code": { - "id": "astnode100014538", + "id": "astnode100014526", "name": "ltime", "type": "Identifier", "funcscope": "GeoVector", @@ -28836,14 +28774,14 @@ "comment": "", "meta": { "range": [ - 126064, - 126093 + 125528, + 125557 ], "filename": "astronomy.js", - "lineno": 2802, + "lineno": 2786, "columnno": 0, "code": { - "id": "astnode100014547", + "id": "astnode100014535", "name": "exports.GeoVector", "type": "Identifier", "value": "GeoVector", @@ -28860,14 +28798,14 @@ "comment": "", "meta": { "range": [ - 126095, - 127122 + 125559, + 126586 ], "filename": "astronomy.js", - "lineno": 2803, + "lineno": 2787, "columnno": 0, "code": { - "id": "astnode100014552", + "id": "astnode100014540", "name": "QuadInterp", "type": "FunctionDeclaration", "paramnames": [ @@ -28902,14 +28840,14 @@ "comment": "", "meta": { "range": [ - 126145, - 126167 + 125609, + 125631 ], "filename": "astronomy.js", - "lineno": 2804, + "lineno": 2788, "columnno": 8, "code": { - "id": "astnode100014561", + "id": "astnode100014549", "name": "Q", "type": "BinaryExpression", "value": "" @@ -28927,14 +28865,14 @@ "comment": "", "meta": { "range": [ - 126177, - 126194 + 125641, + 125658 ], "filename": "astronomy.js", - "lineno": 2805, + "lineno": 2789, "columnno": 8, "code": { - "id": "astnode100014571", + "id": "astnode100014559", "name": "R", "type": "BinaryExpression", "value": "" @@ -28952,14 +28890,14 @@ "comment": "", "meta": { "range": [ - 126204, - 126210 + 125668, + 125674 ], "filename": "astronomy.js", - "lineno": 2806, + "lineno": 2790, "columnno": 8, "code": { - "id": "astnode100014579", + "id": "astnode100014567", "name": "S", "type": "Identifier", "value": "fm" @@ -28977,14 +28915,14 @@ "comment": "", "meta": { "range": [ - 126220, - 126221 + 125684, + 125685 ], "filename": "astronomy.js", - "lineno": 2807, + "lineno": 2791, "columnno": 8, "code": { - "id": "astnode100014583", + "id": "astnode100014571", "name": "x" } }, @@ -29000,14 +28938,14 @@ "comment": "", "meta": { "range": [ - 126414, - 126424 + 125878, + 125888 ], "filename": "astronomy.js", - "lineno": 2814, + "lineno": 2798, "columnno": 8, "code": { - "id": "astnode100014598", + "id": "astnode100014586", "name": "x", "type": "BinaryExpression", "funcscope": "QuadInterp", @@ -29026,14 +28964,14 @@ "comment": "", "meta": { "range": [ - 126582, - 126603 + 126046, + 126067 ], "filename": "astronomy.js", - "lineno": 2820, + "lineno": 2804, "columnno": 12, "code": { - "id": "astnode100014618", + "id": "astnode100014606", "name": "u", "type": "BinaryExpression", "value": "" @@ -29051,14 +28989,14 @@ "comment": "", "meta": { "range": [ - 126662, - 126679 + 126126, + 126143 ], "filename": "astronomy.js", - "lineno": 2823, + "lineno": 2807, "columnno": 12, "code": { - "id": "astnode100014636", + "id": "astnode100014624", "name": "ru", "type": "CallExpression", "value": "" @@ -29076,14 +29014,14 @@ "comment": "", "meta": { "range": [ - 126693, - 126717 + 126157, + 126181 ], "filename": "astronomy.js", - "lineno": 2824, + "lineno": 2808, "columnno": 12, "code": { - "id": "astnode100014644", + "id": "astnode100014632", "name": "x1", "type": "BinaryExpression", "value": "" @@ -29101,14 +29039,14 @@ "comment": "", "meta": { "range": [ - 126731, - 126755 + 126195, + 126219 ], "filename": "astronomy.js", - "lineno": 2825, + "lineno": 2809, "columnno": 12, "code": { - "id": "astnode100014655", + "id": "astnode100014643", "name": "x2", "type": "BinaryExpression", "value": "" @@ -29126,14 +29064,14 @@ "comment": "", "meta": { "range": [ - 126872, - 126878 + 126336, + 126342 ], "filename": "astronomy.js", - "lineno": 2829, + "lineno": 2813, "columnno": 12, "code": { - "id": "astnode100014689", + "id": "astnode100014677", "name": "x", "type": "Identifier", "funcscope": "QuadInterp", @@ -29152,14 +29090,14 @@ "comment": "", "meta": { "range": [ - 126943, - 126949 + 126407, + 126413 ], "filename": "astronomy.js", - "lineno": 2832, + "lineno": 2816, "columnno": 12, "code": { - "id": "astnode100014704", + "id": "astnode100014692", "name": "x", "type": "Identifier", "funcscope": "QuadInterp", @@ -29178,14 +29116,14 @@ "comment": "", "meta": { "range": [ - 127025, - 127040 + 126489, + 126504 ], "filename": "astronomy.js", - "lineno": 2838, + "lineno": 2822, "columnno": 8, "code": { - "id": "astnode100014711", + "id": "astnode100014699", "name": "t", "type": "BinaryExpression", "value": "" @@ -29203,14 +29141,14 @@ "comment": "", "meta": { "range": [ - 127050, - 127078 + 126514, + 126542 ], "filename": "astronomy.js", - "lineno": 2839, + "lineno": 2823, "columnno": 8, "code": { - "id": "astnode100014719", + "id": "astnode100014707", "name": "df_dt", "type": "BinaryExpression", "value": "" @@ -29228,14 +29166,14 @@ "comment": "", "meta": { "range": [ - 127093, - 127097 + 126557, + 126561 ], "filename": "astronomy.js", - "lineno": 2840, + "lineno": 2824, "columnno": 13, "code": { - "id": "astnode100014732", + "id": "astnode100014720", "name": "x", "type": "Identifier", "value": "x" @@ -29251,14 +29189,14 @@ "comment": "", "meta": { "range": [ - 127099, - 127103 + 126563, + 126567 ], "filename": "astronomy.js", - "lineno": 2840, + "lineno": 2824, "columnno": 19, "code": { - "id": "astnode100014734", + "id": "astnode100014722", "name": "t", "type": "Identifier", "value": "t" @@ -29274,14 +29212,14 @@ "comment": "", "meta": { "range": [ - 127105, - 127117 + 126569, + 126581 ], "filename": "astronomy.js", - "lineno": 2840, + "lineno": 2824, "columnno": 25, "code": { - "id": "astnode100014736", + "id": "astnode100014724", "name": "df_dt", "type": "Identifier", "value": "df_dt" @@ -29297,7 +29235,7 @@ "comment": "/**\n * @brief Options for the {@link Search} function.\n *\n * @typedef {object} SearchOptions\n *\n * @property {number | undefined} dt_tolerance_seconds\n * The number of seconds for a time window smaller than which the search\n * is considered successful. Using too large a tolerance can result in\n * an inaccurate time estimate. Using too small a tolerance can cause\n * excessive computation, or can even cause the search to fail because of\n * limited floating-point resolution. Defaults to 1 second.\n *\n * @property {number | undefined} init_f1\n * As an optimization, if the caller of {@link Search}\n * has already calculated the value of the function being searched (the parameter `func`)\n * at the time coordinate `t1`, it can pass in that value as `init_f1`.\n * For very expensive calculations, this can measurably improve performance.\n *\n * @property {number | undefined} init_f2\n * The same as `init_f1`, except this is the optional initial value of `func(t2)`\n * instead of `func(t1)`.\n *\n * @property {number | undefined} iter_limit\n */", "meta": { "filename": "astronomy.js", - "lineno": 2842, + "lineno": 2826, "columnno": 0, "code": {} }, @@ -29364,14 +29302,14 @@ "comment": "/**\n * @brief Finds the time when a function ascends through zero.\n *\n * Search for next time t (such that t is between `t1` and `t2`)\n * that `func(t)` crosses from a negative value to a non-negative value.\n * The given function must have \"smooth\" behavior over the entire inclusive range [`t1`, `t2`],\n * meaning that it behaves like a continuous differentiable function.\n * It is not required that `t1` < `t2`; `t1` > `t2`\n * allows searching backward in time.\n * Note: `t1` and `t2` must be chosen such that there is no possibility\n * of more than one zero-crossing (ascending or descending), or it is possible\n * that the \"wrong\" event will be found (i.e. not the first event after t1)\n * or even that the function will return `null`, indicating that no event was found.\n *\n * @param {function(AstroTime): number} func\n * The function to find an ascending zero crossing for.\n * The function must accept a single parameter of type {@link AstroTime}\n * and return a numeric value.\n *\n * @param {AstroTime} t1\n * The lower time bound of a search window.\n *\n * @param {AstroTime} t2\n * The upper time bound of a search window.\n *\n * @param {SearchOptions | undefined} options\n * Options that can tune the behavior of the search.\n * Most callers can omit this argument.\n *\n * @returns {AstroTime | null}\n * If the search is successful, returns the date and time of the solution.\n * If the search fails, returns `null`.\n */", "meta": { "range": [ - 129712, - 132704 + 129176, + 132168 ], "filename": "astronomy.js", - "lineno": 2899, + "lineno": 2883, "columnno": 0, "code": { - "id": "astnode100014738", + "id": "astnode100014726", "name": "Search", "type": "FunctionDeclaration", "paramnames": [ @@ -29471,14 +29409,14 @@ "comment": "", "meta": { "range": [ - 129760, - 129843 + 129224, + 129307 ], "filename": "astronomy.js", - "lineno": 2900, + "lineno": 2884, "columnno": 10, "code": { - "id": "astnode100014746", + "id": "astnode100014734", "name": "dt_tolerance_seconds", "type": "CallExpression", "value": "" @@ -29496,14 +29434,14 @@ "comment": "", "meta": { "range": [ - 129855, - 129913 + 129319, + 129377 ], "filename": "astronomy.js", - "lineno": 2901, + "lineno": 2885, "columnno": 10, "code": { - "id": "astnode100014758", + "id": "astnode100014746", "name": "dt_days", "type": "CallExpression", "value": "" @@ -29521,14 +29459,14 @@ "comment": "", "meta": { "range": [ - 129923, - 129965 + 129387, + 129429 ], "filename": "astronomy.js", - "lineno": 2902, + "lineno": 2886, "columnno": 8, "code": { - "id": "astnode100014768", + "id": "astnode100014756", "name": "f1", "type": "LogicalExpression", "value": "" @@ -29546,14 +29484,14 @@ "comment": "", "meta": { "range": [ - 129975, - 130017 + 129439, + 129481 ], "filename": "astronomy.js", - "lineno": 2903, + "lineno": 2887, "columnno": 8, "code": { - "id": "astnode100014780", + "id": "astnode100014768", "name": "f2", "type": "LogicalExpression", "value": "" @@ -29571,14 +29509,14 @@ "comment": "", "meta": { "range": [ - 130027, - 130037 + 129491, + 129501 ], "filename": "astronomy.js", - "lineno": 2904, + "lineno": 2888, "columnno": 8, "code": { - "id": "astnode100014792", + "id": "astnode100014780", "name": "fmid", "type": "Identifier", "value": "NaN" @@ -29596,14 +29534,14 @@ "comment": "", "meta": { "range": [ - 130047, - 130055 + 129511, + 129519 ], "filename": "astronomy.js", - "lineno": 2905, + "lineno": 2889, "columnno": 8, "code": { - "id": "astnode100014796", + "id": "astnode100014784", "name": "iter", "type": "Literal", "value": 0 @@ -29621,14 +29559,14 @@ "comment": "", "meta": { "range": [ - 130065, - 130115 + 129529, + 129579 ], "filename": "astronomy.js", - "lineno": 2906, + "lineno": 2890, "columnno": 8, "code": { - "id": "astnode100014800", + "id": "astnode100014788", "name": "iter_limit", "type": "LogicalExpression", "value": "" @@ -29646,14 +29584,14 @@ "comment": "", "meta": { "range": [ - 130125, - 130141 + 129589, + 129605 ], "filename": "astronomy.js", - "lineno": 2907, + "lineno": 2891, "columnno": 8, "code": { - "id": "astnode100014810", + "id": "astnode100014798", "name": "calc_fmid", "type": "Literal", "value": true @@ -29671,14 +29609,14 @@ "comment": "", "meta": { "range": [ - 130260, - 130295 + 129724, + 129759 ], "filename": "astronomy.js", - "lineno": 2911, + "lineno": 2895, "columnno": 12, "code": { - "id": "astnode100014825", + "id": "astnode100014813", "name": "tmid", "type": "CallExpression", "value": "" @@ -29696,14 +29634,14 @@ "comment": "", "meta": { "range": [ - 130309, - 130329 + 129773, + 129793 ], "filename": "astronomy.js", - "lineno": 2912, + "lineno": 2896, "columnno": 12, "code": { - "id": "astnode100014833", + "id": "astnode100014821", "name": "dt", "type": "BinaryExpression", "value": "" @@ -29721,14 +29659,14 @@ "comment": "", "meta": { "range": [ - 130507, - 130521 + 129971, + 129985 ], "filename": "astronomy.js", - "lineno": 2918, + "lineno": 2902, "columnno": 12, "code": { - "id": "astnode100014856", + "id": "astnode100014844", "name": "fmid", "type": "CallExpression", "funcscope": "Search", @@ -29747,14 +29685,14 @@ "comment": "", "meta": { "range": [ - 130548, - 130564 + 130012, + 130028 ], "filename": "astronomy.js", - "lineno": 2920, + "lineno": 2904, "columnno": 12, "code": { - "id": "astnode100014862", + "id": "astnode100014850", "name": "calc_fmid", "type": "Literal", "funcscope": "Search", @@ -29773,14 +29711,14 @@ "comment": "", "meta": { "range": [ - 130808, - 130862 + 130272, + 130326 ], "filename": "astronomy.js", - "lineno": 2924, + "lineno": 2908, "columnno": 12, "code": { - "id": "astnode100014866", + "id": "astnode100014854", "name": "q", "type": "CallExpression", "value": "" @@ -29798,14 +29736,14 @@ "comment": "", "meta": { "range": [ - 131014, - 131032 + 130478, + 130496 ], "filename": "astronomy.js", - "lineno": 2928, + "lineno": 2912, "columnno": 16, "code": { - "id": "astnode100014887", + "id": "astnode100014875", "name": "tq", "type": "CallExpression", "value": "" @@ -29823,14 +29761,14 @@ "comment": "", "meta": { "range": [ - 131050, - 131060 + 130514, + 130524 ], "filename": "astronomy.js", - "lineno": 2929, + "lineno": 2913, "columnno": 16, "code": { - "id": "astnode100014895", + "id": "astnode100014883", "name": "fq", "type": "CallExpression", "value": "" @@ -29848,14 +29786,14 @@ "comment": "", "meta": { "range": [ - 131399, - 131438 + 130863, + 130902 ], "filename": "astronomy.js", - "lineno": 2936, + "lineno": 2920, "columnno": 20, "code": { - "id": "astnode100014923", + "id": "astnode100014911", "name": "dt_guess", "type": "BinaryExpression", "value": "" @@ -29873,14 +29811,14 @@ "comment": "", "meta": { "range": [ - 131506, - 131535 + 130970, + 130999 ], "filename": "astronomy.js", - "lineno": 2938, + "lineno": 2922, "columnno": 24, "code": { - "id": "astnode100014944", + "id": "astnode100014932", "name": "tleft", "type": "CallExpression", "value": "" @@ -29898,14 +29836,14 @@ "comment": "", "meta": { "range": [ - 131561, - 131591 + 131025, + 131055 ], "filename": "astronomy.js", - "lineno": 2939, + "lineno": 2923, "columnno": 24, "code": { - "id": "astnode100014953", + "id": "astnode100014941", "name": "tright", "type": "CallExpression", "value": "" @@ -29923,14 +29861,14 @@ "comment": "", "meta": { "range": [ - 131773, - 131789 + 131237, + 131253 ], "filename": "astronomy.js", - "lineno": 2942, + "lineno": 2926, "columnno": 32, "code": { - "id": "astnode100015000", + "id": "astnode100014988", "name": "fleft", "type": "CallExpression", "value": "" @@ -29948,14 +29886,14 @@ "comment": "", "meta": { "range": [ - 131823, - 131841 + 131287, + 131305 ], "filename": "astronomy.js", - "lineno": 2943, + "lineno": 2927, "columnno": 32, "code": { - "id": "astnode100015006", + "id": "astnode100014994", "name": "fright", "type": "CallExpression", "value": "" @@ -29973,14 +29911,14 @@ "comment": "", "meta": { "range": [ - 131935, - 131945 + 131399, + 131409 ], "filename": "astronomy.js", - "lineno": 2945, + "lineno": 2929, "columnno": 32, "code": { - "id": "astnode100015021", + "id": "astnode100015009", "name": "f1", "type": "Identifier", "funcscope": "Search", @@ -29999,14 +29937,14 @@ "comment": "", "meta": { "range": [ - 131979, - 131990 + 131443, + 131454 ], "filename": "astronomy.js", - "lineno": 2946, + "lineno": 2930, "columnno": 32, "code": { - "id": "astnode100015025", + "id": "astnode100015013", "name": "f2", "type": "Identifier", "funcscope": "Search", @@ -30025,14 +29963,14 @@ "comment": "", "meta": { "range": [ - 132024, - 132034 + 131488, + 131498 ], "filename": "astronomy.js", - "lineno": 2947, + "lineno": 2931, "columnno": 32, "code": { - "id": "astnode100015029", + "id": "astnode100015017", "name": "t1", "type": "Identifier", "funcscope": "Search", @@ -30051,14 +29989,14 @@ "comment": "", "meta": { "range": [ - 132068, - 132079 + 131532, + 131543 ], "filename": "astronomy.js", - "lineno": 2948, + "lineno": 2932, "columnno": 32, "code": { - "id": "astnode100015033", + "id": "astnode100015021", "name": "t2", "type": "Identifier", "funcscope": "Search", @@ -30077,14 +30015,14 @@ "comment": "", "meta": { "range": [ - 132113, - 132122 + 131577, + 131586 ], "filename": "astronomy.js", - "lineno": 2949, + "lineno": 2933, "columnno": 32, "code": { - "id": "astnode100015037", + "id": "astnode100015025", "name": "fmid", "type": "Identifier", "funcscope": "Search", @@ -30103,14 +30041,14 @@ "comment": "", "meta": { "range": [ - 132156, - 132173 + 131620, + 131637 ], "filename": "astronomy.js", - "lineno": 2950, + "lineno": 2934, "columnno": 32, "code": { - "id": "astnode100015041", + "id": "astnode100015029", "name": "calc_fmid", "type": "Literal", "funcscope": "Search", @@ -30129,14 +30067,14 @@ "comment": "", "meta": { "range": [ - 132384, - 132393 + 131848, + 131857 ], "filename": "astronomy.js", - "lineno": 2959, + "lineno": 2943, "columnno": 12, "code": { - "id": "astnode100015055", + "id": "astnode100015043", "name": "t2", "type": "Identifier", "funcscope": "Search", @@ -30155,14 +30093,14 @@ "comment": "", "meta": { "range": [ - 132407, - 132416 + 131871, + 131880 ], "filename": "astronomy.js", - "lineno": 2960, + "lineno": 2944, "columnno": 12, "code": { - "id": "astnode100015059", + "id": "astnode100015047", "name": "f2", "type": "Identifier", "funcscope": "Search", @@ -30181,14 +30119,14 @@ "comment": "", "meta": { "range": [ - 132497, - 132506 + 131961, + 131970 ], "filename": "astronomy.js", - "lineno": 2964, + "lineno": 2948, "columnno": 12, "code": { - "id": "astnode100015073", + "id": "astnode100015061", "name": "t1", "type": "Identifier", "funcscope": "Search", @@ -30207,14 +30145,14 @@ "comment": "", "meta": { "range": [ - 132520, - 132529 + 131984, + 131993 ], "filename": "astronomy.js", - "lineno": 2965, + "lineno": 2949, "columnno": 12, "code": { - "id": "astnode100015077", + "id": "astnode100015065", "name": "f1", "type": "Identifier", "funcscope": "Search", @@ -30233,14 +30171,14 @@ "comment": "", "meta": { "range": [ - 132705, - 132728 + 132169, + 132192 ], "filename": "astronomy.js", - "lineno": 2973, + "lineno": 2957, "columnno": 0, "code": { - "id": "astnode100015084", + "id": "astnode100015072", "name": "exports.Search", "type": "Identifier", "value": "Search", @@ -30257,14 +30195,14 @@ "comment": "", "meta": { "range": [ - 132730, - 132904 + 132194, + 132368 ], "filename": "astronomy.js", - "lineno": 2974, + "lineno": 2958, "columnno": 0, "code": { - "id": "astnode100015089", + "id": "astnode100015077", "name": "LongitudeOffset", "type": "FunctionDeclaration", "paramnames": [ @@ -30286,14 +30224,14 @@ "comment": "", "meta": { "range": [ - 132771, - 132784 + 132235, + 132248 ], "filename": "astronomy.js", - "lineno": 2975, + "lineno": 2959, "columnno": 8, "code": { - "id": "astnode100015094", + "id": "astnode100015082", "name": "offset", "type": "Identifier", "value": "diff" @@ -30311,14 +30249,14 @@ "comment": "", "meta": { "range": [ - 132821, - 132834 + 132285, + 132298 ], "filename": "astronomy.js", - "lineno": 2977, + "lineno": 2961, "columnno": 8, "code": { - "id": "astnode100015103", + "id": "astnode100015091", "name": "offset", "type": "Literal", "funcscope": "LongitudeOffset", @@ -30337,14 +30275,14 @@ "comment": "", "meta": { "range": [ - 132869, - 132882 + 132333, + 132346 ], "filename": "astronomy.js", - "lineno": 2979, + "lineno": 2963, "columnno": 8, "code": { - "id": "astnode100015111", + "id": "astnode100015099", "name": "offset", "type": "Literal", "funcscope": "LongitudeOffset", @@ -30363,14 +30301,14 @@ "comment": "", "meta": { "range": [ - 132905, - 133040 + 132369, + 132504 ], "filename": "astronomy.js", - "lineno": 2982, + "lineno": 2966, "columnno": 0, "code": { - "id": "astnode100015116", + "id": "astnode100015104", "name": "NormalizeLongitude", "type": "FunctionDeclaration", "paramnames": [ @@ -30392,14 +30330,14 @@ "comment": "", "meta": { "range": [ - 132968, - 132978 + 132432, + 132442 ], "filename": "astronomy.js", - "lineno": 2984, + "lineno": 2968, "columnno": 8, "code": { - "id": "astnode100015125", + "id": "astnode100015113", "name": "lon", "type": "Literal", "funcscope": "NormalizeLongitude", @@ -30418,14 +30356,14 @@ "comment": "", "meta": { "range": [ - 133011, - 133021 + 132475, + 132485 ], "filename": "astronomy.js", - "lineno": 2986, + "lineno": 2970, "columnno": 8, "code": { - "id": "astnode100015133", + "id": "astnode100015121", "name": "lon", "type": "Literal", "funcscope": "NormalizeLongitude", @@ -30444,14 +30382,14 @@ "comment": "/**\n * @brief Searches for when the Sun reaches a given ecliptic longitude.\n *\n * Searches for the moment in time when the center of the Sun reaches a given apparent\n * ecliptic longitude, as seen from the center of the Earth, within a given range of dates.\n * This function can be used to determine equinoxes and solstices.\n * However, it is usually more convenient and efficient to call {@link Seasons}\n * to calculate equinoxes and solstices for a given calendar year.\n * `SearchSunLongitude` is more general in that it allows searching for arbitrary longitude values.\n *\n * @param {number} targetLon\n * The desired ecliptic longitude of date in degrees.\n * This may be any value in the range [0, 360), although certain\n * values have conventional meanings:\n *\n * When `targetLon` is 0, finds the March equinox,\n * which is the moment spring begins in the northern hemisphere\n * and the beginning of autumn in the southern hemisphere.\n *\n * When `targetLon` is 180, finds the September equinox,\n * which is the moment autumn begins in the northern hemisphere and\n * spring begins in the southern hemisphere.\n *\n * When `targetLon` is 90, finds the northern solstice, which is the\n * moment summer begins in the northern hemisphere and winter\n * begins in the southern hemisphere.\n *\n * When `targetLon` is 270, finds the southern solstice, which is the\n * moment winter begins in the northern hemisphere and summer\n * begins in the southern hemisphere.\n *\n * @param {FlexibleDateTime} dateStart\n * A date and time known to be earlier than the desired longitude event.\n *\n * @param {number} limitDays\n * A floating point number of days, which when added to `dateStart`,\n * yields a date and time known to be after the desired longitude event.\n *\n * @returns {AstroTime | null}\n * The date and time when the Sun reaches the apparent ecliptic longitude `targetLon`\n * within the range of times specified by `dateStart` and `limitDays`.\n * If the Sun does not reach the target longitude within the specified time range, or the\n * time range is excessively wide, the return value is `null`.\n * To avoid a `null` return value, the caller must pick a time window around\n * the event that is within a few days but not so small that the event might fall outside the window.\n */", "meta": { "range": [ - 135433, - 135787 + 134897, + 135251 ], "filename": "astronomy.js", - "lineno": 3035, + "lineno": 3019, "columnno": 0, "code": { - "id": "astnode100015138", + "id": "astnode100015126", "name": "SearchSunLongitude", "type": "FunctionDeclaration", "paramnames": [ @@ -30523,14 +30461,14 @@ "comment": "", "meta": { "range": [ - 135500, - 135618 + 134964, + 135082 ], "filename": "astronomy.js", - "lineno": 3036, + "lineno": 3020, "columnno": 4, "code": { - "id": "astnode100015144", + "id": "astnode100015132", "name": "sun_offset", "type": "FunctionDeclaration", "paramnames": [ @@ -30553,14 +30491,14 @@ "comment": "", "meta": { "range": [ - 135537, - 135557 + 135001, + 135021 ], "filename": "astronomy.js", - "lineno": 3037, + "lineno": 3021, "columnno": 12, "code": { - "id": "astnode100015149", + "id": "astnode100015137", "name": "pos", "type": "CallExpression", "value": "" @@ -30578,14 +30516,14 @@ "comment": "", "meta": { "range": [ - 135685, - 135709 + 135149, + 135173 ], "filename": "astronomy.js", - "lineno": 3042, + "lineno": 3026, "columnno": 8, "code": { - "id": "astnode100015171", + "id": "astnode100015159", "name": "t1", "type": "CallExpression", "value": "" @@ -30603,14 +30541,14 @@ "comment": "", "meta": { "range": [ - 135719, - 135745 + 135183, + 135209 ], "filename": "astronomy.js", - "lineno": 3043, + "lineno": 3027, "columnno": 8, "code": { - "id": "astnode100015177", + "id": "astnode100015165", "name": "t2", "type": "CallExpression", "value": "" @@ -30628,14 +30566,14 @@ "comment": "", "meta": { "range": [ - 135788, - 135835 + 135252, + 135299 ], "filename": "astronomy.js", - "lineno": 3046, + "lineno": 3030, "columnno": 0, "code": { - "id": "astnode100015191", + "id": "astnode100015179", "name": "exports.SearchSunLongitude", "type": "Identifier", "value": "SearchSunLongitude", @@ -30652,14 +30590,14 @@ "comment": "/**\n * @brief Calculates the longitude separation between the Sun and the given body.\n *\n * Calculates the ecliptic longitude difference\n * between the given body and the Sun as seen from\n * the Earth at a given moment in time.\n * The returned value ranges [0, 360) degrees.\n * By definition, the Earth and the Sun are both in the plane of the ecliptic.\n * Ignores the height of the `body` above or below the ecliptic plane;\n * the resulting angle is measured around the ecliptic plane for the \"shadow\"\n * of the body onto that plane.\n *\n * Use {@link AngleFromSun} instead, if you wish to calculate the full angle\n * between the Sun and a body, instead of just their longitude difference.\n *\n * @param {Body} body\n * The name of a supported celestial body other than the Earth.\n *\n * @param {FlexibleDateTime} date\n * The time at which the relative longitude is to be found.\n *\n * @returns {number}\n * An angle in degrees in the range [0, 360).\n * Values less than 180 indicate that the body is to the east\n * of the Sun as seen from the Earth; that is, the body sets after\n * the Sun does and is visible in the evening sky.\n * Values greater than 180 indicate that the body is to the west of\n * the Sun and is visible in the morning sky.\n */", "meta": { "range": [ - 137121, - 137515 + 136585, + 136955 ], "filename": "astronomy.js", - "lineno": 3076, + "lineno": 3060, "columnno": 0, "code": { - "id": "astnode100015196", + "id": "astnode100015184", "name": "LongitudeFromSun", "type": "FunctionDeclaration", "paramnames": [ @@ -30722,14 +30660,14 @@ "comment": "", "meta": { "range": [ - 137274, - 137292 + 136738, + 136756 ], "filename": "astronomy.js", - "lineno": 3079, + "lineno": 3063, "columnno": 10, "code": { - "id": "astnode100015210", + "id": "astnode100015198", "name": "t", "type": "CallExpression", "value": "" @@ -30747,14 +30685,14 @@ "comment": "", "meta": { "range": [ - 137302, - 137332 + 136768, + 136798 ], "filename": "astronomy.js", - "lineno": 3080, - "columnno": 8, + "lineno": 3064, + "columnno": 10, "code": { - "id": "astnode100015216", + "id": "astnode100015204", "name": "gb", "type": "CallExpression", "value": "" @@ -30763,7 +30701,7 @@ "undocumented": true, "name": "gb", "longname": "LongitudeFromSun~gb", - "kind": "member", + "kind": "constant", "memberof": "LongitudeFromSun", "scope": "inner", "params": [] @@ -30772,14 +30710,14 @@ "comment": "", "meta": { "range": [ - 137344, - 137375 + 136810, + 136827 ], "filename": "astronomy.js", - "lineno": 3081, + "lineno": 3065, "columnno": 10, "code": { - "id": "astnode100015224", + "id": "astnode100015212", "name": "eb", "type": "CallExpression", "value": "" @@ -30797,14 +30735,14 @@ "comment": "", "meta": { "range": [ - 137385, - 137419 + 136839, + 136873 ], "filename": "astronomy.js", - "lineno": 3082, - "columnno": 8, + "lineno": 3066, + "columnno": 10, "code": { - "id": "astnode100015238", + "id": "astnode100015218", "name": "gs", "type": "CallExpression", "value": "" @@ -30813,7 +30751,7 @@ "undocumented": true, "name": "gs", "longname": "LongitudeFromSun~gs", - "kind": "member", + "kind": "constant", "memberof": "LongitudeFromSun", "scope": "inner", "params": [] @@ -30822,14 +30760,14 @@ "comment": "", "meta": { "range": [ - 137431, - 137462 + 136885, + 136902 ], "filename": "astronomy.js", - "lineno": 3083, + "lineno": 3067, "columnno": 10, "code": { - "id": "astnode100015248", + "id": "astnode100015228", "name": "es", "type": "CallExpression", "value": "" @@ -30847,14 +30785,14 @@ "comment": "", "meta": { "range": [ - 137516, - 137559 + 136956, + 136999 ], "filename": "astronomy.js", - "lineno": 3086, + "lineno": 3070, "columnno": 0, "code": { - "id": "astnode100015272", + "id": "astnode100015244", "name": "exports.LongitudeFromSun", "type": "Identifier", "value": "LongitudeFromSun", @@ -30871,14 +30809,14 @@ "comment": "/**\n * @brief Calculates the angular separation between the Sun and the given body.\n *\n * Returns the full angle seen from\n * the Earth, between the given body and the Sun.\n * Unlike {@link LongitudeFromSun}, this function does not\n * project the body's \"shadow\" onto the ecliptic;\n * the angle is measured in 3D space around the plane that\n * contains the centers of the Earth, the Sun, and `body`.\n *\n * @param {Body} body\n * The name of a supported celestial body other than the Earth.\n *\n * @param {FlexibleDateTime} date\n * The time at which the angle from the Sun is to be found.\n *\n * @returns {number}\n * An angle in degrees in the range [0, 180].\n */", "meta": { "range": [ - 138236, - 138516 + 137676, + 137956 ], "filename": "astronomy.js", - "lineno": 3106, + "lineno": 3090, "columnno": 0, "code": { - "id": "astnode100015277", + "id": "astnode100015249", "name": "AngleFromSun", "type": "FunctionDeclaration", "paramnames": [ @@ -30939,14 +30877,14 @@ "comment": "", "meta": { "range": [ - 138379, - 138415 + 137819, + 137855 ], "filename": "astronomy.js", - "lineno": 3109, + "lineno": 3093, "columnno": 8, "code": { - "id": "astnode100015291", + "id": "astnode100015263", "name": "sv", "type": "CallExpression", "value": "" @@ -30964,14 +30902,14 @@ "comment": "", "meta": { "range": [ - 138425, - 138457 + 137865, + 137897 ], "filename": "astronomy.js", - "lineno": 3110, + "lineno": 3094, "columnno": 8, "code": { - "id": "astnode100015301", + "id": "astnode100015273", "name": "bv", "type": "CallExpression", "value": "" @@ -30989,14 +30927,14 @@ "comment": "", "meta": { "range": [ - 138467, - 138495 + 137907, + 137935 ], "filename": "astronomy.js", - "lineno": 3111, + "lineno": 3095, "columnno": 8, "code": { - "id": "astnode100015309", + "id": "astnode100015281", "name": "angle", "type": "CallExpression", "value": "" @@ -31014,14 +30952,14 @@ "comment": "", "meta": { "range": [ - 138517, - 138552 + 137957, + 137992 ], "filename": "astronomy.js", - "lineno": 3114, + "lineno": 3098, "columnno": 0, "code": { - "id": "astnode100015318", + "id": "astnode100015290", "name": "exports.AngleFromSun", "type": "Identifier", "value": "AngleFromSun", @@ -31038,14 +30976,14 @@ "comment": "/**\n * @brief Calculates heliocentric ecliptic longitude based on the J2000 equinox.\n *\n * @param {Body} body\n * The name of a celestial body other than the Sun.\n *\n * @param {FlexibleDateTime} date\n * The date and time for which to calculate the ecliptic longitude.\n *\n * @returns {number}\n * The ecliptic longitude angle of the body in degrees measured counterclockwise around the mean\n * plane of the Earth's orbit, as seen from above the Sun's north pole.\n * Ecliptic longitude starts at 0 at the J2000\n * equinox and\n * increases in the same direction the Earth orbits the Sun.\n * The returned value is always in the range [0, 360).\n */", "meta": { "range": [ - 139312, - 139555 + 138752, + 138985 ], "filename": "astronomy.js", - "lineno": 3132, + "lineno": 3116, "columnno": 0, "code": { - "id": "astnode100015323", + "id": "astnode100015295", "name": "EclipticLongitude", "type": "FunctionDeclaration", "paramnames": [ @@ -31105,14 +31043,14 @@ "comment": "", "meta": { "range": [ - 139457, - 139485 + 138899, + 138927 ], "filename": "astronomy.js", - "lineno": 3135, - "columnno": 8, + "lineno": 3119, + "columnno": 10, "code": { - "id": "astnode100015337", + "id": "astnode100015309", "name": "hv", "type": "CallExpression", "value": "" @@ -31121,7 +31059,7 @@ "undocumented": true, "name": "hv", "longname": "EclipticLongitude~hv", - "kind": "member", + "kind": "constant", "memberof": "EclipticLongitude", "scope": "inner", "params": [] @@ -31130,14 +31068,14 @@ "comment": "", "meta": { "range": [ - 139495, - 139529 + 138939, + 138959 ], "filename": "astronomy.js", - "lineno": 3136, - "columnno": 8, + "lineno": 3120, + "columnno": 10, "code": { - "id": "astnode100015344", + "id": "astnode100015316", "name": "eclip", "type": "CallExpression", "value": "" @@ -31146,7 +31084,7 @@ "undocumented": true, "name": "eclip", "longname": "EclipticLongitude~eclip", - "kind": "member", + "kind": "constant", "memberof": "EclipticLongitude", "scope": "inner", "params": [] @@ -31155,14 +31093,14 @@ "comment": "", "meta": { "range": [ - 139556, - 139601 + 138986, + 139031 ], "filename": "astronomy.js", - "lineno": 3139, + "lineno": 3123, "columnno": 0, "code": { - "id": "astnode100015362", + "id": "astnode100015326", "name": "exports.EclipticLongitude", "type": "Identifier", "value": "EclipticLongitude", @@ -31179,14 +31117,14 @@ "comment": "", "meta": { "range": [ - 139603, - 140897 + 139033, + 140327 ], "filename": "astronomy.js", - "lineno": 3140, + "lineno": 3124, "columnno": 0, "code": { - "id": "astnode100015367", + "id": "astnode100015331", "name": "VisualMagnitude", "type": "FunctionDeclaration", "paramnames": [ @@ -31216,14 +31154,14 @@ "comment": "", "meta": { "range": [ - 139759, - 139761 + 139189, + 139191 ], "filename": "astronomy.js", - "lineno": 3142, + "lineno": 3126, "columnno": 8, "code": { - "id": "astnode100015375", + "id": "astnode100015339", "name": "c0" } }, @@ -31239,14 +31177,14 @@ "comment": "", "meta": { "range": [ - 139763, - 139769 + 139193, + 139199 ], "filename": "astronomy.js", - "lineno": 3142, + "lineno": 3126, "columnno": 12, "code": { - "id": "astnode100015377", + "id": "astnode100015341", "name": "c1", "type": "Literal", "value": 0 @@ -31264,14 +31202,14 @@ "comment": "", "meta": { "range": [ - 139771, - 139777 + 139201, + 139207 ], "filename": "astronomy.js", - "lineno": 3142, + "lineno": 3126, "columnno": 20, "code": { - "id": "astnode100015380", + "id": "astnode100015344", "name": "c2", "type": "Literal", "value": 0 @@ -31289,14 +31227,14 @@ "comment": "", "meta": { "range": [ - 139779, - 139785 + 139209, + 139215 ], "filename": "astronomy.js", - "lineno": 3142, + "lineno": 3126, "columnno": 28, "code": { - "id": "astnode100015383", + "id": "astnode100015347", "name": "c3", "type": "Literal", "value": 0 @@ -31314,14 +31252,14 @@ "comment": "", "meta": { "range": [ - 139846, - 139856 + 139276, + 139286 ], "filename": "astronomy.js", - "lineno": 3145, + "lineno": 3129, "columnno": 12, "code": { - "id": "astnode100015393", + "id": "astnode100015357", "name": "c0", "type": "UnaryExpression", "funcscope": "VisualMagnitude", @@ -31340,14 +31278,14 @@ "comment": "", "meta": { "range": [ - 139870, - 139880 + 139300, + 139310 ], "filename": "astronomy.js", - "lineno": 3146, + "lineno": 3130, "columnno": 12, "code": { - "id": "astnode100015398", + "id": "astnode100015362", "name": "c1", "type": "UnaryExpression", "funcscope": "VisualMagnitude", @@ -31366,14 +31304,14 @@ "comment": "", "meta": { "range": [ - 139894, - 139904 + 139324, + 139334 ], "filename": "astronomy.js", - "lineno": 3147, + "lineno": 3131, "columnno": 12, "code": { - "id": "astnode100015403", + "id": "astnode100015367", "name": "c2", "type": "UnaryExpression", "funcscope": "VisualMagnitude", @@ -31392,14 +31330,14 @@ "comment": "", "meta": { "range": [ - 139918, - 139928 + 139348, + 139358 ], "filename": "astronomy.js", - "lineno": 3148, + "lineno": 3132, "columnno": 12, "code": { - "id": "astnode100015408", + "id": "astnode100015372", "name": "c3", "type": "UnaryExpression", "funcscope": "VisualMagnitude", @@ -31418,14 +31356,14 @@ "comment": "", "meta": { "range": [ - 140023, - 140033 + 139453, + 139463 ], "filename": "astronomy.js", - "lineno": 3152, + "lineno": 3136, "columnno": 16, "code": { - "id": "astnode100015423", + "id": "astnode100015387", "name": "c0", "type": "UnaryExpression", "funcscope": "VisualMagnitude", @@ -31444,14 +31382,14 @@ "comment": "", "meta": { "range": [ - 140051, - 140061 + 139481, + 139491 ], "filename": "astronomy.js", - "lineno": 3153, + "lineno": 3137, "columnno": 16, "code": { - "id": "astnode100015428", + "id": "astnode100015392", "name": "c1", "type": "UnaryExpression", "funcscope": "VisualMagnitude", @@ -31470,14 +31408,14 @@ "comment": "", "meta": { "range": [ - 140079, - 140089 + 139509, + 139519 ], "filename": "astronomy.js", - "lineno": 3154, + "lineno": 3138, "columnno": 16, "code": { - "id": "astnode100015433", + "id": "astnode100015397", "name": "c2", "type": "UnaryExpression", "funcscope": "VisualMagnitude", @@ -31496,14 +31434,14 @@ "comment": "", "meta": { "range": [ - 140107, - 140117 + 139537, + 139547 ], "filename": "astronomy.js", - "lineno": 3155, + "lineno": 3139, "columnno": 16, "code": { - "id": "astnode100015438", + "id": "astnode100015402", "name": "c3", "type": "UnaryExpression", "funcscope": "VisualMagnitude", @@ -31522,14 +31460,14 @@ "comment": "", "meta": { "range": [ - 140168, - 140177 + 139598, + 139607 ], "filename": "astronomy.js", - "lineno": 3158, + "lineno": 3142, "columnno": 16, "code": { - "id": "astnode100015444", + "id": "astnode100015408", "name": "c0", "type": "Literal", "funcscope": "VisualMagnitude", @@ -31548,14 +31486,14 @@ "comment": "", "meta": { "range": [ - 140195, - 140205 + 139625, + 139635 ], "filename": "astronomy.js", - "lineno": 3159, + "lineno": 3143, "columnno": 16, "code": { - "id": "astnode100015448", + "id": "astnode100015412", "name": "c1", "type": "UnaryExpression", "funcscope": "VisualMagnitude", @@ -31574,14 +31512,14 @@ "comment": "", "meta": { "range": [ - 140276, - 140286 + 139706, + 139716 ], "filename": "astronomy.js", - "lineno": 3163, + "lineno": 3147, "columnno": 12, "code": { - "id": "astnode100015458", + "id": "astnode100015422", "name": "c0", "type": "UnaryExpression", "funcscope": "VisualMagnitude", @@ -31600,14 +31538,14 @@ "comment": "", "meta": { "range": [ - 140300, - 140310 + 139730, + 139740 ], "filename": "astronomy.js", - "lineno": 3164, + "lineno": 3148, "columnno": 12, "code": { - "id": "astnode100015463", + "id": "astnode100015427", "name": "c1", "type": "UnaryExpression", "funcscope": "VisualMagnitude", @@ -31626,14 +31564,14 @@ "comment": "", "meta": { "range": [ - 140370, - 140380 + 139800, + 139810 ], "filename": "astronomy.js", - "lineno": 3167, + "lineno": 3151, "columnno": 12, "code": { - "id": "astnode100015473", + "id": "astnode100015437", "name": "c0", "type": "UnaryExpression", "funcscope": "VisualMagnitude", @@ -31652,14 +31590,14 @@ "comment": "", "meta": { "range": [ - 140394, - 140404 + 139824, + 139834 ], "filename": "astronomy.js", - "lineno": 3168, + "lineno": 3152, "columnno": 12, "code": { - "id": "astnode100015478", + "id": "astnode100015442", "name": "c1", "type": "UnaryExpression", "funcscope": "VisualMagnitude", @@ -31678,14 +31616,14 @@ "comment": "", "meta": { "range": [ - 140463, - 140473 + 139893, + 139903 ], "filename": "astronomy.js", - "lineno": 3171, + "lineno": 3155, "columnno": 12, "code": { - "id": "astnode100015488", + "id": "astnode100015452", "name": "c0", "type": "UnaryExpression", "funcscope": "VisualMagnitude", @@ -31704,14 +31642,14 @@ "comment": "", "meta": { "range": [ - 140487, - 140497 + 139917, + 139927 ], "filename": "astronomy.js", - "lineno": 3172, + "lineno": 3156, "columnno": 12, "code": { - "id": "astnode100015493", + "id": "astnode100015457", "name": "c1", "type": "UnaryExpression", "funcscope": "VisualMagnitude", @@ -31730,14 +31668,14 @@ "comment": "", "meta": { "range": [ - 140557, - 140567 + 139987, + 139997 ], "filename": "astronomy.js", - "lineno": 3175, + "lineno": 3159, "columnno": 12, "code": { - "id": "astnode100015503", + "id": "astnode100015467", "name": "c0", "type": "UnaryExpression", "funcscope": "VisualMagnitude", @@ -31756,14 +31694,14 @@ "comment": "", "meta": { "range": [ - 140625, - 140635 + 140055, + 140065 ], "filename": "astronomy.js", - "lineno": 3178, + "lineno": 3162, "columnno": 12, "code": { - "id": "astnode100015513", + "id": "astnode100015477", "name": "c0", "type": "UnaryExpression", "funcscope": "VisualMagnitude", @@ -31782,14 +31720,14 @@ "comment": "", "meta": { "range": [ - 140649, - 140659 + 140079, + 140089 ], "filename": "astronomy.js", - "lineno": 3179, + "lineno": 3163, "columnno": 12, "code": { - "id": "astnode100015518", + "id": "astnode100015482", "name": "c1", "type": "UnaryExpression", "funcscope": "VisualMagnitude", @@ -31808,14 +31746,14 @@ "comment": "", "meta": { "range": [ - 140764, - 140779 + 140194, + 140209 ], "filename": "astronomy.js", - "lineno": 3183, + "lineno": 3167, "columnno": 10, "code": { - "id": "astnode100015530", + "id": "astnode100015494", "name": "x", "type": "BinaryExpression", "value": "" @@ -31833,14 +31771,14 @@ "comment": "", "meta": { "range": [ - 140789, - 140828 + 140219, + 140258 ], "filename": "astronomy.js", - "lineno": 3184, + "lineno": 3168, "columnno": 8, "code": { - "id": "astnode100015536", + "id": "astnode100015500", "name": "mag", "type": "BinaryExpression", "value": "" @@ -31858,14 +31796,14 @@ "comment": "", "meta": { "range": [ - 140834, - 140878 + 140264, + 140308 ], "filename": "astronomy.js", - "lineno": 3185, + "lineno": 3169, "columnno": 4, "code": { - "id": "astnode100015552", + "id": "astnode100015516", "name": "mag", "type": "BinaryExpression", "funcscope": "VisualMagnitude", @@ -31884,14 +31822,14 @@ "comment": "", "meta": { "range": [ - 140898, - 141922 + 140328, + 141338 ], "filename": "astronomy.js", - "lineno": 3188, + "lineno": 3172, "columnno": 0, "code": { - "id": "astnode100015565", + "id": "astnode100015529", "name": "SaturnMagnitude", "type": "FunctionDeclaration", "paramnames": [ @@ -31924,14 +31862,14 @@ "comment": "", "meta": { "range": [ - 141220, - 141254 + 140650, + 140670 ], "filename": "astronomy.js", - "lineno": 3193, + "lineno": 3177, "columnno": 10, "code": { - "id": "astnode100015574", + "id": "astnode100015538", "name": "eclip", "type": "CallExpression", "value": "" @@ -31949,14 +31887,14 @@ "comment": "", "meta": { "range": [ - 141266, - 141286 + 140682, + 140702 ], "filename": "astronomy.js", - "lineno": 3194, + "lineno": 3178, "columnno": 10, "code": { - "id": "astnode100015588", + "id": "astnode100015544", "name": "ir", "type": "BinaryExpression", "value": "" @@ -31974,14 +31912,14 @@ "comment": "", "meta": { "range": [ - 141352, - 141397 + 140768, + 140813 ], "filename": "astronomy.js", - "lineno": 3195, + "lineno": 3179, "columnno": 10, "code": { - "id": "astnode100015594", + "id": "astnode100015550", "name": "Nr", "type": "BinaryExpression", "value": "" @@ -31999,14 +31937,14 @@ "comment": "", "meta": { "range": [ - 141513, - 141539 + 140929, + 140955 ], "filename": "astronomy.js", - "lineno": 3197, + "lineno": 3181, "columnno": 10, "code": { - "id": "astnode100015606", + "id": "astnode100015562", "name": "lat", "type": "BinaryExpression", "value": "" @@ -32024,14 +31962,14 @@ "comment": "", "meta": { "range": [ - 141551, - 141577 + 140967, + 140993 ], "filename": "astronomy.js", - "lineno": 3198, + "lineno": 3182, "columnno": 10, "code": { - "id": "astnode100015614", + "id": "astnode100015570", "name": "lon", "type": "BinaryExpression", "value": "" @@ -32049,14 +31987,14 @@ "comment": "", "meta": { "range": [ - 141589, - 141687 + 141005, + 141103 ], "filename": "astronomy.js", - "lineno": 3199, + "lineno": 3183, "columnno": 10, "code": { - "id": "astnode100015622", + "id": "astnode100015578", "name": "tilt", "type": "CallExpression", "value": "" @@ -32074,14 +32012,14 @@ "comment": "", "meta": { "range": [ - 141699, - 141734 + 141115, + 141150 ], "filename": "astronomy.js", - "lineno": 3200, + "lineno": 3184, "columnno": 10, "code": { - "id": "astnode100015660", + "id": "astnode100015616", "name": "sin_tilt", "type": "CallExpression", "value": "" @@ -32099,14 +32037,14 @@ "comment": "", "meta": { "range": [ - 141744, - 141770 + 141160, + 141186 ], "filename": "astronomy.js", - "lineno": 3201, + "lineno": 3185, "columnno": 8, "code": { - "id": "astnode100015672", + "id": "astnode100015628", "name": "mag", "type": "BinaryExpression", "value": "" @@ -32124,14 +32062,14 @@ "comment": "", "meta": { "range": [ - 141776, - 141817 + 141192, + 141233 ], "filename": "astronomy.js", - "lineno": 3202, + "lineno": 3186, "columnno": 4, "code": { - "id": "astnode100015681", + "id": "astnode100015637", "name": "mag", "type": "BinaryExpression", "funcscope": "SaturnMagnitude", @@ -32150,14 +32088,14 @@ "comment": "", "meta": { "range": [ - 141823, - 141867 + 141239, + 141283 ], "filename": "astronomy.js", - "lineno": 3203, + "lineno": 3187, "columnno": 4, "code": { - "id": "astnode100015692", + "id": "astnode100015648", "name": "mag", "type": "BinaryExpression", "funcscope": "SaturnMagnitude", @@ -32176,14 +32114,14 @@ "comment": "", "meta": { "range": [ - 141882, - 141890 + 141298, + 141306 ], "filename": "astronomy.js", - "lineno": 3204, + "lineno": 3188, "columnno": 13, "code": { - "id": "astnode100015705", + "id": "astnode100015661", "name": "mag", "type": "Identifier", "value": "mag" @@ -32199,14 +32137,14 @@ "comment": "", "meta": { "range": [ - 141892, - 141917 + 141308, + 141333 ], "filename": "astronomy.js", - "lineno": 3204, + "lineno": 3188, "columnno": 23, "code": { - "id": "astnode100015707", + "id": "astnode100015663", "name": "ring_tilt", "type": "BinaryExpression", "value": "" @@ -32222,14 +32160,14 @@ "comment": "", "meta": { "range": [ - 141923, - 142429 + 141339, + 141845 ], "filename": "astronomy.js", - "lineno": 3206, + "lineno": 3190, "columnno": 0, "code": { - "id": "astnode100015711", + "id": "astnode100015667", "name": "MoonMagnitude", "type": "FunctionDeclaration", "paramnames": [ @@ -32258,14 +32196,14 @@ "comment": "", "meta": { "range": [ - 142118, - 142139 + 141534, + 141555 ], "filename": "astronomy.js", - "lineno": 3208, + "lineno": 3192, "columnno": 8, "code": { - "id": "astnode100015718", + "id": "astnode100015674", "name": "rad", "type": "BinaryExpression", "value": "" @@ -32283,14 +32221,14 @@ "comment": "", "meta": { "range": [ - 142149, - 142165 + 141565, + 141581 ], "filename": "astronomy.js", - "lineno": 3209, + "lineno": 3193, "columnno": 8, "code": { - "id": "astnode100015724", + "id": "astnode100015680", "name": "rad2", "type": "BinaryExpression", "value": "" @@ -32308,14 +32246,14 @@ "comment": "", "meta": { "range": [ - 142175, - 142193 + 141591, + 141609 ], "filename": "astronomy.js", - "lineno": 3210, + "lineno": 3194, "columnno": 8, "code": { - "id": "astnode100015730", + "id": "astnode100015686", "name": "rad4", "type": "BinaryExpression", "value": "" @@ -32333,14 +32271,14 @@ "comment": "", "meta": { "range": [ - 142203, - 142255 + 141619, + 141671 ], "filename": "astronomy.js", - "lineno": 3211, + "lineno": 3195, "columnno": 8, "code": { - "id": "astnode100015736", + "id": "astnode100015692", "name": "mag", "type": "BinaryExpression", "value": "" @@ -32358,14 +32296,14 @@ "comment": "", "meta": { "range": [ - 142267, - 142311 + 141683, + 141727 ], "filename": "astronomy.js", - "lineno": 3212, + "lineno": 3196, "columnno": 10, "code": { - "id": "astnode100015753", + "id": "astnode100015709", "name": "moon_mean_distance_au", "type": "BinaryExpression", "value": "" @@ -32383,14 +32321,14 @@ "comment": "", "meta": { "range": [ - 142321, - 142362 + 141737, + 141778 ], "filename": "astronomy.js", - "lineno": 3213, + "lineno": 3197, "columnno": 8, "code": { - "id": "astnode100015759", + "id": "astnode100015715", "name": "geo_au", "type": "BinaryExpression", "value": "" @@ -32408,14 +32346,14 @@ "comment": "", "meta": { "range": [ - 142368, - 142410 + 141784, + 141826 ], "filename": "astronomy.js", - "lineno": 3214, + "lineno": 3198, "columnno": 4, "code": { - "id": "astnode100015765", + "id": "astnode100015721", "name": "mag", "type": "BinaryExpression", "funcscope": "MoonMagnitude", @@ -32434,14 +32372,14 @@ "comment": "/**\n * @brief Information about the apparent brightness and sunlit phase of a celestial object.\n *\n * @property {AstroTime} time\n * The date and time pertaining to the other calculated values in this object.\n *\n * @property {number} mag\n * The apparent visual magnitude of the celestial body.\n *\n * @property {number} phase_angle\n * The angle in degrees as seen from the center of the celestial body between the Sun and the Earth.\n * The value is always in the range 0 to 180.\n * The phase angle provides a measure of what fraction of the body's face appears\n * illuminated by the Sun as seen from the Earth.\n * When the observed body is the Sun, the `phase` property is set to 0,\n * although this has no physical meaning because the Sun emits, rather than reflects, light.\n * When the phase is near 0 degrees, the body appears \"full\".\n * When it is 90 degrees, the body appears \"half full\".\n * And when it is 180 degrees, the body appears \"new\" and is very difficult to see\n * because it is both dim and lost in the Sun's glare as seen from the Earth.\n *\n * @property {number} phase_fraction\n * The fraction of the body's face that is illuminated by the Sun, as seen from the Earth.\n * Calculated from `phase_angle` for convenience.\n * This value ranges from 0 to 1.\n *\n * @property {number} helio_dist\n * The distance between the center of the Sun and the center of the body in\n * astronomical units (AU).\n *\n * @property {number} geo_dist\n * The distance between the center of the Earth and the center of the body in AU.\n *\n * @property {Vector} gc\n * Geocentric coordinates: the 3D vector from the center of the Earth to the center of the body.\n * The components are in expressed in AU and are oriented with respect to the J2000 equatorial plane.\n *\n * @property {Vector} hc\n * Heliocentric coordinates: The 3D vector from the center of the Sun to the center of the body.\n * Like `gc`, `hc` is expressed in AU and oriented with respect\n * to the J2000 equatorial plane.\n *\n * @property {number | undefined} ring_tilt\n * For Saturn, this is the angular tilt of the planet's rings in degrees away\n * from the line of sight from the Earth. When the value is near 0, the rings\n * appear edge-on from the Earth and are therefore difficult to see.\n * When `ring_tilt` approaches its maximum value (about 27 degrees),\n * the rings appear widest and brightest from the Earth.\n * Unlike the JPL Horizons online tool,\n * this library includes the effect of the ring tilt angle in the calculated value\n * for Saturn's visual magnitude.\n * For all bodies other than Saturn, the value of `ring_tilt` is `undefined`.\n */", "meta": { "range": [ - 145378, - 145808 + 144794, + 145224 ], "filename": "astronomy.js", - "lineno": 3270, + "lineno": 3254, "columnno": 0, "code": { - "id": "astnode100015778", + "id": "astnode100015734", "name": "IlluminationInfo", "type": "ClassDeclaration", "paramnames": [ @@ -32558,14 +32496,14 @@ "comment": "", "meta": { "range": [ - 145407, - 145806 + 144823, + 145222 ], "filename": "astronomy.js", - "lineno": 3271, + "lineno": 3255, "columnno": 4, "code": { - "id": "astnode100015781", + "id": "astnode100015737", "name": "IlluminationInfo", "type": "MethodDefinition", "paramnames": [ @@ -32594,14 +32532,14 @@ "comment": "/**\n * @brief Information about the apparent brightness and sunlit phase of a celestial object.\n *\n * @property {AstroTime} time\n * The date and time pertaining to the other calculated values in this object.\n *\n * @property {number} mag\n * The apparent visual magnitude of the celestial body.\n *\n * @property {number} phase_angle\n * The angle in degrees as seen from the center of the celestial body between the Sun and the Earth.\n * The value is always in the range 0 to 180.\n * The phase angle provides a measure of what fraction of the body's face appears\n * illuminated by the Sun as seen from the Earth.\n * When the observed body is the Sun, the `phase` property is set to 0,\n * although this has no physical meaning because the Sun emits, rather than reflects, light.\n * When the phase is near 0 degrees, the body appears \"full\".\n * When it is 90 degrees, the body appears \"half full\".\n * And when it is 180 degrees, the body appears \"new\" and is very difficult to see\n * because it is both dim and lost in the Sun's glare as seen from the Earth.\n *\n * @property {number} phase_fraction\n * The fraction of the body's face that is illuminated by the Sun, as seen from the Earth.\n * Calculated from `phase_angle` for convenience.\n * This value ranges from 0 to 1.\n *\n * @property {number} helio_dist\n * The distance between the center of the Sun and the center of the body in\n * astronomical units (AU).\n *\n * @property {number} geo_dist\n * The distance between the center of the Earth and the center of the body in AU.\n *\n * @property {Vector} gc\n * Geocentric coordinates: the 3D vector from the center of the Earth to the center of the body.\n * The components are in expressed in AU and are oriented with respect to the J2000 equatorial plane.\n *\n * @property {Vector} hc\n * Heliocentric coordinates: The 3D vector from the center of the Sun to the center of the body.\n * Like `gc`, `hc` is expressed in AU and oriented with respect\n * to the J2000 equatorial plane.\n *\n * @property {number | undefined} ring_tilt\n * For Saturn, this is the angular tilt of the planet's rings in degrees away\n * from the line of sight from the Earth. When the value is near 0, the rings\n * appear edge-on from the Earth and are therefore difficult to see.\n * When `ring_tilt` approaches its maximum value (about 27 degrees),\n * the rings appear widest and brightest from the Earth.\n * Unlike the JPL Horizons online tool,\n * this library includes the effect of the ring tilt angle in the calculated value\n * for Saturn's visual magnitude.\n * For all bodies other than Saturn, the value of `ring_tilt` is `undefined`.\n */", "meta": { "range": [ - 145378, - 145808 + 144794, + 145224 ], "filename": "astronomy.js", - "lineno": 3270, + "lineno": 3254, "columnno": 0, "code": { - "id": "astnode100015778", + "id": "astnode100015734", "name": "IlluminationInfo", "type": "ClassDeclaration", "paramnames": [ @@ -32717,14 +32655,14 @@ "comment": "", "meta": { "range": [ - 145494, - 145510 + 144910, + 144926 ], "filename": "astronomy.js", - "lineno": 3272, + "lineno": 3256, "columnno": 8, "code": { - "id": "astnode100015794", + "id": "astnode100015750", "name": "this.time", "type": "Identifier", "value": "time", @@ -32742,14 +32680,14 @@ "comment": "", "meta": { "range": [ - 145520, - 145534 + 144936, + 144950 ], "filename": "astronomy.js", - "lineno": 3273, + "lineno": 3257, "columnno": 8, "code": { - "id": "astnode100015800", + "id": "astnode100015756", "name": "this.mag", "type": "Identifier", "value": "mag", @@ -32767,14 +32705,14 @@ "comment": "", "meta": { "range": [ - 145544, - 145574 + 144960, + 144990 ], "filename": "astronomy.js", - "lineno": 3274, + "lineno": 3258, "columnno": 8, "code": { - "id": "astnode100015806", + "id": "astnode100015762", "name": "this.phase_angle", "type": "Identifier", "value": "phase_angle", @@ -32792,14 +32730,14 @@ "comment": "", "meta": { "range": [ - 145584, - 145612 + 145000, + 145028 ], "filename": "astronomy.js", - "lineno": 3275, + "lineno": 3259, "columnno": 8, "code": { - "id": "astnode100015812", + "id": "astnode100015768", "name": "this.helio_dist", "type": "Identifier", "value": "helio_dist", @@ -32817,14 +32755,14 @@ "comment": "", "meta": { "range": [ - 145622, - 145646 + 145038, + 145062 ], "filename": "astronomy.js", - "lineno": 3276, + "lineno": 3260, "columnno": 8, "code": { - "id": "astnode100015818", + "id": "astnode100015774", "name": "this.geo_dist", "type": "Identifier", "value": "geo_dist", @@ -32842,14 +32780,14 @@ "comment": "", "meta": { "range": [ - 145656, - 145668 + 145072, + 145084 ], "filename": "astronomy.js", - "lineno": 3277, + "lineno": 3261, "columnno": 8, "code": { - "id": "astnode100015824", + "id": "astnode100015780", "name": "this.gc", "type": "Identifier", "value": "gc", @@ -32867,14 +32805,14 @@ "comment": "", "meta": { "range": [ - 145678, - 145690 + 145094, + 145106 ], "filename": "astronomy.js", - "lineno": 3278, + "lineno": 3262, "columnno": 8, "code": { - "id": "astnode100015830", + "id": "astnode100015786", "name": "this.hc", "type": "Identifier", "value": "hc", @@ -32892,14 +32830,14 @@ "comment": "", "meta": { "range": [ - 145700, - 145726 + 145116, + 145142 ], "filename": "astronomy.js", - "lineno": 3279, + "lineno": 3263, "columnno": 8, "code": { - "id": "astnode100015836", + "id": "astnode100015792", "name": "this.ring_tilt", "type": "Identifier", "value": "ring_tilt", @@ -32917,14 +32855,14 @@ "comment": "", "meta": { "range": [ - 145736, - 145799 + 145152, + 145215 ], "filename": "astronomy.js", - "lineno": 3280, + "lineno": 3264, "columnno": 8, "code": { - "id": "astnode100015842", + "id": "astnode100015798", "name": "this.phase_fraction", "type": "BinaryExpression", "value": "", @@ -32942,14 +32880,14 @@ "comment": "", "meta": { "range": [ - 145809, - 145852 + 145225, + 145268 ], "filename": "astronomy.js", - "lineno": 3283, + "lineno": 3267, "columnno": 0, "code": { - "id": "astnode100015858", + "id": "astnode100015814", "name": "exports.IlluminationInfo", "type": "Identifier", "value": "IlluminationInfo", @@ -32966,14 +32904,14 @@ "comment": "/**\n * @brief Calculates visual magnitude and related information about a body.\n *\n * Calculates the phase angle, visual magnitude,\n * and other values relating to the body's illumination\n * at the given date and time, as seen from the Earth.\n *\n * @param {Body} body\n * The name of the celestial body being observed.\n * Not allowed to be `\"Earth\"`.\n *\n * @param {FlexibleDateTime} date\n * The date and time for which to calculate the illumination data for the given body.\n *\n * @returns {IlluminationInfo}\n */", "meta": { "range": [ - 146380, - 148317 + 145796, + 147733 ], "filename": "astronomy.js", - "lineno": 3300, + "lineno": 3284, "columnno": 0, "code": { - "id": "astnode100015863", + "id": "astnode100015819", "name": "Illumination", "type": "FunctionDeclaration", "paramnames": [ @@ -33040,14 +32978,14 @@ "comment": "", "meta": { "range": [ - 146518, - 146539 + 145934, + 145955 ], "filename": "astronomy.js", - "lineno": 3303, + "lineno": 3287, "columnno": 10, "code": { - "id": "astnode100015878", + "id": "astnode100015834", "name": "time", "type": "CallExpression", "value": "" @@ -33065,14 +33003,14 @@ "comment": "", "meta": { "range": [ - 146551, - 146585 + 145967, + 146001 ], "filename": "astronomy.js", - "lineno": 3304, + "lineno": 3288, "columnno": 10, "code": { - "id": "astnode100015884", + "id": "astnode100015840", "name": "earth", "type": "CallExpression", "value": "" @@ -33090,14 +33028,14 @@ "comment": "", "meta": { "range": [ - 146595, - 146600 + 146011, + 146016 ], "filename": "astronomy.js", - "lineno": 3305, + "lineno": 3289, "columnno": 8, "code": { - "id": "astnode100015893", + "id": "astnode100015849", "name": "phase" } }, @@ -33113,14 +33051,14 @@ "comment": "", "meta": { "range": [ - 146676, - 146678 + 146092, + 146094 ], "filename": "astronomy.js", - "lineno": 3306, + "lineno": 3290, "columnno": 8, "code": { - "id": "astnode100015896", + "id": "astnode100015852", "name": "hc" } }, @@ -33136,14 +33074,14 @@ "comment": "", "meta": { "range": [ - 146715, - 146717 + 146131, + 146133 ], "filename": "astronomy.js", - "lineno": 3307, + "lineno": 3291, "columnno": 8, "code": { - "id": "astnode100015899", + "id": "astnode100015855", "name": "gc" } }, @@ -33159,14 +33097,14 @@ "comment": "", "meta": { "range": [ - 146756, - 146759 + 146172, + 146175 ], "filename": "astronomy.js", - "lineno": 3308, + "lineno": 3292, "columnno": 8, "code": { - "id": "astnode100015902", + "id": "astnode100015858", "name": "mag" } }, @@ -33182,14 +33120,14 @@ "comment": "", "meta": { "range": [ - 146818, - 146869 + 146234, + 146285 ], "filename": "astronomy.js", - "lineno": 3310, + "lineno": 3294, "columnno": 8, "code": { - "id": "astnode100015912", + "id": "astnode100015868", "name": "gc", "type": "NewExpression", "funcscope": "Illumination", @@ -33208,14 +33146,14 @@ "comment": "", "meta": { "range": [ - 146879, - 146909 + 146295, + 146325 ], "filename": "astronomy.js", - "lineno": 3311, + "lineno": 3295, "columnno": 8, "code": { - "id": "astnode100015930", + "id": "astnode100015886", "name": "hc", "type": "NewExpression", "funcscope": "Illumination", @@ -33234,14 +33172,14 @@ "comment": "", "meta": { "range": [ - 146919, - 146928 + 146335, + 146344 ], "filename": "astronomy.js", - "lineno": 3312, + "lineno": 3296, "columnno": 8, "code": { - "id": "astnode100015939", + "id": "astnode100015895", "name": "phase", "type": "Literal", "funcscope": "Illumination", @@ -33260,14 +33198,14 @@ "comment": "", "meta": { "range": [ - 147190, - 147208 + 146606, + 146624 ], "filename": "astronomy.js", - "lineno": 3317, + "lineno": 3301, "columnno": 12, "code": { - "id": "astnode100015951", + "id": "astnode100015907", "name": "gc", "type": "CallExpression", "funcscope": "Illumination", @@ -33286,14 +33224,14 @@ "comment": "", "meta": { "range": [ - 147222, - 147291 + 146638, + 146707 ], "filename": "astronomy.js", - "lineno": 3318, + "lineno": 3302, "columnno": 12, "code": { - "id": "astnode100015957", + "id": "astnode100015913", "name": "hc", "type": "NewExpression", "funcscope": "Illumination", @@ -33312,14 +33250,14 @@ "comment": "", "meta": { "range": [ - 147407, - 147435 + 146823, + 146851 ], "filename": "astronomy.js", - "lineno": 3322, + "lineno": 3306, "columnno": 12, "code": { - "id": "astnode100015985", + "id": "astnode100015941", "name": "hc", "type": "CallExpression", "funcscope": "Illumination", @@ -33338,14 +33276,14 @@ "comment": "", "meta": { "range": [ - 147449, - 147518 + 146865, + 146934 ], "filename": "astronomy.js", - "lineno": 3323, + "lineno": 3307, "columnno": 12, "code": { - "id": "astnode100015992", + "id": "astnode100015948", "name": "gc", "type": "NewExpression", "funcscope": "Illumination", @@ -33364,14 +33302,14 @@ "comment": "", "meta": { "range": [ - 147538, - 147566 + 146954, + 146982 ], "filename": "astronomy.js", - "lineno": 3325, + "lineno": 3309, "columnno": 8, "code": { - "id": "astnode100016019", + "id": "astnode100015975", "name": "phase", "type": "CallExpression", "funcscope": "Illumination", @@ -33390,14 +33328,14 @@ "comment": "", "meta": { "range": [ - 147582, - 147604 + 146998, + 147020 ], "filename": "astronomy.js", - "lineno": 3327, + "lineno": 3311, "columnno": 8, "code": { - "id": "astnode100016026", + "id": "astnode100015982", "name": "geo_dist", "type": "CallExpression", "value": "" @@ -33415,14 +33353,14 @@ "comment": "", "meta": { "range": [ - 147655, - 147679 + 147071, + 147095 ], "filename": "astronomy.js", - "lineno": 3328, + "lineno": 3312, "columnno": 8, "code": { - "id": "astnode100016033", + "id": "astnode100015989", "name": "helio_dist", "type": "CallExpression", "value": "" @@ -33440,14 +33378,14 @@ "comment": "", "meta": { "range": [ - 147728, - 147737 + 147144, + 147153 ], "filename": "astronomy.js", - "lineno": 3329, + "lineno": 3313, "columnno": 8, "code": { - "id": "astnode100016040", + "id": "astnode100015996", "name": "ring_tilt" } }, @@ -33463,14 +33401,14 @@ "comment": "", "meta": { "range": [ - 147804, - 147848 + 147220, + 147264 ], "filename": "astronomy.js", - "lineno": 3331, + "lineno": 3315, "columnno": 8, "code": { - "id": "astnode100016050", + "id": "astnode100016006", "name": "mag", "type": "BinaryExpression", "funcscope": "Illumination", @@ -33489,14 +33427,14 @@ "comment": "", "meta": { "range": [ - 147899, - 147947 + 147315, + 147363 ], "filename": "astronomy.js", - "lineno": 3334, + "lineno": 3318, "columnno": 8, "code": { - "id": "astnode100016069", + "id": "astnode100016025", "name": "mag", "type": "CallExpression", "funcscope": "Illumination", @@ -33515,14 +33453,14 @@ "comment": "", "meta": { "range": [ - 148006, - 148069 + 147422, + 147485 ], "filename": "astronomy.js", - "lineno": 3337, + "lineno": 3321, "columnno": 14, "code": { - "id": "astnode100016084", + "id": "astnode100016040", "name": "saturn", "type": "CallExpression", "value": "" @@ -33540,14 +33478,14 @@ "comment": "", "meta": { "range": [ - 148079, - 148095 + 147495, + 147511 ], "filename": "astronomy.js", - "lineno": 3338, + "lineno": 3322, "columnno": 8, "code": { - "id": "astnode100016094", + "id": "astnode100016050", "name": "mag", "type": "MemberExpression", "funcscope": "Illumination", @@ -33566,14 +33504,14 @@ "comment": "", "meta": { "range": [ - 148105, - 148133 + 147521, + 147549 ], "filename": "astronomy.js", - "lineno": 3339, + "lineno": 3323, "columnno": 8, "code": { - "id": "astnode100016100", + "id": "astnode100016056", "name": "ring_tilt", "type": "MemberExpression", "funcscope": "Illumination", @@ -33592,14 +33530,14 @@ "comment": "", "meta": { "range": [ - 148160, - 148216 + 147576, + 147632 ], "filename": "astronomy.js", - "lineno": 3342, + "lineno": 3326, "columnno": 8, "code": { - "id": "astnode100016107", + "id": "astnode100016063", "name": "mag", "type": "CallExpression", "funcscope": "Illumination", @@ -33618,14 +33556,14 @@ "comment": "", "meta": { "range": [ - 148318, - 148353 + 147734, + 147769 ], "filename": "astronomy.js", - "lineno": 3346, + "lineno": 3330, "columnno": 0, "code": { - "id": "astnode100016127", + "id": "astnode100016083", "name": "exports.Illumination", "type": "Identifier", "value": "Illumination", @@ -33642,14 +33580,14 @@ "comment": "", "meta": { "range": [ - 148355, - 149266 + 147771, + 148682 ], "filename": "astronomy.js", - "lineno": 3347, + "lineno": 3331, "columnno": 0, "code": { - "id": "astnode100016132", + "id": "astnode100016088", "name": "SynodicPeriod", "type": "FunctionDeclaration", "paramnames": [ @@ -33674,14 +33612,14 @@ "comment": "", "meta": { "range": [ - 148887, - 148908 + 148303, + 148324 ], "filename": "astronomy.js", - "lineno": 3356, + "lineno": 3340, "columnno": 8, "code": { - "id": "astnode100016153", + "id": "astnode100016109", "name": "planet", "type": "MemberExpression", "value": "Planet[undefined]" @@ -33699,14 +33637,14 @@ "comment": "", "meta": { "range": [ - 149113, - 149144 + 148529, + 148560 ], "filename": "astronomy.js", - "lineno": 3361, + "lineno": 3345, "columnno": 10, "code": { - "id": "astnode100016167", + "id": "astnode100016123", "name": "Te", "type": "MemberExpression", "value": "Planet.Earth.OrbitalPeriod" @@ -33724,14 +33662,14 @@ "comment": "", "meta": { "range": [ - 149156, - 149181 + 148572, + 148597 ], "filename": "astronomy.js", - "lineno": 3362, + "lineno": 3346, "columnno": 10, "code": { - "id": "astnode100016175", + "id": "astnode100016131", "name": "Tp", "type": "MemberExpression", "value": "planet.OrbitalPeriod" @@ -33749,14 +33687,14 @@ "comment": "", "meta": { "range": [ - 149193, - 149237 + 148609, + 148653 ], "filename": "astronomy.js", - "lineno": 3363, + "lineno": 3347, "columnno": 10, "code": { - "id": "astnode100016181", + "id": "astnode100016137", "name": "synodicPeriod", "type": "CallExpression", "value": "" @@ -33774,14 +33712,14 @@ "comment": "/**\n * @brief Searches for when the Earth and a given body reach a relative ecliptic longitude separation.\n *\n * Searches for the date and time the relative ecliptic longitudes of\n * the specified body and the Earth, as seen from the Sun, reach a certain\n * difference. This function is useful for finding conjunctions and oppositions\n * of the planets. For the opposition of a superior planet (Mars, Jupiter, ..., Pluto),\n * or the inferior conjunction of an inferior planet (Mercury, Venus),\n * call with `targetRelLon` = 0. The 0 value indicates that both\n * planets are on the same ecliptic longitude line, ignoring the other planet's\n * distance above or below the plane of the Earth's orbit.\n * For superior conjunctions, call with `targetRelLon` = 180.\n * This means the Earth and the other planet are on opposite sides of the Sun.\n *\n * @param {Body} body\n * The name of a planet other than the Earth.\n *\n * @param {number} targetRelLon\n * The desired angular difference in degrees between the ecliptic longitudes\n * of `body` and the Earth. Must be in the range (-180, +180].\n *\n * @param {FlexibleDateTime} startDate\n * The date and time after which to find the next occurrence of the\n * body and the Earth reaching the desired relative longitude.\n *\n * @returns {AstroTime}\n * The time when the Earth and the body next reach the specified relative longitudes.\n */", "meta": { "range": [ - 150672, - 152914 + 150088, + 152330 ], "filename": "astronomy.js", - "lineno": 3394, + "lineno": 3378, "columnno": 0, "code": { - "id": "astnode100016196", + "id": "astnode100016152", "name": "SearchRelativeLongitude", "type": "FunctionDeclaration", "paramnames": [ @@ -33859,14 +33797,14 @@ "comment": "", "meta": { "range": [ - 150780, - 150801 + 150196, + 150217 ], "filename": "astronomy.js", - "lineno": 3396, + "lineno": 3380, "columnno": 10, "code": { - "id": "astnode100016207", + "id": "astnode100016163", "name": "planet", "type": "MemberExpression", "value": "Planet[undefined]" @@ -33884,14 +33822,14 @@ "comment": "", "meta": { "range": [ - 151142, - 151215 + 150558, + 150631 ], "filename": "astronomy.js", - "lineno": 3403, + "lineno": 3387, "columnno": 10, "code": { - "id": "astnode100016229", + "id": "astnode100016185", "name": "direction", "type": "ConditionalExpression", "value": "" @@ -33909,14 +33847,14 @@ "comment": "", "meta": { "range": [ - 151221, - 151452 + 150637, + 150868 ], "filename": "astronomy.js", - "lineno": 3404, + "lineno": 3388, "columnno": 4, "code": { - "id": "astnode100016245", + "id": "astnode100016201", "name": "offset", "type": "FunctionDeclaration", "paramnames": [ @@ -33941,14 +33879,14 @@ "comment": "", "meta": { "range": [ - 151256, - 151289 + 150672, + 150705 ], "filename": "astronomy.js", - "lineno": 3405, + "lineno": 3389, "columnno": 14, "code": { - "id": "astnode100016250", + "id": "astnode100016206", "name": "plon", "type": "CallExpression", "value": "" @@ -33966,14 +33904,14 @@ "comment": "", "meta": { "range": [ - 151305, - 151344 + 150721, + 150760 ], "filename": "astronomy.js", - "lineno": 3406, + "lineno": 3390, "columnno": 14, "code": { - "id": "astnode100016257", + "id": "astnode100016213", "name": "elon", "type": "CallExpression", "value": "" @@ -33991,14 +33929,14 @@ "comment": "", "meta": { "range": [ - 151360, - 151392 + 150776, + 150808 ], "filename": "astronomy.js", - "lineno": 3407, + "lineno": 3391, "columnno": 14, "code": { - "id": "astnode100016266", + "id": "astnode100016222", "name": "diff", "type": "BinaryExpression", "value": "" @@ -34016,14 +33954,14 @@ "comment": "", "meta": { "range": [ - 151461, - 151486 + 150877, + 150902 ], "filename": "astronomy.js", - "lineno": 3410, + "lineno": 3394, "columnno": 8, "code": { - "id": "astnode100016280", + "id": "astnode100016236", "name": "syn", "type": "CallExpression", "value": "" @@ -34041,14 +33979,14 @@ "comment": "", "meta": { "range": [ - 151496, - 151522 + 150912, + 150938 ], "filename": "astronomy.js", - "lineno": 3411, + "lineno": 3395, "columnno": 8, "code": { - "id": "astnode100016286", + "id": "astnode100016242", "name": "time", "type": "CallExpression", "value": "" @@ -34066,14 +34004,14 @@ "comment": "", "meta": { "range": [ - 151727, - 151753 + 151143, + 151169 ], "filename": "astronomy.js", - "lineno": 3415, + "lineno": 3399, "columnno": 8, "code": { - "id": "astnode100016292", + "id": "astnode100016248", "name": "error_angle", "type": "CallExpression", "value": "" @@ -34091,14 +34029,14 @@ "comment": "", "meta": { "range": [ - 151788, - 151806 + 151204, + 151222 ], "filename": "astronomy.js", - "lineno": 3417, + "lineno": 3401, "columnno": 8, "code": { - "id": "astnode100016302", + "id": "astnode100016258", "name": "error_angle", "type": "Literal", "funcscope": "SearchRelativeLongitude", @@ -34117,14 +34055,14 @@ "comment": "", "meta": { "range": [ - 151856, - 151864 + 151272, + 151280 ], "filename": "astronomy.js", - "lineno": 3418, + "lineno": 3402, "columnno": 13, "code": { - "id": "astnode100016307", + "id": "astnode100016263", "name": "iter", "type": "Literal", "value": 0 @@ -34142,14 +34080,14 @@ "comment": "", "meta": { "range": [ - 152051, - 152090 + 151467, + 151506 ], "filename": "astronomy.js", - "lineno": 3421, + "lineno": 3405, "columnno": 12, "code": { - "id": "astnode100016317", + "id": "astnode100016273", "name": "day_adjust", "type": "BinaryExpression", "value": "" @@ -34167,14 +34105,14 @@ "comment": "", "meta": { "range": [ - 152100, - 152131 + 151516, + 151547 ], "filename": "astronomy.js", - "lineno": 3422, + "lineno": 3406, "columnno": 8, "code": { - "id": "astnode100016326", + "id": "astnode100016282", "name": "time", "type": "CallExpression", "funcscope": "SearchRelativeLongitude", @@ -34193,14 +34131,14 @@ "comment": "", "meta": { "range": [ - 152226, - 152250 + 151642, + 151666 ], "filename": "astronomy.js", - "lineno": 3425, + "lineno": 3409, "columnno": 12, "code": { - "id": "astnode100016346", + "id": "astnode100016302", "name": "prev_angle", "type": "Identifier", "value": "error_angle" @@ -34218,14 +34156,14 @@ "comment": "", "meta": { "range": [ - 152260, - 152286 + 151676, + 151702 ], "filename": "astronomy.js", - "lineno": 3426, + "lineno": 3410, "columnno": 8, "code": { - "id": "astnode100016350", + "id": "astnode100016306", "name": "error_angle", "type": "CallExpression", "funcscope": "SearchRelativeLongitude", @@ -34244,14 +34182,14 @@ "comment": "", "meta": { "range": [ - 152626, - 152673 + 152042, + 152089 ], "filename": "astronomy.js", - "lineno": 3432, + "lineno": 3416, "columnno": 20, "code": { - "id": "astnode100016370", + "id": "astnode100016326", "name": "ratio", "type": "BinaryExpression", "value": "" @@ -34269,14 +34207,14 @@ "comment": "", "meta": { "range": [ - 152743, - 152755 + 152159, + 152171 ], "filename": "astronomy.js", - "lineno": 3434, + "lineno": 3418, "columnno": 20, "code": { - "id": "astnode100016386", + "id": "astnode100016342", "name": "syn", "type": "Identifier", "funcscope": "SearchRelativeLongitude", @@ -34295,14 +34233,14 @@ "comment": "", "meta": { "range": [ - 152915, - 152972 + 152331, + 152388 ], "filename": "astronomy.js", - "lineno": 3440, + "lineno": 3424, "columnno": 0, "code": { - "id": "astnode100016402", + "id": "astnode100016358", "name": "exports.SearchRelativeLongitude", "type": "Identifier", "value": "SearchRelativeLongitude", @@ -34319,14 +34257,14 @@ "comment": "/**\n * @brief Determines the moon's phase expressed as an ecliptic longitude.\n *\n * @param {FlexibleDateTime} date\n * The date and time for which to calculate the moon's phase.\n *\n * @returns {number}\n * A value in the range [0, 360) indicating the difference\n * in ecliptic longitude between the center of the Sun and the\n * center of the Moon, as seen from the center of the Earth.\n * Certain longitude values have conventional meanings:\n *\n * * 0 = new moon\n * * 90 = first quarter\n * * 180 = full moon\n * * 270 = third quarter\n */", "meta": { "range": [ - 153534, - 153608 + 152950, + 153024 ], "filename": "astronomy.js", - "lineno": 3458, + "lineno": 3442, "columnno": 0, "code": { - "id": "astnode100016407", + "id": "astnode100016363", "name": "MoonPhase", "type": "FunctionDeclaration", "paramnames": [ @@ -34372,14 +34310,14 @@ "comment": "", "meta": { "range": [ - 153609, - 153638 + 153025, + 153054 ], "filename": "astronomy.js", - "lineno": 3461, + "lineno": 3445, "columnno": 0, "code": { - "id": "astnode100016419", + "id": "astnode100016375", "name": "exports.MoonPhase", "type": "Identifier", "value": "MoonPhase", @@ -34396,14 +34334,14 @@ "comment": "/**\n * @brief Searches for the date and time that the Moon reaches a specified phase.\n *\n * Lunar phases are defined in terms of geocentric ecliptic longitudes\n * with respect to the Sun. When the Moon and the Sun have the same ecliptic\n * longitude, that is defined as a new moon. When the two ecliptic longitudes\n * are 180 degrees apart, that is defined as a full moon.\n * To enumerate quarter lunar phases, it is simpler to call\n * {@link SearchMoonQuarter} once, followed by repeatedly calling\n * {@link NextMoonQuarter}. `SearchMoonPhase` is only\n * necessary for finding other lunar phases than the usual quarter phases.\n *\n * @param {number} targetLon\n * The difference in geocentric ecliptic longitude between the Sun and Moon\n * that specifies the lunar phase being sought. This can be any value\n * in the range [0, 360). Here are some helpful examples:\n * 0 = new moon,\n * 90 = first quarter,\n * 180 = full moon,\n * 270 = third quarter.\n *\n * @param {FlexibleDateTime} dateStart\n * The beginning of the window of time in which to search.\n *\n * @param {number} limitDays\n * The floating point number of days after `dateStart`\n * that limits the window of time in which to search.\n *\n * @returns {AstroTime | null}\n * If the specified lunar phase occurs after `dateStart`\n * and before `limitDays` days after `dateStart`,\n * this function returns the date and time of the first such occurrence.\n * Otherwise, it returns `null`.\n */", "meta": { "range": [ - 155152, - 156606 + 154568, + 156022 ], "filename": "astronomy.js", - "lineno": 3496, + "lineno": 3480, "columnno": 0, "code": { - "id": "astnode100016424", + "id": "astnode100016380", "name": "SearchMoonPhase", "type": "FunctionDeclaration", "paramnames": [ @@ -34481,14 +34419,14 @@ "comment": "", "meta": { "range": [ - 155216, - 155330 + 154632, + 154746 ], "filename": "astronomy.js", - "lineno": 3497, + "lineno": 3481, "columnno": 4, "code": { - "id": "astnode100016430", + "id": "astnode100016386", "name": "moon_offset", "type": "FunctionDeclaration", "paramnames": [ @@ -34511,14 +34449,14 @@ "comment": "", "meta": { "range": [ - 155254, - 155273 + 154670, + 154689 ], "filename": "astronomy.js", - "lineno": 3498, + "lineno": 3482, "columnno": 12, "code": { - "id": "astnode100016435", + "id": "astnode100016391", "name": "mlon", "type": "CallExpression", "value": "" @@ -34536,14 +34474,14 @@ "comment": "", "meta": { "range": [ - 156080, - 156097 + 155496, + 155513 ], "filename": "astronomy.js", - "lineno": 3513, + "lineno": 3497, "columnno": 10, "code": { - "id": "astnode100016455", + "id": "astnode100016411", "name": "uncertainty", "type": "Literal", "value": 1.5 @@ -34561,14 +34499,14 @@ "comment": "", "meta": { "range": [ - 156107, - 156131 + 155523, + 155547 ], "filename": "astronomy.js", - "lineno": 3514, + "lineno": 3498, "columnno": 8, "code": { - "id": "astnode100016459", + "id": "astnode100016415", "name": "ta", "type": "CallExpression", "value": "" @@ -34586,14 +34524,14 @@ "comment": "", "meta": { "range": [ - 156141, - 156161 + 155557, + 155577 ], "filename": "astronomy.js", - "lineno": 3515, + "lineno": 3499, "columnno": 8, "code": { - "id": "astnode100016465", + "id": "astnode100016421", "name": "ya", "type": "CallExpression", "value": "" @@ -34611,14 +34549,14 @@ "comment": "", "meta": { "range": [ - 156187, - 156196 + 155603, + 155612 ], "filename": "astronomy.js", - "lineno": 3517, + "lineno": 3501, "columnno": 8, "code": { - "id": "astnode100016475", + "id": "astnode100016431", "name": "ya", "type": "Literal", "funcscope": "SearchMoonPhase", @@ -34637,14 +34575,14 @@ "comment": "", "meta": { "range": [ - 156255, - 156296 + 155671, + 155712 ], "filename": "astronomy.js", - "lineno": 3518, + "lineno": 3502, "columnno": 8, "code": { - "id": "astnode100016479", + "id": "astnode100016435", "name": "est_dt", "type": "BinaryExpression", "value": "" @@ -34662,14 +34600,14 @@ "comment": "", "meta": { "range": [ - 156306, - 156332 + 155722, + 155748 ], "filename": "astronomy.js", - "lineno": 3519, + "lineno": 3503, "columnno": 8, "code": { - "id": "astnode100016488", + "id": "astnode100016444", "name": "dt1", "type": "BinaryExpression", "value": "" @@ -34687,14 +34625,14 @@ "comment": "", "meta": { "range": [ - 156456, - 156503 + 155872, + 155919 ], "filename": "astronomy.js", - "lineno": 3522, + "lineno": 3506, "columnno": 8, "code": { - "id": "astnode100016500", + "id": "astnode100016456", "name": "dt2", "type": "CallExpression", "value": "" @@ -34712,14 +34650,14 @@ "comment": "", "meta": { "range": [ - 156513, - 156533 + 155929, + 155949 ], "filename": "astronomy.js", - "lineno": 3523, + "lineno": 3507, "columnno": 8, "code": { - "id": "astnode100016511", + "id": "astnode100016467", "name": "t1", "type": "CallExpression", "value": "" @@ -34737,14 +34675,14 @@ "comment": "", "meta": { "range": [ - 156543, - 156563 + 155959, + 155979 ], "filename": "astronomy.js", - "lineno": 3524, + "lineno": 3508, "columnno": 8, "code": { - "id": "astnode100016519", + "id": "astnode100016475", "name": "t2", "type": "CallExpression", "value": "" @@ -34762,14 +34700,14 @@ "comment": "", "meta": { "range": [ - 156607, - 156648 + 156023, + 156064 ], "filename": "astronomy.js", - "lineno": 3527, + "lineno": 3511, "columnno": 0, "code": { - "id": "astnode100016533", + "id": "astnode100016489", "name": "exports.SearchMoonPhase", "type": "Identifier", "value": "SearchMoonPhase", @@ -34786,14 +34724,14 @@ "comment": "/**\n * @brief A quarter lunar phase, along with when it occurs.\n *\n * @property {number} quarter\n * An integer as follows:\n * 0 = new moon,\n * 1 = first quarter,\n * 2 = full moon,\n * 3 = third quarter.\n *\n * @property {AstroTime} time\n * The date and time of the quarter lunar phase.\n */", "meta": { "range": [ - 156968, - 157086 + 156384, + 156502 ], "filename": "astronomy.js", - "lineno": 3541, + "lineno": 3525, "columnno": 0, "code": { - "id": "astnode100016538", + "id": "astnode100016494", "name": "MoonQuarter", "type": "ClassDeclaration", "paramnames": [ @@ -34840,14 +34778,14 @@ "comment": "", "meta": { "range": [ - 156992, - 157084 + 156408, + 156500 ], "filename": "astronomy.js", - "lineno": 3542, + "lineno": 3526, "columnno": 4, "code": { - "id": "astnode100016541", + "id": "astnode100016497", "name": "MoonQuarter", "type": "MethodDefinition", "paramnames": [ @@ -34870,14 +34808,14 @@ "comment": "/**\n * @brief A quarter lunar phase, along with when it occurs.\n *\n * @property {number} quarter\n * An integer as follows:\n * 0 = new moon,\n * 1 = first quarter,\n * 2 = full moon,\n * 3 = third quarter.\n *\n * @property {AstroTime} time\n * The date and time of the quarter lunar phase.\n */", "meta": { "range": [ - 156968, - 157086 + 156384, + 156502 ], "filename": "astronomy.js", - "lineno": 3541, + "lineno": 3525, "columnno": 0, "code": { - "id": "astnode100016538", + "id": "astnode100016494", "name": "MoonQuarter", "type": "ClassDeclaration", "paramnames": [ @@ -34923,14 +34861,14 @@ "comment": "", "meta": { "range": [ - 157029, - 157051 + 156445, + 156467 ], "filename": "astronomy.js", - "lineno": 3543, + "lineno": 3527, "columnno": 8, "code": { - "id": "astnode100016548", + "id": "astnode100016504", "name": "this.quarter", "type": "Identifier", "value": "quarter", @@ -34948,14 +34886,14 @@ "comment": "", "meta": { "range": [ - 157061, - 157077 + 156477, + 156493 ], "filename": "astronomy.js", - "lineno": 3544, + "lineno": 3528, "columnno": 8, "code": { - "id": "astnode100016554", + "id": "astnode100016510", "name": "this.time", "type": "Identifier", "value": "time", @@ -34973,14 +34911,14 @@ "comment": "", "meta": { "range": [ - 157087, - 157120 + 156503, + 156536 ], "filename": "astronomy.js", - "lineno": 3547, + "lineno": 3531, "columnno": 0, "code": { - "id": "astnode100016560", + "id": "astnode100016516", "name": "exports.MoonQuarter", "type": "Identifier", "value": "MoonQuarter", @@ -34997,14 +34935,14 @@ "comment": "/**\n * @brief Finds the first quarter lunar phase after the specified date and time.\n *\n * The quarter lunar phases are: new moon, first quarter, full moon, and third quarter.\n * To enumerate quarter lunar phases, call `SearchMoonQuarter` once,\n * then pass its return value to {@link NextMoonQuarter} to find the next\n * `MoonQuarter`. Keep calling `NextMoonQuarter` in a loop,\n * passing the previous return value as the argument to the next call.\n *\n * @param {FlexibleDateTime} dateStart\n * The date and time after which to find the first quarter lunar phase.\n *\n * @returns {MoonQuarter}\n */", "meta": { "range": [ - 157724, - 158117 + 157140, + 157533 ], "filename": "astronomy.js", - "lineno": 3562, + "lineno": 3546, "columnno": 0, "code": { - "id": "astnode100016565", + "id": "astnode100016521", "name": "SearchMoonQuarter", "type": "FunctionDeclaration", "paramnames": [ @@ -35055,14 +34993,14 @@ "comment": "", "meta": { "range": [ - 157826, - 157859 + 157242, + 157275 ], "filename": "astronomy.js", - "lineno": 3564, + "lineno": 3548, "columnno": 8, "code": { - "id": "astnode100016570", + "id": "astnode100016526", "name": "phaseStart", "type": "CallExpression", "value": "" @@ -35080,14 +35018,14 @@ "comment": "", "meta": { "range": [ - 157869, - 157911 + 157285, + 157327 ], "filename": "astronomy.js", - "lineno": 3565, + "lineno": 3549, "columnno": 8, "code": { - "id": "astnode100016576", + "id": "astnode100016532", "name": "quarterStart", "type": "CallExpression", "value": "" @@ -35105,14 +35043,14 @@ "comment": "", "meta": { "range": [ - 157921, - 157953 + 157337, + 157369 ], "filename": "astronomy.js", - "lineno": 3566, + "lineno": 3550, "columnno": 8, "code": { - "id": "astnode100016586", + "id": "astnode100016542", "name": "quarter", "type": "BinaryExpression", "value": "" @@ -35130,14 +35068,14 @@ "comment": "", "meta": { "range": [ - 157963, - 158014 + 157379, + 157430 ], "filename": "astronomy.js", - "lineno": 3567, + "lineno": 3551, "columnno": 8, "code": { - "id": "astnode100016594", + "id": "astnode100016550", "name": "time", "type": "CallExpression", "value": "" @@ -35155,14 +35093,14 @@ "comment": "", "meta": { "range": [ - 158118, - 158163 + 157534, + 157579 ], "filename": "astronomy.js", - "lineno": 3572, + "lineno": 3556, "columnno": 0, "code": { - "id": "astnode100016614", + "id": "astnode100016570", "name": "exports.SearchMoonQuarter", "type": "Identifier", "value": "SearchMoonQuarter", @@ -35179,14 +35117,14 @@ "comment": "/**\n * @brief Finds the next quarter lunar phase in a series.\n *\n * Given a {@link MoonQuarter} object, finds the next consecutive\n * quarter lunar phase. See remarks in {@link SearchMoonQuarter}\n * for explanation of usage.\n *\n * @param {MoonQuarter} mq\n * The return value of a prior call to {@link MoonQuarter} or `NextMoonQuarter`.\n */", "meta": { "range": [ - 158510, - 158867 + 157926, + 158283 ], "filename": "astronomy.js", - "lineno": 3583, + "lineno": 3567, "columnno": 0, "code": { - "id": "astnode100016619", + "id": "astnode100016575", "name": "NextMoonQuarter", "type": "FunctionDeclaration", "paramnames": [ @@ -35225,14 +35163,14 @@ "comment": "", "meta": { "range": [ - 158768, - 158828 + 158184, + 158244 ], "filename": "astronomy.js", - "lineno": 3587, + "lineno": 3571, "columnno": 8, "code": { - "id": "astnode100016624", + "id": "astnode100016580", "name": "date", "type": "NewExpression", "value": "" @@ -35250,14 +35188,14 @@ "comment": "", "meta": { "range": [ - 158868, - 158909 + 158284, + 158325 ], "filename": "astronomy.js", - "lineno": 3590, + "lineno": 3574, "columnno": 0, "code": { - "id": "astnode100016645", + "id": "astnode100016601", "name": "exports.NextMoonQuarter", "type": "Identifier", "value": "NextMoonQuarter", @@ -35274,14 +35212,14 @@ "comment": "", "meta": { "range": [ - 158911, - 159312 + 158327, + 158728 ], "filename": "astronomy.js", - "lineno": 3591, + "lineno": 3575, "columnno": 0, "code": { - "id": "astnode100016650", + "id": "astnode100016606", "name": "BodyRadiusAu", "type": "FunctionDeclaration", "paramnames": [ @@ -35300,14 +35238,14 @@ "comment": "/**\n * @brief Finds the next rise or set time for a body.\n *\n * Finds a rise or set time for the given body as\n * seen by an observer at the specified location on the Earth.\n * Rise time is defined as the moment when the top of the body\n * is observed to first appear above the horizon in the east.\n * Set time is defined as the moment the top of the body\n * is observed to sink below the horizon in the west.\n * The times are adjusted for typical atmospheric refraction conditions.\n *\n * @param {Body} body\n * The name of the body to find the rise or set time for.\n *\n * @param {Observer} observer\n * Specifies the geographic coordinates and elevation above sea level of the observer.\n *\n * @param {number} direction\n * Either +1 to find rise time or -1 to find set time.\n * Any other value will cause an exception to be thrown.\n *\n * @param {FlexibleDateTime} dateStart\n * The date and time after which the specified rise or set time is to be found.\n *\n * @param {number} limitDays\n * The fractional number of days after `dateStart` that limits\n * when the rise or set time is to be found.\n *\n * @returns {AstroTime | null}\n * The date and time of the rise or set event, or null if no such event\n * occurs within the specified time window.\n */", "meta": { "range": [ - 160604, - 164392 + 160020, + 163808 ], "filename": "astronomy.js", - "lineno": 3634, + "lineno": 3618, "columnno": 0, "code": { - "id": "astnode100016671", + "id": "astnode100016627", "name": "SearchRiseSet", "type": "FunctionDeclaration", "paramnames": [ @@ -35407,14 +35345,14 @@ "comment": "", "meta": { "range": [ - 160745, - 160780 + 160161, + 160196 ], "filename": "astronomy.js", - "lineno": 3637, + "lineno": 3621, "columnno": 8, "code": { - "id": "astnode100016688", + "id": "astnode100016644", "name": "body_radius_au", "type": "CallExpression", "value": "" @@ -35432,14 +35370,14 @@ "comment": "", "meta": { "range": [ - 160786, - 161601 + 160202, + 161017 ], "filename": "astronomy.js", - "lineno": 3638, + "lineno": 3622, "columnno": 4, "code": { - "id": "astnode100016693", + "id": "astnode100016649", "name": "peak_altitude", "type": "FunctionDeclaration", "paramnames": [ @@ -35464,14 +35402,14 @@ "comment": "", "meta": { "range": [ - 161347, - 161394 + 160763, + 160810 ], "filename": "astronomy.js", - "lineno": 3647, + "lineno": 3631, "columnno": 14, "code": { - "id": "astnode100016698", + "id": "astnode100016654", "name": "ofdate", "type": "CallExpression", "value": "" @@ -35489,14 +35427,14 @@ "comment": "", "meta": { "range": [ - 161410, - 161459 + 160826, + 160875 ], "filename": "astronomy.js", - "lineno": 3648, + "lineno": 3632, "columnno": 14, "code": { - "id": "astnode100016708", + "id": "astnode100016664", "name": "hor", "type": "CallExpression", "value": "" @@ -35514,14 +35452,14 @@ "comment": "", "meta": { "range": [ - 161475, - 161562 + 160891, + 160978 ], "filename": "astronomy.js", - "lineno": 3649, + "lineno": 3633, "columnno": 14, "code": { - "id": "astnode100016721", + "id": "astnode100016677", "name": "alt", "type": "BinaryExpression", "value": "" @@ -35539,14 +35477,14 @@ "comment": "", "meta": { "range": [ - 162281, - 162290 + 161697, + 161706 ], "filename": "astronomy.js", - "lineno": 3662, + "lineno": 3646, "columnno": 8, "code": { - "id": "astnode100016749", + "id": "astnode100016705", "name": "ha_before" } }, @@ -35562,14 +35500,14 @@ "comment": "", "meta": { "range": [ - 162292, - 162300 + 161708, + 161716 ], "filename": "astronomy.js", - "lineno": 3662, + "lineno": 3646, "columnno": 19, "code": { - "id": "astnode100016751", + "id": "astnode100016707", "name": "ha_after" } }, @@ -35585,14 +35523,14 @@ "comment": "", "meta": { "range": [ - 162338, - 162352 + 161754, + 161768 ], "filename": "astronomy.js", - "lineno": 3664, + "lineno": 3648, "columnno": 8, "code": { - "id": "astnode100016760", + "id": "astnode100016716", "name": "ha_before", "type": "Literal", "funcscope": "SearchRiseSet", @@ -35611,14 +35549,14 @@ "comment": "", "meta": { "range": [ - 162422, - 162434 + 161838, + 161850 ], "filename": "astronomy.js", - "lineno": 3665, + "lineno": 3649, "columnno": 8, "code": { - "id": "astnode100016764", + "id": "astnode100016720", "name": "ha_after", "type": "Literal", "funcscope": "SearchRiseSet", @@ -35637,14 +35575,14 @@ "comment": "", "meta": { "range": [ - 162547, - 162560 + 161963, + 161976 ], "filename": "astronomy.js", - "lineno": 3668, + "lineno": 3652, "columnno": 8, "code": { - "id": "astnode100016774", + "id": "astnode100016730", "name": "ha_before", "type": "Literal", "funcscope": "SearchRiseSet", @@ -35663,14 +35601,14 @@ "comment": "", "meta": { "range": [ - 162615, - 162628 + 162031, + 162044 ], "filename": "astronomy.js", - "lineno": 3669, + "lineno": 3653, "columnno": 8, "code": { - "id": "astnode100016778", + "id": "astnode100016734", "name": "ha_after", "type": "Literal", "funcscope": "SearchRiseSet", @@ -35689,14 +35627,14 @@ "comment": "", "meta": { "range": [ - 162793, - 162825 + 162209, + 162241 ], "filename": "astronomy.js", - "lineno": 3674, + "lineno": 3658, "columnno": 8, "code": { - "id": "astnode100016788", + "id": "astnode100016744", "name": "time_start", "type": "CallExpression", "value": "" @@ -35714,14 +35652,14 @@ "comment": "", "meta": { "range": [ - 162835, - 162846 + 162251, + 162262 ], "filename": "astronomy.js", - "lineno": 3675, + "lineno": 3659, "columnno": 8, "code": { - "id": "astnode100016794", + "id": "astnode100016750", "name": "time_before" } }, @@ -35737,14 +35675,14 @@ "comment": "", "meta": { "range": [ - 162856, - 162866 + 162272, + 162282 ], "filename": "astronomy.js", - "lineno": 3676, + "lineno": 3660, "columnno": 8, "code": { - "id": "astnode100016797", + "id": "astnode100016753", "name": "evt_before" } }, @@ -35760,14 +35698,14 @@ "comment": "", "meta": { "range": [ - 162876, - 162885 + 162292, + 162301 ], "filename": "astronomy.js", - "lineno": 3677, + "lineno": 3661, "columnno": 8, "code": { - "id": "astnode100016800", + "id": "astnode100016756", "name": "evt_after" } }, @@ -35783,14 +35721,14 @@ "comment": "", "meta": { "range": [ - 162895, - 162933 + 162311, + 162349 ], "filename": "astronomy.js", - "lineno": 3678, + "lineno": 3662, "columnno": 8, "code": { - "id": "astnode100016803", + "id": "astnode100016759", "name": "alt_before", "type": "CallExpression", "value": "" @@ -35808,14 +35746,14 @@ "comment": "", "meta": { "range": [ - 162943, - 162952 + 162359, + 162368 ], "filename": "astronomy.js", - "lineno": 3679, + "lineno": 3663, "columnno": 8, "code": { - "id": "astnode100016809", + "id": "astnode100016765", "name": "alt_after" } }, @@ -35831,14 +35769,14 @@ "comment": "", "meta": { "range": [ - 163091, - 163158 + 162507, + 162574 ], "filename": "astronomy.js", - "lineno": 3682, + "lineno": 3666, "columnno": 8, "code": { - "id": "astnode100016817", + "id": "astnode100016773", "name": "evt_before", "type": "CallExpression", "funcscope": "SearchRiseSet", @@ -35857,14 +35795,14 @@ "comment": "", "meta": { "range": [ - 163168, - 163197 + 162584, + 162613 ], "filename": "astronomy.js", - "lineno": 3683, + "lineno": 3667, "columnno": 8, "code": { - "id": "astnode100016826", + "id": "astnode100016782", "name": "time_before", "type": "MemberExpression", "funcscope": "SearchRiseSet", @@ -35883,14 +35821,14 @@ "comment": "", "meta": { "range": [ - 163207, - 163246 + 162623, + 162662 ], "filename": "astronomy.js", - "lineno": 3684, + "lineno": 3668, "columnno": 8, "code": { - "id": "astnode100016832", + "id": "astnode100016788", "name": "alt_before", "type": "CallExpression", "funcscope": "SearchRiseSet", @@ -35909,14 +35847,14 @@ "comment": "", "meta": { "range": [ - 163430, - 163454 + 162846, + 162870 ], "filename": "astronomy.js", - "lineno": 3689, + "lineno": 3673, "columnno": 8, "code": { - "id": "astnode100016839", + "id": "astnode100016795", "name": "time_before", "type": "Identifier", "funcscope": "SearchRiseSet", @@ -35935,14 +35873,14 @@ "comment": "", "meta": { "range": [ - 163466, - 163532 + 162882, + 162948 ], "filename": "astronomy.js", - "lineno": 3691, + "lineno": 3675, "columnno": 4, "code": { - "id": "astnode100016843", + "id": "astnode100016799", "name": "evt_after", "type": "CallExpression", "funcscope": "SearchRiseSet", @@ -35961,14 +35899,14 @@ "comment": "", "meta": { "range": [ - 163538, - 163579 + 162954, + 162995 ], "filename": "astronomy.js", - "lineno": 3692, + "lineno": 3676, "columnno": 4, "code": { - "id": "astnode100016852", + "id": "astnode100016808", "name": "alt_after", "type": "CallExpression", "funcscope": "SearchRiseSet", @@ -35987,14 +35925,14 @@ "comment": "", "meta": { "range": [ - 163742, - 163842 + 163158, + 163258 ], "filename": "astronomy.js", - "lineno": 3696, + "lineno": 3680, "columnno": 16, "code": { - "id": "astnode100016872", + "id": "astnode100016828", "name": "tx", "type": "CallExpression", "value": "" @@ -36012,14 +35950,14 @@ "comment": "", "meta": { "range": [ - 163800, - 163819 + 163216, + 163235 ], "filename": "astronomy.js", - "lineno": 3696, + "lineno": 3680, "columnno": 74, "code": { - "id": "astnode100016882", + "id": "astnode100016838", "name": "init_f1", "type": "Identifier", "value": "alt_before" @@ -36035,14 +35973,14 @@ "comment": "", "meta": { "range": [ - 163821, - 163839 + 163237, + 163255 ], "filename": "astronomy.js", - "lineno": 3696, + "lineno": 3680, "columnno": 95, "code": { - "id": "astnode100016884", + "id": "astnode100016840", "name": "init_f2", "type": "Identifier", "value": "alt_after" @@ -36058,14 +35996,14 @@ "comment": "", "meta": { "range": [ - 164003, - 164074 + 163419, + 163490 ], "filename": "astronomy.js", - "lineno": 3701, + "lineno": 3685, "columnno": 8, "code": { - "id": "astnode100016891", + "id": "astnode100016847", "name": "evt_before", "type": "CallExpression", "funcscope": "SearchRiseSet", @@ -36084,14 +36022,14 @@ "comment": "", "meta": { "range": [ - 164084, - 164154 + 163500, + 163570 ], "filename": "astronomy.js", - "lineno": 3702, + "lineno": 3686, "columnno": 8, "code": { - "id": "astnode100016902", + "id": "astnode100016858", "name": "evt_after", "type": "CallExpression", "funcscope": "SearchRiseSet", @@ -36110,14 +36048,14 @@ "comment": "", "meta": { "range": [ - 164250, - 164279 + 163666, + 163695 ], "filename": "astronomy.js", - "lineno": 3705, + "lineno": 3689, "columnno": 8, "code": { - "id": "astnode100016927", + "id": "astnode100016883", "name": "time_before", "type": "MemberExpression", "funcscope": "SearchRiseSet", @@ -36136,14 +36074,14 @@ "comment": "", "meta": { "range": [ - 164289, - 164332 + 163705, + 163748 ], "filename": "astronomy.js", - "lineno": 3706, + "lineno": 3690, "columnno": 8, "code": { - "id": "astnode100016933", + "id": "astnode100016889", "name": "alt_before", "type": "CallExpression", "funcscope": "SearchRiseSet", @@ -36162,14 +36100,14 @@ "comment": "", "meta": { "range": [ - 164342, - 164383 + 163758, + 163799 ], "filename": "astronomy.js", - "lineno": 3707, + "lineno": 3691, "columnno": 8, "code": { - "id": "astnode100016941", + "id": "astnode100016897", "name": "alt_after", "type": "CallExpression", "funcscope": "SearchRiseSet", @@ -36188,14 +36126,14 @@ "comment": "", "meta": { "range": [ - 164393, - 164430 + 163809, + 163846 ], "filename": "astronomy.js", - "lineno": 3710, + "lineno": 3694, "columnno": 0, "code": { - "id": "astnode100016949", + "id": "astnode100016905", "name": "exports.SearchRiseSet", "type": "Identifier", "value": "SearchRiseSet", @@ -36212,14 +36150,14 @@ "comment": "/**\n * @brief Horizontal position of a body upon reaching an hour angle.\n *\n * Returns information about an occurrence of a celestial body\n * reaching a given hour angle as seen by an observer at a given\n * location on the surface of the Earth.\n *\n * @property {AstroTime} time\n * The date and time of the celestial body reaching the hour angle.\n *\n * @property {HorizontalCoordinates} hor\n * Topocentric horizontal coordinates for the body\n * at the time indicated by the `time` property.\n */", "meta": { "range": [ - 164941, - 165050 + 164357, + 164466 ], "filename": "astronomy.js", - "lineno": 3725, + "lineno": 3709, "columnno": 0, "code": { - "id": "astnode100016954", + "id": "astnode100016910", "name": "HourAngleEvent", "type": "ClassDeclaration", "paramnames": [ @@ -36266,14 +36204,14 @@ "comment": "", "meta": { "range": [ - 164968, - 165048 + 164384, + 164464 ], "filename": "astronomy.js", - "lineno": 3726, + "lineno": 3710, "columnno": 4, "code": { - "id": "astnode100016957", + "id": "astnode100016913", "name": "HourAngleEvent", "type": "MethodDefinition", "paramnames": [ @@ -36296,14 +36234,14 @@ "comment": "/**\n * @brief Horizontal position of a body upon reaching an hour angle.\n *\n * Returns information about an occurrence of a celestial body\n * reaching a given hour angle as seen by an observer at a given\n * location on the surface of the Earth.\n *\n * @property {AstroTime} time\n * The date and time of the celestial body reaching the hour angle.\n *\n * @property {HorizontalCoordinates} hor\n * Topocentric horizontal coordinates for the body\n * at the time indicated by the `time` property.\n */", "meta": { "range": [ - 164941, - 165050 + 164357, + 164466 ], "filename": "astronomy.js", - "lineno": 3725, + "lineno": 3709, "columnno": 0, "code": { - "id": "astnode100016954", + "id": "astnode100016910", "name": "HourAngleEvent", "type": "ClassDeclaration", "paramnames": [ @@ -36349,14 +36287,14 @@ "comment": "", "meta": { "range": [ - 165001, - 165017 + 164417, + 164433 ], "filename": "astronomy.js", - "lineno": 3727, + "lineno": 3711, "columnno": 8, "code": { - "id": "astnode100016964", + "id": "astnode100016920", "name": "this.time", "type": "Identifier", "value": "time", @@ -36374,14 +36312,14 @@ "comment": "", "meta": { "range": [ - 165027, - 165041 + 164443, + 164457 ], "filename": "astronomy.js", - "lineno": 3728, + "lineno": 3712, "columnno": 8, "code": { - "id": "astnode100016970", + "id": "astnode100016926", "name": "this.hor", "type": "Identifier", "value": "hor", @@ -36399,14 +36337,14 @@ "comment": "", "meta": { "range": [ - 165051, - 165090 + 164467, + 164506 ], "filename": "astronomy.js", - "lineno": 3731, + "lineno": 3715, "columnno": 0, "code": { - "id": "astnode100016976", + "id": "astnode100016932", "name": "exports.HourAngleEvent", "type": "Identifier", "value": "HourAngleEvent", @@ -36423,14 +36361,14 @@ "comment": "/**\n * @brief Finds when a body will reach a given hour angle.\n *\n * Finds the next time the given body is seen to reach the specified\n * hour angle\n * by the given observer.\n * Providing `hourAngle` = 0 finds the next maximum altitude event (culmination).\n * Providing `hourAngle` = 12 finds the next minimum altitude event.\n * Note that, especially close to the Earth's poles, a body as seen on a given day\n * may always be above the horizon or always below the horizon, so the caller cannot\n * assume that a culminating object is visible nor that an object is below the horizon\n * at its minimum altitude.\n *\n * @param {Body} body\n * The name of a celestial body other than the Earth.\n *\n * @param {Observer} observer\n * Specifies the geographic coordinates and elevation above sea level of the observer.\n *\n * @param {number} hourAngle\n * The hour angle expressed in\n * sidereal\n * hours for which the caller seeks to find the body attain.\n * The value must be in the range [0, 24).\n * The hour angle represents the number of sidereal hours that have\n * elapsed since the most recent time the body crossed the observer's local\n * meridian.\n * This specifying `hourAngle` = 0 finds the moment in time\n * the body reaches the highest angular altitude in a given sidereal day.\n *\n * @param {FlexibleDateTime} dateStart\n * The date and time after which the desired hour angle crossing event\n * is to be found.\n *\n * @returns {HourAngleEvent}\n */", "meta": { "range": [ - 166781, - 168651 + 166197, + 168067 ], "filename": "astronomy.js", - "lineno": 3768, + "lineno": 3752, "columnno": 0, "code": { - "id": "astnode100016981", + "id": "astnode100016937", "name": "SearchHourAngle", "type": "FunctionDeclaration", "paramnames": [ @@ -36514,14 +36452,14 @@ "comment": "", "meta": { "range": [ - 166884, - 166910 + 166300, + 166326 ], "filename": "astronomy.js", - "lineno": 3770, + "lineno": 3754, "columnno": 8, "code": { - "id": "astnode100016993", + "id": "astnode100016949", "name": "time", "type": "CallExpression", "value": "" @@ -36539,14 +36477,14 @@ "comment": "", "meta": { "range": [ - 166920, - 166928 + 166336, + 166344 ], "filename": "astronomy.js", - "lineno": 3771, + "lineno": 3755, "columnno": 8, "code": { - "id": "astnode100016999", + "id": "astnode100016955", "name": "iter", "type": "Literal", "value": 0 @@ -36564,14 +36502,14 @@ "comment": "", "meta": { "range": [ - 167270, - 167296 + 166686, + 166712 ], "filename": "astronomy.js", - "lineno": 3780, + "lineno": 3764, "columnno": 12, "code": { - "id": "astnode100017034", + "id": "astnode100016990", "name": "gast", "type": "CallExpression", "value": "" @@ -36589,14 +36527,14 @@ "comment": "", "meta": { "range": [ - 167310, - 167360 + 166726, + 166776 ], "filename": "astronomy.js", - "lineno": 3781, + "lineno": 3765, "columnno": 12, "code": { - "id": "astnode100017040", + "id": "astnode100016996", "name": "ofdate", "type": "CallExpression", "value": "" @@ -36614,14 +36552,14 @@ "comment": "", "meta": { "range": [ - 167491, - 167577 + 166907, + 166993 ], "filename": "astronomy.js", - "lineno": 3784, + "lineno": 3768, "columnno": 12, "code": { - "id": "astnode100017050", + "id": "astnode100017006", "name": "delta_sidereal_hours", "type": "BinaryExpression", "value": "" @@ -36639,14 +36577,14 @@ "comment": "", "meta": { "range": [ - 167733, - 167759 + 167149, + 167175 ], "filename": "astronomy.js", - "lineno": 3788, + "lineno": 3772, "columnno": 16, "code": { - "id": "astnode100017077", + "id": "astnode100017033", "name": "delta_sidereal_hours", "type": "Literal", "funcscope": "SearchHourAngle", @@ -36665,14 +36603,14 @@ "comment": "", "meta": { "range": [ - 167980, - 168006 + 167396, + 167422 ], "filename": "astronomy.js", - "lineno": 3794, + "lineno": 3778, "columnno": 16, "code": { - "id": "astnode100017087", + "id": "astnode100017043", "name": "delta_sidereal_hours", "type": "Literal", "funcscope": "SearchHourAngle", @@ -36691,14 +36629,14 @@ "comment": "", "meta": { "range": [ - 168073, - 168099 + 167489, + 167515 ], "filename": "astronomy.js", - "lineno": 3796, + "lineno": 3780, "columnno": 16, "code": { - "id": "astnode100017096", + "id": "astnode100017052", "name": "delta_sidereal_hours", "type": "Literal", "funcscope": "SearchHourAngle", @@ -36717,14 +36655,14 @@ "comment": "", "meta": { "range": [ - 168266, - 168328 + 167682, + 167744 ], "filename": "astronomy.js", - "lineno": 3800, + "lineno": 3784, "columnno": 18, "code": { - "id": "astnode100017111", + "id": "astnode100017067", "name": "hor", "type": "CallExpression", "value": "" @@ -36742,14 +36680,14 @@ "comment": "", "meta": { "range": [ - 168531, - 168601 + 167947, + 168017 ], "filename": "astronomy.js", - "lineno": 3805, + "lineno": 3789, "columnno": 12, "code": { - "id": "astnode100017130", + "id": "astnode100017086", "name": "delta_days", "type": "BinaryExpression", "value": "" @@ -36767,14 +36705,14 @@ "comment": "", "meta": { "range": [ - 168611, - 168642 + 168027, + 168058 ], "filename": "astronomy.js", - "lineno": 3806, + "lineno": 3790, "columnno": 8, "code": { - "id": "astnode100017138", + "id": "astnode100017094", "name": "time", "type": "CallExpression", "funcscope": "SearchHourAngle", @@ -36793,14 +36731,14 @@ "comment": "", "meta": { "range": [ - 168652, - 168693 + 168068, + 168109 ], "filename": "astronomy.js", - "lineno": 3809, + "lineno": 3793, "columnno": 0, "code": { - "id": "astnode100017146", + "id": "astnode100017102", "name": "exports.SearchHourAngle", "type": "Identifier", "value": "SearchHourAngle", @@ -36817,14 +36755,14 @@ "comment": "/**\n * @brief When the seasons change for a given calendar year.\n *\n * Represents the dates and times of the two solstices\n * and the two equinoxes in a given calendar year.\n * These four events define the changing of the seasons on the Earth.\n *\n * @property {AstroTime} mar_equinox\n * The date and time of the March equinox in the given calendar year.\n * This is the moment in March that the plane of the Earth's equator passes\n * through the center of the Sun; thus the Sun's declination\n * changes from a negative number to a positive number.\n * The March equinox defines\n * the beginning of spring in the northern hemisphere and\n * the beginning of autumn in the southern hemisphere.\n *\n * @property {AstroTime} jun_solstice\n * The date and time of the June solstice in the given calendar year.\n * This is the moment in June that the Sun reaches its most positive\n * declination value.\n * At this moment the Earth's north pole is most tilted most toward the Sun.\n * The June solstice defines\n * the beginning of summer in the northern hemisphere and\n * the beginning of winter in the southern hemisphere.\n *\n * @property {AstroTime} sep_equinox\n * The date and time of the September equinox in the given calendar year.\n * This is the moment in September that the plane of the Earth's equator passes\n * through the center of the Sun; thus the Sun's declination\n * changes from a positive number to a negative number.\n * The September equinox defines\n * the beginning of autumn in the northern hemisphere and\n * the beginning of spring in the southern hemisphere.\n *\n * @property {AstroTime} dec_solstice\n * The date and time of the December solstice in the given calendar year.\n * This is the moment in December that the Sun reaches its most negative\n * declination value.\n * At this moment the Earth's south pole is tilted most toward the Sun.\n * The December solstice defines\n * the beginning of winter in the northern hemisphere and\n * the beginning of summer in the southern hemisphere.\n */", "meta": { "range": [ - 170834, - 171096 + 170250, + 170512 ], "filename": "astronomy.js", - "lineno": 3853, + "lineno": 3837, "columnno": 0, "code": { - "id": "astnode100017151", + "id": "astnode100017107", "name": "SeasonInfo", "type": "ClassDeclaration", "paramnames": [ @@ -36891,14 +36829,14 @@ "comment": "", "meta": { "range": [ - 170857, - 171094 + 170273, + 170510 ], "filename": "astronomy.js", - "lineno": 3854, + "lineno": 3838, "columnno": 4, "code": { - "id": "astnode100017154", + "id": "astnode100017110", "name": "SeasonInfo", "type": "MethodDefinition", "paramnames": [ @@ -36923,14 +36861,14 @@ "comment": "/**\n * @brief When the seasons change for a given calendar year.\n *\n * Represents the dates and times of the two solstices\n * and the two equinoxes in a given calendar year.\n * These four events define the changing of the seasons on the Earth.\n *\n * @property {AstroTime} mar_equinox\n * The date and time of the March equinox in the given calendar year.\n * This is the moment in March that the plane of the Earth's equator passes\n * through the center of the Sun; thus the Sun's declination\n * changes from a negative number to a positive number.\n * The March equinox defines\n * the beginning of spring in the northern hemisphere and\n * the beginning of autumn in the southern hemisphere.\n *\n * @property {AstroTime} jun_solstice\n * The date and time of the June solstice in the given calendar year.\n * This is the moment in June that the Sun reaches its most positive\n * declination value.\n * At this moment the Earth's north pole is most tilted most toward the Sun.\n * The June solstice defines\n * the beginning of summer in the northern hemisphere and\n * the beginning of winter in the southern hemisphere.\n *\n * @property {AstroTime} sep_equinox\n * The date and time of the September equinox in the given calendar year.\n * This is the moment in September that the plane of the Earth's equator passes\n * through the center of the Sun; thus the Sun's declination\n * changes from a positive number to a negative number.\n * The September equinox defines\n * the beginning of autumn in the northern hemisphere and\n * the beginning of spring in the southern hemisphere.\n *\n * @property {AstroTime} dec_solstice\n * The date and time of the December solstice in the given calendar year.\n * This is the moment in December that the Sun reaches its most negative\n * declination value.\n * At this moment the Earth's south pole is tilted most toward the Sun.\n * The December solstice defines\n * the beginning of winter in the northern hemisphere and\n * the beginning of summer in the southern hemisphere.\n */", "meta": { "range": [ - 170834, - 171096 + 170250, + 170512 ], "filename": "astronomy.js", - "lineno": 3853, + "lineno": 3837, "columnno": 0, "code": { - "id": "astnode100017151", + "id": "astnode100017107", "name": "SeasonInfo", "type": "ClassDeclaration", "paramnames": [ @@ -36996,14 +36934,14 @@ "comment": "", "meta": { "range": [ - 170933, - 170963 + 170349, + 170379 ], "filename": "astronomy.js", - "lineno": 3855, + "lineno": 3839, "columnno": 8, "code": { - "id": "astnode100017163", + "id": "astnode100017119", "name": "this.mar_equinox", "type": "Identifier", "value": "mar_equinox", @@ -37021,14 +36959,14 @@ "comment": "", "meta": { "range": [ - 170973, - 171005 + 170389, + 170421 ], "filename": "astronomy.js", - "lineno": 3856, + "lineno": 3840, "columnno": 8, "code": { - "id": "astnode100017169", + "id": "astnode100017125", "name": "this.jun_solstice", "type": "Identifier", "value": "jun_solstice", @@ -37046,14 +36984,14 @@ "comment": "", "meta": { "range": [ - 171015, - 171045 + 170431, + 170461 ], "filename": "astronomy.js", - "lineno": 3857, + "lineno": 3841, "columnno": 8, "code": { - "id": "astnode100017175", + "id": "astnode100017131", "name": "this.sep_equinox", "type": "Identifier", "value": "sep_equinox", @@ -37071,14 +37009,14 @@ "comment": "", "meta": { "range": [ - 171055, - 171087 + 170471, + 170503 ], "filename": "astronomy.js", - "lineno": 3858, + "lineno": 3842, "columnno": 8, "code": { - "id": "astnode100017181", + "id": "astnode100017137", "name": "this.dec_solstice", "type": "Identifier", "value": "dec_solstice", @@ -37096,14 +37034,14 @@ "comment": "", "meta": { "range": [ - 171097, - 171128 + 170513, + 170544 ], "filename": "astronomy.js", - "lineno": 3861, + "lineno": 3845, "columnno": 0, "code": { - "id": "astnode100017187", + "id": "astnode100017143", "name": "exports.SeasonInfo", "type": "Identifier", "value": "SeasonInfo", @@ -37120,14 +37058,14 @@ "comment": "/**\n * @brief Finds the equinoxes and solstices for a given calendar year.\n *\n * @param {number | AstroTime} year\n * The integer value or `AstroTime` object that specifies\n * the UTC calendar year for which to find equinoxes and solstices.\n *\n * @returns {SeasonInfo}\n */", "meta": { "range": [ - 171412, - 172245 + 170828, + 171661 ], "filename": "astronomy.js", - "lineno": 3871, + "lineno": 3855, "columnno": 0, "code": { - "id": "astnode100017192", + "id": "astnode100017148", "name": "Seasons", "type": "FunctionDeclaration", "paramnames": [ @@ -37181,14 +37119,14 @@ "comment": "", "meta": { "range": [ - 171441, - 171734 + 170857, + 171150 ], "filename": "astronomy.js", - "lineno": 3872, + "lineno": 3856, "columnno": 4, "code": { - "id": "astnode100017196", + "id": "astnode100017152", "name": "find", "type": "FunctionDeclaration", "paramnames": [ @@ -37214,14 +37152,14 @@ "comment": "", "meta": { "range": [ - 171492, - 171544 + 170908, + 170960 ], "filename": "astronomy.js", - "lineno": 3873, + "lineno": 3857, "columnno": 12, "code": { - "id": "astnode100017203", + "id": "astnode100017159", "name": "startDate", "type": "NewExpression", "value": "" @@ -37239,14 +37177,14 @@ "comment": "", "meta": { "range": [ - 171558, - 171608 + 170974, + 171024 ], "filename": "astronomy.js", - "lineno": 3874, + "lineno": 3858, "columnno": 12, "code": { - "id": "astnode100017217", + "id": "astnode100017173", "name": "time", "type": "CallExpression", "value": "" @@ -37264,14 +37202,14 @@ "comment": "", "meta": { "range": [ - 171812, - 171840 + 171228, + 171256 ], "filename": "astronomy.js", - "lineno": 3880, + "lineno": 3864, "columnno": 8, "code": { - "id": "astnode100017252", + "id": "astnode100017208", "name": "year", "type": "CallExpression", "funcscope": "Seasons", @@ -37290,14 +37228,14 @@ "comment": "", "meta": { "range": [ - 172011, - 172039 + 171427, + 171455 ], "filename": "astronomy.js", - "lineno": 3885, + "lineno": 3869, "columnno": 8, "code": { - "id": "astnode100017272", + "id": "astnode100017228", "name": "mar_equinox", "type": "CallExpression", "value": "" @@ -37315,14 +37253,14 @@ "comment": "", "meta": { "range": [ - 172049, - 172079 + 171465, + 171495 ], "filename": "astronomy.js", - "lineno": 3886, + "lineno": 3870, "columnno": 8, "code": { - "id": "astnode100017280", + "id": "astnode100017236", "name": "jun_solstice", "type": "CallExpression", "value": "" @@ -37340,14 +37278,14 @@ "comment": "", "meta": { "range": [ - 172089, - 172119 + 171505, + 171535 ], "filename": "astronomy.js", - "lineno": 3887, + "lineno": 3871, "columnno": 8, "code": { - "id": "astnode100017288", + "id": "astnode100017244", "name": "sep_equinox", "type": "CallExpression", "value": "" @@ -37365,14 +37303,14 @@ "comment": "", "meta": { "range": [ - 172129, - 172161 + 171545, + 171577 ], "filename": "astronomy.js", - "lineno": 3888, + "lineno": 3872, "columnno": 8, "code": { - "id": "astnode100017296", + "id": "astnode100017252", "name": "dec_solstice", "type": "CallExpression", "value": "" @@ -37390,14 +37328,14 @@ "comment": "", "meta": { "range": [ - 172246, - 172271 + 171662, + 171687 ], "filename": "astronomy.js", - "lineno": 3891, + "lineno": 3875, "columnno": 0, "code": { - "id": "astnode100017311", + "id": "astnode100017267", "name": "exports.Seasons", "type": "Identifier", "value": "Seasons", @@ -37414,14 +37352,14 @@ "comment": "/**\n * @brief The viewing conditions of a body relative to the Sun.\n *\n * Represents the angular separation of a body from the Sun as seen from the Earth\n * and the relative ecliptic longitudes between that body and the Earth as seen from the Sun.\n *\n * @property {AstroTime} time\n * The date and time of the observation.\n *\n * @property {string} visibility\n * Either `\"morning\"` or `\"evening\"`,\n * indicating when the body is most easily seen.\n *\n * @property {number} elongation\n * The angle in degrees, as seen from the center of the Earth,\n * of the apparent separation between the body and the Sun.\n * This angle is measured in 3D space and is not projected onto the ecliptic plane.\n * When `elongation` is less than a few degrees, the body is very\n * difficult to see from the Earth because it is lost in the Sun's glare.\n * The elongation is always in the range [0, 180].\n *\n * @property {number} ecliptic_separation\n * The absolute value of the difference between the body's ecliptic longitude\n * and the Sun's ecliptic longitude, both as seen from the center of the Earth.\n * This angle measures around the plane of the Earth's orbit (the ecliptic),\n * and ignores how far above or below that plane the body is.\n * The ecliptic separation is measured in degrees and is always in the range [0, 180].\n *\n * @see {@link Elongation}\n */", "meta": { "range": [ - 173688, - 173946 + 173104, + 173362 ], "filename": "astronomy.js", - "lineno": 3922, + "lineno": 3906, "columnno": 0, "code": { - "id": "astnode100017316", + "id": "astnode100017272", "name": "ElongationEvent", "type": "ClassDeclaration", "paramnames": [ @@ -37491,14 +37429,14 @@ "comment": "", "meta": { "range": [ - 173716, - 173944 + 173132, + 173360 ], "filename": "astronomy.js", - "lineno": 3923, + "lineno": 3907, "columnno": 4, "code": { - "id": "astnode100017319", + "id": "astnode100017275", "name": "ElongationEvent", "type": "MethodDefinition", "paramnames": [ @@ -37523,14 +37461,14 @@ "comment": "/**\n * @brief The viewing conditions of a body relative to the Sun.\n *\n * Represents the angular separation of a body from the Sun as seen from the Earth\n * and the relative ecliptic longitudes between that body and the Earth as seen from the Sun.\n *\n * @property {AstroTime} time\n * The date and time of the observation.\n *\n * @property {string} visibility\n * Either `\"morning\"` or `\"evening\"`,\n * indicating when the body is most easily seen.\n *\n * @property {number} elongation\n * The angle in degrees, as seen from the center of the Earth,\n * of the apparent separation between the body and the Sun.\n * This angle is measured in 3D space and is not projected onto the ecliptic plane.\n * When `elongation` is less than a few degrees, the body is very\n * difficult to see from the Earth because it is lost in the Sun's glare.\n * The elongation is always in the range [0, 180].\n *\n * @property {number} ecliptic_separation\n * The absolute value of the difference between the body's ecliptic longitude\n * and the Sun's ecliptic longitude, both as seen from the center of the Earth.\n * This angle measures around the plane of the Earth's orbit (the ecliptic),\n * and ignores how far above or below that plane the body is.\n * The ecliptic separation is measured in degrees and is always in the range [0, 180].\n *\n * @see {@link Elongation}\n */", "meta": { "range": [ - 173688, - 173946 + 173104, + 173362 ], "filename": "astronomy.js", - "lineno": 3922, + "lineno": 3906, "columnno": 0, "code": { - "id": "astnode100017316", + "id": "astnode100017272", "name": "ElongationEvent", "type": "ClassDeclaration", "paramnames": [ @@ -37599,14 +37537,14 @@ "comment": "", "meta": { "range": [ - 173789, - 173805 + 173205, + 173221 ], "filename": "astronomy.js", - "lineno": 3924, + "lineno": 3908, "columnno": 8, "code": { - "id": "astnode100017328", + "id": "astnode100017284", "name": "this.time", "type": "Identifier", "value": "time", @@ -37624,14 +37562,14 @@ "comment": "", "meta": { "range": [ - 173815, - 173843 + 173231, + 173259 ], "filename": "astronomy.js", - "lineno": 3925, + "lineno": 3909, "columnno": 8, "code": { - "id": "astnode100017334", + "id": "astnode100017290", "name": "this.visibility", "type": "Identifier", "value": "visibility", @@ -37649,14 +37587,14 @@ "comment": "", "meta": { "range": [ - 173853, - 173881 + 173269, + 173297 ], "filename": "astronomy.js", - "lineno": 3926, + "lineno": 3910, "columnno": 8, "code": { - "id": "astnode100017340", + "id": "astnode100017296", "name": "this.elongation", "type": "Identifier", "value": "elongation", @@ -37674,14 +37612,14 @@ "comment": "", "meta": { "range": [ - 173891, - 173937 + 173307, + 173353 ], "filename": "astronomy.js", - "lineno": 3927, + "lineno": 3911, "columnno": 8, "code": { - "id": "astnode100017346", + "id": "astnode100017302", "name": "this.ecliptic_separation", "type": "Identifier", "value": "ecliptic_separation", @@ -37699,14 +37637,14 @@ "comment": "", "meta": { "range": [ - 173947, - 173988 + 173363, + 173404 ], "filename": "astronomy.js", - "lineno": 3930, + "lineno": 3914, "columnno": 0, "code": { - "id": "astnode100017352", + "id": "astnode100017308", "name": "exports.ElongationEvent", "type": "Identifier", "value": "ElongationEvent", @@ -37723,14 +37661,14 @@ "comment": "/**\n * @brief Calculates the viewing conditions of a body relative to the Sun.\n *\n * Calculates angular separation of a body from the Sun as seen from the Earth\n * and the relative ecliptic longitudes between that body and the Earth as seen from the Sun.\n * See the return type {@link ElongationEvent} for details.\n *\n * This function is helpful for determining how easy\n * it is to view a planet away from the Sun's glare on a given date.\n * It also determines whether the object is visible in the morning or evening;\n * this is more important the smaller the elongation is.\n * It is also used to determine how far a planet is from opposition, conjunction, or quadrature.\n *\n * @param {Body} body\n * The name of the observed body. Not allowed to be `\"Earth\"`.\n *\n * @returns {ElongationEvent}\n */", "meta": { "range": [ - 174793, - 175132 + 174209, + 174548 ], "filename": "astronomy.js", - "lineno": 3949, + "lineno": 3933, "columnno": 0, "code": { - "id": "astnode100017357", + "id": "astnode100017313", "name": "Elongation", "type": "FunctionDeclaration", "paramnames": [ @@ -37782,14 +37720,14 @@ "comment": "", "meta": { "range": [ - 174835, - 174856 + 174251, + 174272 ], "filename": "astronomy.js", - "lineno": 3950, + "lineno": 3934, "columnno": 8, "code": { - "id": "astnode100017363", + "id": "astnode100017319", "name": "time", "type": "CallExpression", "value": "" @@ -37807,14 +37745,14 @@ "comment": "", "meta": { "range": [ - 174866, - 174900 + 174282, + 174316 ], "filename": "astronomy.js", - "lineno": 3951, + "lineno": 3935, "columnno": 8, "code": { - "id": "astnode100017369", + "id": "astnode100017325", "name": "lon", "type": "CallExpression", "value": "" @@ -37832,14 +37770,14 @@ "comment": "", "meta": { "range": [ - 174910, - 174913 + 174326, + 174329 ], "filename": "astronomy.js", - "lineno": 3952, + "lineno": 3936, "columnno": 8, "code": { - "id": "astnode100017376", + "id": "astnode100017332", "name": "vis" } }, @@ -37855,14 +37793,14 @@ "comment": "", "meta": { "range": [ - 174944, - 174959 + 174360, + 174375 ], "filename": "astronomy.js", - "lineno": 3954, + "lineno": 3938, "columnno": 8, "code": { - "id": "astnode100017384", + "id": "astnode100017340", "name": "vis", "type": "Literal", "funcscope": "Elongation", @@ -37881,14 +37819,14 @@ "comment": "", "meta": { "range": [ - 174969, - 174984 + 174385, + 174400 ], "filename": "astronomy.js", - "lineno": 3955, + "lineno": 3939, "columnno": 8, "code": { - "id": "astnode100017388", + "id": "astnode100017344", "name": "lon", "type": "BinaryExpression", "funcscope": "Elongation", @@ -37907,14 +37845,14 @@ "comment": "", "meta": { "range": [ - 175011, - 175026 + 174427, + 174442 ], "filename": "astronomy.js", - "lineno": 3958, + "lineno": 3942, "columnno": 8, "code": { - "id": "astnode100017395", + "id": "astnode100017351", "name": "vis", "type": "Literal", "funcscope": "Elongation", @@ -37933,14 +37871,14 @@ "comment": "", "meta": { "range": [ - 175042, - 175074 + 174458, + 174490 ], "filename": "astronomy.js", - "lineno": 3960, + "lineno": 3944, "columnno": 8, "code": { - "id": "astnode100017399", + "id": "astnode100017355", "name": "angle", "type": "CallExpression", "value": "" @@ -37958,14 +37896,14 @@ "comment": "", "meta": { "range": [ - 175133, - 175164 + 174549, + 174580 ], "filename": "astronomy.js", - "lineno": 3963, + "lineno": 3947, "columnno": 0, "code": { - "id": "astnode100017413", + "id": "astnode100017369", "name": "exports.Elongation", "type": "Identifier", "value": "Elongation", @@ -37982,14 +37920,14 @@ "comment": "/**\n * @brief Finds the next time Mercury or Venus reaches maximum elongation.\n *\n * Searches for the next maximum elongation event for Mercury or Venus\n * that occurs after the given start date. Calling with other values\n * of `body` will result in an exception.\n * Maximum elongation occurs when the body has the greatest\n * angular separation from the Sun, as seen from the Earth.\n * Returns an `ElongationEvent` object containing the date and time of the next\n * maximum elongation, the elongation in degrees, and whether\n * the body is visible in the morning or evening.\n *\n * @param {Body} body Either `\"Mercury\"` or `\"Venus\"`.\n * @param {FlexibleDateTime} startDate The date and time after which to search for the next maximum elongation event.\n *\n * @returns {ElongationEvent}\n */", "meta": { "range": [ - 175960, - 180086 + 175376, + 179502 ], "filename": "astronomy.js", - "lineno": 3981, + "lineno": 3965, "columnno": 0, "code": { - "id": "astnode100017418", + "id": "astnode100017374", "name": "SearchMaxElongation", "type": "FunctionDeclaration", "paramnames": [ @@ -38064,14 +38002,14 @@ "comment": "", "meta": { "range": [ - 176018, - 176027 + 175434, + 175443 ], "filename": "astronomy.js", - "lineno": 3982, + "lineno": 3966, "columnno": 10, "code": { - "id": "astnode100017424", + "id": "astnode100017380", "name": "dt", "type": "Literal", "value": 0.01 @@ -38089,14 +38027,14 @@ "comment": "", "meta": { "range": [ - 176033, - 176495 + 175449, + 175911 ], "filename": "astronomy.js", - "lineno": 3983, + "lineno": 3967, "columnno": 4, "code": { - "id": "astnode100017427", + "id": "astnode100017383", "name": "neg_slope", "type": "FunctionDeclaration", "paramnames": [ @@ -38123,14 +38061,14 @@ "comment": "", "meta": { "range": [ - 176294, - 176317 + 175710, + 175733 ], "filename": "astronomy.js", - "lineno": 3987, + "lineno": 3971, "columnno": 14, "code": { - "id": "astnode100017432", + "id": "astnode100017388", "name": "t1", "type": "CallExpression", "value": "" @@ -38148,14 +38086,14 @@ "comment": "", "meta": { "range": [ - 176333, - 176356 + 175749, + 175772 ], "filename": "astronomy.js", - "lineno": 3988, + "lineno": 3972, "columnno": 14, "code": { - "id": "astnode100017443", + "id": "astnode100017399", "name": "t2", "type": "CallExpression", "value": "" @@ -38173,14 +38111,14 @@ "comment": "", "meta": { "range": [ - 176370, - 176397 + 175786, + 175813 ], "filename": "astronomy.js", - "lineno": 3989, + "lineno": 3973, "columnno": 12, "code": { - "id": "astnode100017454", + "id": "astnode100017410", "name": "e1", "type": "CallExpression", "value": "" @@ -38198,14 +38136,14 @@ "comment": "", "meta": { "range": [ - 176411, - 176438 + 175827, + 175854 ], "filename": "astronomy.js", - "lineno": 3990, + "lineno": 3974, "columnno": 12, "code": { - "id": "astnode100017461", + "id": "astnode100017417", "name": "e2", "type": "CallExpression", "value": "" @@ -38223,14 +38161,14 @@ "comment": "", "meta": { "range": [ - 176452, - 176470 + 175868, + 175886 ], "filename": "astronomy.js", - "lineno": 3991, + "lineno": 3975, "columnno": 12, "code": { - "id": "astnode100017468", + "id": "astnode100017424", "name": "m", "type": "BinaryExpression", "value": "" @@ -38248,14 +38186,14 @@ "comment": "", "meta": { "range": [ - 176504, - 176535 + 175920, + 175951 ], "filename": "astronomy.js", - "lineno": 3994, + "lineno": 3978, "columnno": 8, "code": { - "id": "astnode100017478", + "id": "astnode100017434", "name": "startTime", "type": "CallExpression", "value": "" @@ -38273,14 +38211,14 @@ "comment": "", "meta": { "range": [ - 176547, - 176641 + 175963, + 176057 ], "filename": "astronomy.js", - "lineno": 3995, + "lineno": 3979, "columnno": 10, "code": { - "id": "astnode100017484", + "id": "astnode100017440", "name": "table", "type": "ObjectExpression", "value": "{\"Mercury\":\"\",\"Venus\":\"\"}" @@ -38298,14 +38236,14 @@ "comment": "", "meta": { "range": [ - 176565, - 176596 + 175981, + 176012 ], "filename": "astronomy.js", - "lineno": 3996, + "lineno": 3980, "columnno": 8, "code": { - "id": "astnode100017487", + "id": "astnode100017443", "name": "Mercury", "type": "ObjectExpression", "value": "{\"s1\":50,\"s2\":85}" @@ -38322,14 +38260,14 @@ "comment": "", "meta": { "range": [ - 176576, - 176584 + 175992, + 176000 ], "filename": "astronomy.js", - "lineno": 3996, + "lineno": 3980, "columnno": 19, "code": { - "id": "astnode100017489", + "id": "astnode100017445", "name": "s1", "type": "Literal", "value": 50 @@ -38346,14 +38284,14 @@ "comment": "", "meta": { "range": [ - 176586, - 176594 + 176002, + 176010 ], "filename": "astronomy.js", - "lineno": 3996, + "lineno": 3980, "columnno": 29, "code": { - "id": "astnode100017491", + "id": "astnode100017447", "name": "s2", "type": "Literal", "value": 85 @@ -38370,14 +38308,14 @@ "comment": "", "meta": { "range": [ - 176606, - 176635 + 176022, + 176051 ], "filename": "astronomy.js", - "lineno": 3997, + "lineno": 3981, "columnno": 8, "code": { - "id": "astnode100017493", + "id": "astnode100017449", "name": "Venus", "type": "ObjectExpression", "value": "{\"s1\":40,\"s2\":50}" @@ -38394,14 +38332,14 @@ "comment": "", "meta": { "range": [ - 176615, - 176623 + 176031, + 176039 ], "filename": "astronomy.js", - "lineno": 3997, + "lineno": 3981, "columnno": 17, "code": { - "id": "astnode100017495", + "id": "astnode100017451", "name": "s1", "type": "Literal", "value": 40 @@ -38418,14 +38356,14 @@ "comment": "", "meta": { "range": [ - 176625, - 176633 + 176041, + 176049 ], "filename": "astronomy.js", - "lineno": 3997, + "lineno": 3981, "columnno": 27, "code": { - "id": "astnode100017497", + "id": "astnode100017453", "name": "s2", "type": "Literal", "value": 50 @@ -38442,14 +38380,14 @@ "comment": "", "meta": { "range": [ - 176653, - 176673 + 176069, + 176089 ], "filename": "astronomy.js", - "lineno": 3999, + "lineno": 3983, "columnno": 10, "code": { - "id": "astnode100017500", + "id": "astnode100017456", "name": "planet", "type": "MemberExpression", "value": "table[undefined]" @@ -38467,14 +38405,14 @@ "comment": "", "meta": { "range": [ - 176771, - 176779 + 176187, + 176195 ], "filename": "astronomy.js", - "lineno": 4002, + "lineno": 3986, "columnno": 8, "code": { - "id": "astnode100017511", + "id": "astnode100017467", "name": "iter", "type": "Literal", "value": 0 @@ -38492,14 +38430,14 @@ "comment": "", "meta": { "range": [ - 176929, - 176970 + 176345, + 176386 ], "filename": "astronomy.js", - "lineno": 4006, + "lineno": 3990, "columnno": 12, "code": { - "id": "astnode100017521", + "id": "astnode100017477", "name": "plon", "type": "CallExpression", "value": "" @@ -38517,14 +38455,14 @@ "comment": "", "meta": { "range": [ - 176984, - 177031 + 176400, + 176447 ], "filename": "astronomy.js", - "lineno": 4007, + "lineno": 3991, "columnno": 12, "code": { - "id": "astnode100017528", + "id": "astnode100017484", "name": "elon", "type": "CallExpression", "value": "" @@ -38542,14 +38480,14 @@ "comment": "", "meta": { "range": [ - 177045, - 177080 + 176461, + 176496 ], "filename": "astronomy.js", - "lineno": 4008, + "lineno": 3992, "columnno": 12, "code": { - "id": "astnode100017537", + "id": "astnode100017493", "name": "rlon", "type": "CallExpression", "value": "" @@ -38567,14 +38505,14 @@ "comment": "", "meta": { "range": [ - 177366, - 177373 + 176782, + 176789 ], "filename": "astronomy.js", - "lineno": 4012, + "lineno": 3996, "columnno": 12, "code": { - "id": "astnode100017545", + "id": "astnode100017501", "name": "rlon_lo" } }, @@ -38590,14 +38528,14 @@ "comment": "", "meta": { "range": [ - 177375, - 177382 + 176791, + 176798 ], "filename": "astronomy.js", - "lineno": 4012, + "lineno": 3996, "columnno": 21, "code": { - "id": "astnode100017547", + "id": "astnode100017503", "name": "rlon_hi" } }, @@ -38613,14 +38551,14 @@ "comment": "", "meta": { "range": [ - 177384, - 177395 + 176800, + 176811 ], "filename": "astronomy.js", - "lineno": 4012, + "lineno": 3996, "columnno": 30, "code": { - "id": "astnode100017549", + "id": "astnode100017505", "name": "adjust_days" } }, @@ -38636,14 +38574,14 @@ "comment": "", "meta": { "range": [ - 177510, - 177525 + 176926, + 176941 ], "filename": "astronomy.js", - "lineno": 4015, + "lineno": 3999, "columnno": 12, "code": { - "id": "astnode100017567", + "id": "astnode100017523", "name": "adjust_days", "type": "Literal", "funcscope": "SearchMaxElongation", @@ -38662,14 +38600,170 @@ "comment": "", "meta": { "range": [ - 177605, - 177625 + 177021, + 177041 + ], + "filename": "astronomy.js", + "lineno": 4001, + "columnno": 12, + "code": { + "id": "astnode100017527", + "name": "rlon_lo", + "type": "UnaryExpression", + "funcscope": "SearchMaxElongation", + "value": "+planet.s1", + "paramnames": [] + } + }, + "undocumented": true, + "name": "rlon_lo", + "longname": "SearchMaxElongation~rlon_lo", + "kind": "member", + "memberof": "SearchMaxElongation", + "scope": "inner" + }, + { + "comment": "", + "meta": { + "range": [ + 177121, + 177141 + ], + "filename": "astronomy.js", + "lineno": 4003, + "columnno": 12, + "code": { + "id": "astnode100017534", + "name": "rlon_hi", + "type": "UnaryExpression", + "funcscope": "SearchMaxElongation", + "value": "+planet.s2", + "paramnames": [] + } + }, + "undocumented": true, + "name": "rlon_hi", + "longname": "SearchMaxElongation~rlon_hi", + "kind": "member", + "memberof": "SearchMaxElongation", + "scope": "inner" + }, + { + "comment": "", + "meta": { + "range": [ + 177286, + 177301 + ], + "filename": "astronomy.js", + "lineno": 4007, + "columnno": 12, + "code": { + "id": "astnode100017556", + "name": "adjust_days", + "type": "Literal", + "funcscope": "SearchMaxElongation", + "value": 0, + "paramnames": [] + } + }, + "undocumented": true, + "name": "adjust_days", + "longname": "SearchMaxElongation~adjust_days", + "kind": "member", + "memberof": "SearchMaxElongation", + "scope": "inner" + }, + { + "comment": "", + "meta": { + "range": [ + 177381, + 177401 + ], + "filename": "astronomy.js", + "lineno": 4009, + "columnno": 12, + "code": { + "id": "astnode100017560", + "name": "rlon_lo", + "type": "UnaryExpression", + "funcscope": "SearchMaxElongation", + "value": "-planet.s2", + "paramnames": [] + } + }, + "undocumented": true, + "name": "rlon_lo", + "longname": "SearchMaxElongation~rlon_lo", + "kind": "member", + "memberof": "SearchMaxElongation", + "scope": "inner" + }, + { + "comment": "", + "meta": { + "range": [ + 177481, + 177501 + ], + "filename": "astronomy.js", + "lineno": 4011, + "columnno": 12, + "code": { + "id": "astnode100017567", + "name": "rlon_hi", + "type": "UnaryExpression", + "funcscope": "SearchMaxElongation", + "value": "-planet.s1", + "paramnames": [] + } + }, + "undocumented": true, + "name": "rlon_hi", + "longname": "SearchMaxElongation~rlon_hi", + "kind": "member", + "memberof": "SearchMaxElongation", + "scope": "inner" + }, + { + "comment": "", + "meta": { + "range": [ + 177690, + 177728 + ], + "filename": "astronomy.js", + "lineno": 4016, + "columnno": 12, + "code": { + "id": "astnode100017579", + "name": "adjust_days", + "type": "BinaryExpression", + "funcscope": "SearchMaxElongation", + "value": "", + "paramnames": [] + } + }, + "undocumented": true, + "name": "adjust_days", + "longname": "SearchMaxElongation~adjust_days", + "kind": "member", + "memberof": "SearchMaxElongation", + "scope": "inner" + }, + { + "comment": "", + "meta": { + "range": [ + 177742, + 177762 ], "filename": "astronomy.js", "lineno": 4017, "columnno": 12, "code": { - "id": "astnode100017571", + "id": "astnode100017588", "name": "rlon_lo", "type": "UnaryExpression", "funcscope": "SearchMaxElongation", @@ -38688,14 +38782,14 @@ "comment": "", "meta": { "range": [ - 177705, - 177725 + 177776, + 177796 ], "filename": "astronomy.js", - "lineno": 4019, + "lineno": 4018, "columnno": 12, "code": { - "id": "astnode100017578", + "id": "astnode100017595", "name": "rlon_hi", "type": "UnaryExpression", "funcscope": "SearchMaxElongation", @@ -38714,18 +38808,18 @@ "comment": "", "meta": { "range": [ - 177870, - 177885 + 178044, + 178082 ], "filename": "astronomy.js", - "lineno": 4023, + "lineno": 4024, "columnno": 12, "code": { - "id": "astnode100017600", + "id": "astnode100017603", "name": "adjust_days", - "type": "Literal", + "type": "BinaryExpression", "funcscope": "SearchMaxElongation", - "value": 0, + "value": "", "paramnames": [] } }, @@ -38740,14 +38834,14 @@ "comment": "", "meta": { "range": [ - 177965, - 177985 + 178096, + 178116 ], "filename": "astronomy.js", "lineno": 4025, "columnno": 12, "code": { - "id": "astnode100017604", + "id": "astnode100017612", "name": "rlon_lo", "type": "UnaryExpression", "funcscope": "SearchMaxElongation", @@ -38766,14 +38860,14 @@ "comment": "", "meta": { "range": [ - 178065, - 178085 + 178204, + 178224 ], "filename": "astronomy.js", "lineno": 4027, "columnno": 12, "code": { - "id": "astnode100017611", + "id": "astnode100017619", "name": "rlon_hi", "type": "UnaryExpression", "funcscope": "SearchMaxElongation", @@ -38792,170 +38886,14 @@ "comment": "", "meta": { "range": [ - 178274, - 178312 + 178248, + 178288 ], "filename": "astronomy.js", - "lineno": 4032, + "lineno": 4029, "columnno": 12, "code": { - "id": "astnode100017623", - "name": "adjust_days", - "type": "BinaryExpression", - "funcscope": "SearchMaxElongation", - "value": "", - "paramnames": [] - } - }, - "undocumented": true, - "name": "adjust_days", - "longname": "SearchMaxElongation~adjust_days", - "kind": "member", - "memberof": "SearchMaxElongation", - "scope": "inner" - }, - { - "comment": "", - "meta": { - "range": [ - 178326, - 178346 - ], - "filename": "astronomy.js", - "lineno": 4033, - "columnno": 12, - "code": { - "id": "astnode100017632", - "name": "rlon_lo", - "type": "UnaryExpression", - "funcscope": "SearchMaxElongation", - "value": "+planet.s1", - "paramnames": [] - } - }, - "undocumented": true, - "name": "rlon_lo", - "longname": "SearchMaxElongation~rlon_lo", - "kind": "member", - "memberof": "SearchMaxElongation", - "scope": "inner" - }, - { - "comment": "", - "meta": { - "range": [ - 178360, - 178380 - ], - "filename": "astronomy.js", - "lineno": 4034, - "columnno": 12, - "code": { - "id": "astnode100017639", - "name": "rlon_hi", - "type": "UnaryExpression", - "funcscope": "SearchMaxElongation", - "value": "+planet.s2", - "paramnames": [] - } - }, - "undocumented": true, - "name": "rlon_hi", - "longname": "SearchMaxElongation~rlon_hi", - "kind": "member", - "memberof": "SearchMaxElongation", - "scope": "inner" - }, - { - "comment": "", - "meta": { - "range": [ - 178628, - 178666 - ], - "filename": "astronomy.js", - "lineno": 4040, - "columnno": 12, - "code": { - "id": "astnode100017647", - "name": "adjust_days", - "type": "BinaryExpression", - "funcscope": "SearchMaxElongation", - "value": "", - "paramnames": [] - } - }, - "undocumented": true, - "name": "adjust_days", - "longname": "SearchMaxElongation~adjust_days", - "kind": "member", - "memberof": "SearchMaxElongation", - "scope": "inner" - }, - { - "comment": "", - "meta": { - "range": [ - 178680, - 178700 - ], - "filename": "astronomy.js", - "lineno": 4041, - "columnno": 12, - "code": { - "id": "astnode100017656", - "name": "rlon_lo", - "type": "UnaryExpression", - "funcscope": "SearchMaxElongation", - "value": "-planet.s2", - "paramnames": [] - } - }, - "undocumented": true, - "name": "rlon_lo", - "longname": "SearchMaxElongation~rlon_lo", - "kind": "member", - "memberof": "SearchMaxElongation", - "scope": "inner" - }, - { - "comment": "", - "meta": { - "range": [ - 178788, - 178808 - ], - "filename": "astronomy.js", - "lineno": 4043, - "columnno": 12, - "code": { - "id": "astnode100017663", - "name": "rlon_hi", - "type": "UnaryExpression", - "funcscope": "SearchMaxElongation", - "value": "-planet.s1", - "paramnames": [] - } - }, - "undocumented": true, - "name": "rlon_hi", - "longname": "SearchMaxElongation~rlon_hi", - "kind": "member", - "memberof": "SearchMaxElongation", - "scope": "inner" - }, - { - "comment": "", - "meta": { - "range": [ - 178832, - 178872 - ], - "filename": "astronomy.js", - "lineno": 4045, - "columnno": 12, - "code": { - "id": "astnode100017670", + "id": "astnode100017626", "name": "t_start", "type": "CallExpression", "value": "" @@ -38973,14 +38911,14 @@ "comment": "", "meta": { "range": [ - 178886, - 178938 + 178302, + 178354 ], "filename": "astronomy.js", - "lineno": 4046, + "lineno": 4030, "columnno": 12, "code": { - "id": "astnode100017678", + "id": "astnode100017634", "name": "t1", "type": "CallExpression", "value": "" @@ -38998,14 +38936,14 @@ "comment": "", "meta": { "range": [ - 178952, - 178999 + 178368, + 178415 ], "filename": "astronomy.js", - "lineno": 4047, + "lineno": 4031, "columnno": 12, "code": { - "id": "astnode100017686", + "id": "astnode100017642", "name": "t2", "type": "CallExpression", "value": "" @@ -39023,14 +38961,14 @@ "comment": "", "meta": { "range": [ - 179134, - 179152 + 178550, + 178568 ], "filename": "astronomy.js", - "lineno": 4050, + "lineno": 4034, "columnno": 12, "code": { - "id": "astnode100017694", + "id": "astnode100017650", "name": "m1", "type": "CallExpression", "value": "" @@ -39048,14 +38986,14 @@ "comment": "", "meta": { "range": [ - 179256, - 179274 + 178672, + 178690 ], "filename": "astronomy.js", - "lineno": 4053, + "lineno": 4037, "columnno": 12, "code": { - "id": "astnode100017709", + "id": "astnode100017665", "name": "m2", "type": "CallExpression", "value": "" @@ -39073,14 +39011,14 @@ "comment": "", "meta": { "range": [ - 179487, - 179573 + 178903, + 178989 ], "filename": "astronomy.js", - "lineno": 4057, + "lineno": 4041, "columnno": 12, "code": { - "id": "astnode100017724", + "id": "astnode100017680", "name": "tx", "type": "CallExpression", "value": "" @@ -39098,14 +39036,14 @@ "comment": "", "meta": { "range": [ - 179520, - 179531 + 178936, + 178947 ], "filename": "astronomy.js", - "lineno": 4057, + "lineno": 4041, "columnno": 45, "code": { - "id": "astnode100017732", + "id": "astnode100017688", "name": "init_f1", "type": "Identifier", "value": "m1" @@ -39121,14 +39059,14 @@ "comment": "", "meta": { "range": [ - 179533, - 179544 + 178949, + 178960 ], "filename": "astronomy.js", - "lineno": 4057, + "lineno": 4041, "columnno": 58, "code": { - "id": "astnode100017734", + "id": "astnode100017690", "name": "init_f2", "type": "Identifier", "value": "m2" @@ -39144,14 +39082,14 @@ "comment": "", "meta": { "range": [ - 179546, - 179570 + 178962, + 178986 ], "filename": "astronomy.js", - "lineno": 4057, + "lineno": 4041, "columnno": 71, "code": { - "id": "astnode100017736", + "id": "astnode100017692", "name": "dt_tolerance_seconds", "type": "Literal", "value": 10 @@ -39167,14 +39105,14 @@ "comment": "", "meta": { "range": [ - 179982, - 180007 + 179398, + 179423 ], "filename": "astronomy.js", - "lineno": 4065, + "lineno": 4049, "columnno": 8, "code": { - "id": "astnode100017770", + "id": "astnode100017726", "name": "startTime", "type": "CallExpression", "funcscope": "SearchMaxElongation", @@ -39193,14 +39131,14 @@ "comment": "", "meta": { "range": [ - 180087, - 180136 + 179503, + 179552 ], "filename": "astronomy.js", - "lineno": 4069, + "lineno": 4053, "columnno": 0, "code": { - "id": "astnode100017781", + "id": "astnode100017737", "name": "exports.SearchMaxElongation", "type": "Identifier", "value": "SearchMaxElongation", @@ -39217,14 +39155,14 @@ "comment": "/**\n * @brief Searches for the date and time Venus will next appear brightest as seen from the Earth.\n *\n * @param {Body} body\n * Currently only `\"Venus\"` is supported.\n * Mercury's peak magnitude occurs at superior conjunction, when it is virtually impossible to see from Earth,\n * so peak magnitude events have little practical value for that planet.\n * The Moon reaches peak magnitude very close to full moon, which can be found using\n * {@link SearchMoonQuarter} or {@link SearchMoonPhase}.\n * The other planets reach peak magnitude very close to opposition,\n * which can be found using {@link SearchRelativeLongitude}.\n *\n * @param {FlexibleDateTime} startDate\n * The date and time after which to find the next peak magnitude event.\n *\n * @returns {IlluminationInfo}\n */", "meta": { "range": [ - 180954, - 185121 + 180370, + 184537 ], "filename": "astronomy.js", - "lineno": 4087, + "lineno": 4071, "columnno": 0, "code": { - "id": "astnode100017786", + "id": "astnode100017742", "name": "SearchPeakMagnitude", "type": "FunctionDeclaration", "paramnames": [ @@ -39299,14 +39237,14 @@ "comment": "", "meta": { "range": [ - 181110, - 181119 + 180526, + 180535 ], "filename": "astronomy.js", - "lineno": 4090, + "lineno": 4074, "columnno": 10, "code": { - "id": "astnode100017800", + "id": "astnode100017756", "name": "dt", "type": "Literal", "value": 0.01 @@ -39324,14 +39262,14 @@ "comment": "", "meta": { "range": [ - 181125, - 181720 + 180541, + 181136 ], "filename": "astronomy.js", - "lineno": 4091, + "lineno": 4075, "columnno": 4, "code": { - "id": "astnode100017803", + "id": "astnode100017759", "name": "slope", "type": "FunctionDeclaration", "paramnames": [ @@ -39358,14 +39296,14 @@ "comment": "", "meta": { "range": [ - 181505, - 181528 + 180921, + 180944 ], "filename": "astronomy.js", - "lineno": 4097, + "lineno": 4081, "columnno": 14, "code": { - "id": "astnode100017808", + "id": "astnode100017764", "name": "t1", "type": "CallExpression", "value": "" @@ -39383,14 +39321,14 @@ "comment": "", "meta": { "range": [ - 181544, - 181567 + 180960, + 180983 ], "filename": "astronomy.js", - "lineno": 4098, + "lineno": 4082, "columnno": 14, "code": { - "id": "astnode100017819", + "id": "astnode100017775", "name": "t2", "type": "CallExpression", "value": "" @@ -39408,14 +39346,14 @@ "comment": "", "meta": { "range": [ - 181583, - 181614 + 180999, + 181030 ], "filename": "astronomy.js", - "lineno": 4099, + "lineno": 4083, "columnno": 14, "code": { - "id": "astnode100017830", + "id": "astnode100017786", "name": "y1", "type": "MemberExpression", "value": ".mag" @@ -39433,14 +39371,14 @@ "comment": "", "meta": { "range": [ - 181630, - 181661 + 181046, + 181077 ], "filename": "astronomy.js", - "lineno": 4100, + "lineno": 4084, "columnno": 14, "code": { - "id": "astnode100017839", + "id": "astnode100017795", "name": "y2", "type": "MemberExpression", "value": ".mag" @@ -39458,14 +39396,14 @@ "comment": "", "meta": { "range": [ - 181677, - 181695 + 181093, + 181111 ], "filename": "astronomy.js", - "lineno": 4101, + "lineno": 4085, "columnno": 14, "code": { - "id": "astnode100017848", + "id": "astnode100017804", "name": "m", "type": "BinaryExpression", "value": "" @@ -39483,14 +39421,14 @@ "comment": "", "meta": { "range": [ - 181729, - 181760 + 181145, + 181176 ], "filename": "astronomy.js", - "lineno": 4104, + "lineno": 4088, "columnno": 8, "code": { - "id": "astnode100017858", + "id": "astnode100017814", "name": "startTime", "type": "CallExpression", "value": "" @@ -39508,14 +39446,14 @@ "comment": "", "meta": { "range": [ - 181861, - 181870 + 181277, + 181286 ], "filename": "astronomy.js", - "lineno": 4106, + "lineno": 4090, "columnno": 10, "code": { - "id": "astnode100017864", + "id": "astnode100017820", "name": "s1", "type": "Literal", "value": 10 @@ -39533,14 +39471,14 @@ "comment": "", "meta": { "range": [ - 181882, - 181891 + 181298, + 181307 ], "filename": "astronomy.js", - "lineno": 4107, + "lineno": 4091, "columnno": 10, "code": { - "id": "astnode100017868", + "id": "astnode100017824", "name": "s2", "type": "Literal", "value": 30 @@ -39558,14 +39496,14 @@ "comment": "", "meta": { "range": [ - 181901, - 181909 + 181317, + 181325 ], "filename": "astronomy.js", - "lineno": 4108, + "lineno": 4092, "columnno": 8, "code": { - "id": "astnode100017872", + "id": "astnode100017828", "name": "iter", "type": "Literal", "value": 0 @@ -39583,14 +39521,14 @@ "comment": "", "meta": { "range": [ - 182059, - 182100 + 181475, + 181516 ], "filename": "astronomy.js", - "lineno": 4112, + "lineno": 4096, "columnno": 12, "code": { - "id": "astnode100017882", + "id": "astnode100017838", "name": "plon", "type": "CallExpression", "value": "" @@ -39608,14 +39546,14 @@ "comment": "", "meta": { "range": [ - 182114, - 182161 + 181530, + 181577 ], "filename": "astronomy.js", - "lineno": 4113, + "lineno": 4097, "columnno": 12, "code": { - "id": "astnode100017889", + "id": "astnode100017845", "name": "elon", "type": "CallExpression", "value": "" @@ -39633,14 +39571,14 @@ "comment": "", "meta": { "range": [ - 182175, - 182210 + 181591, + 181626 ], "filename": "astronomy.js", - "lineno": 4114, + "lineno": 4098, "columnno": 12, "code": { - "id": "astnode100017898", + "id": "astnode100017854", "name": "rlon", "type": "CallExpression", "value": "" @@ -39658,14 +39596,14 @@ "comment": "", "meta": { "range": [ - 182496, - 182503 + 181912, + 181919 ], "filename": "astronomy.js", - "lineno": 4118, + "lineno": 4102, "columnno": 12, "code": { - "id": "astnode100017906", + "id": "astnode100017862", "name": "rlon_lo" } }, @@ -39681,14 +39619,14 @@ "comment": "", "meta": { "range": [ - 182505, - 182512 + 181921, + 181928 ], "filename": "astronomy.js", - "lineno": 4118, + "lineno": 4102, "columnno": 21, "code": { - "id": "astnode100017908", + "id": "astnode100017864", "name": "rlon_hi" } }, @@ -39704,14 +39642,14 @@ "comment": "", "meta": { "range": [ - 182514, - 182525 + 181930, + 181941 ], "filename": "astronomy.js", - "lineno": 4118, + "lineno": 4102, "columnno": 30, "code": { - "id": "astnode100017910", + "id": "astnode100017866", "name": "adjust_days" } }, @@ -39727,14 +39665,14 @@ "comment": "", "meta": { "range": [ - 182626, - 182641 + 182042, + 182057 ], "filename": "astronomy.js", - "lineno": 4121, + "lineno": 4105, "columnno": 12, "code": { - "id": "astnode100017924", + "id": "astnode100017880", "name": "adjust_days", "type": "Literal", "funcscope": "SearchPeakMagnitude", @@ -39753,14 +39691,14 @@ "comment": "", "meta": { "range": [ - 182721, - 182734 + 182137, + 182150 ], "filename": "astronomy.js", - "lineno": 4123, + "lineno": 4107, "columnno": 12, "code": { - "id": "astnode100017928", + "id": "astnode100017884", "name": "rlon_lo", "type": "UnaryExpression", "funcscope": "SearchPeakMagnitude", @@ -39779,14 +39717,14 @@ "comment": "", "meta": { "range": [ - 182814, - 182827 + 182230, + 182243 ], "filename": "astronomy.js", - "lineno": 4125, + "lineno": 4109, "columnno": 12, "code": { - "id": "astnode100017933", + "id": "astnode100017889", "name": "rlon_hi", "type": "UnaryExpression", "funcscope": "SearchPeakMagnitude", @@ -39805,14 +39743,14 @@ "comment": "", "meta": { "range": [ - 182958, - 182973 + 182374, + 182389 ], "filename": "astronomy.js", - "lineno": 4129, + "lineno": 4113, "columnno": 12, "code": { - "id": "astnode100017949", + "id": "astnode100017905", "name": "adjust_days", "type": "Literal", "funcscope": "SearchPeakMagnitude", @@ -39831,8 +39769,164 @@ "comment": "", "meta": { "range": [ - 183053, - 183066 + 182469, + 182482 + ], + "filename": "astronomy.js", + "lineno": 4115, + "columnno": 12, + "code": { + "id": "astnode100017909", + "name": "rlon_lo", + "type": "UnaryExpression", + "funcscope": "SearchPeakMagnitude", + "value": "-s2", + "paramnames": [] + } + }, + "undocumented": true, + "name": "rlon_lo", + "longname": "SearchPeakMagnitude~rlon_lo", + "kind": "member", + "memberof": "SearchPeakMagnitude", + "scope": "inner" + }, + { + "comment": "", + "meta": { + "range": [ + 182562, + 182575 + ], + "filename": "astronomy.js", + "lineno": 4117, + "columnno": 12, + "code": { + "id": "astnode100017914", + "name": "rlon_hi", + "type": "UnaryExpression", + "funcscope": "SearchPeakMagnitude", + "value": "-s1", + "paramnames": [] + } + }, + "undocumented": true, + "name": "rlon_hi", + "longname": "SearchPeakMagnitude~rlon_hi", + "kind": "member", + "memberof": "SearchPeakMagnitude", + "scope": "inner" + }, + { + "comment": "", + "meta": { + "range": [ + 182764, + 182802 + ], + "filename": "astronomy.js", + "lineno": 4122, + "columnno": 12, + "code": { + "id": "astnode100017924", + "name": "adjust_days", + "type": "BinaryExpression", + "funcscope": "SearchPeakMagnitude", + "value": "", + "paramnames": [] + } + }, + "undocumented": true, + "name": "adjust_days", + "longname": "SearchPeakMagnitude~adjust_days", + "kind": "member", + "memberof": "SearchPeakMagnitude", + "scope": "inner" + }, + { + "comment": "", + "meta": { + "range": [ + 182816, + 182829 + ], + "filename": "astronomy.js", + "lineno": 4123, + "columnno": 12, + "code": { + "id": "astnode100017933", + "name": "rlon_lo", + "type": "UnaryExpression", + "funcscope": "SearchPeakMagnitude", + "value": "+s1", + "paramnames": [] + } + }, + "undocumented": true, + "name": "rlon_lo", + "longname": "SearchPeakMagnitude~rlon_lo", + "kind": "member", + "memberof": "SearchPeakMagnitude", + "scope": "inner" + }, + { + "comment": "", + "meta": { + "range": [ + 182917, + 182930 + ], + "filename": "astronomy.js", + "lineno": 4125, + "columnno": 12, + "code": { + "id": "astnode100017938", + "name": "rlon_hi", + "type": "UnaryExpression", + "funcscope": "SearchPeakMagnitude", + "value": "+s2", + "paramnames": [] + } + }, + "undocumented": true, + "name": "rlon_hi", + "longname": "SearchPeakMagnitude~rlon_hi", + "kind": "member", + "memberof": "SearchPeakMagnitude", + "scope": "inner" + }, + { + "comment": "", + "meta": { + "range": [ + 183104, + 183142 + ], + "filename": "astronomy.js", + "lineno": 4130, + "columnno": 12, + "code": { + "id": "astnode100017944", + "name": "adjust_days", + "type": "BinaryExpression", + "funcscope": "SearchPeakMagnitude", + "value": "", + "paramnames": [] + } + }, + "undocumented": true, + "name": "adjust_days", + "longname": "SearchPeakMagnitude~adjust_days", + "kind": "member", + "memberof": "SearchPeakMagnitude", + "scope": "inner" + }, + { + "comment": "", + "meta": { + "range": [ + 183156, + 183169 ], "filename": "astronomy.js", "lineno": 4131, @@ -39857,8 +39951,8 @@ "comment": "", "meta": { "range": [ - 183146, - 183159 + 183257, + 183270 ], "filename": "astronomy.js", "lineno": 4133, @@ -39883,170 +39977,14 @@ "comment": "", "meta": { "range": [ - 183348, - 183386 + 183294, + 183334 ], "filename": "astronomy.js", - "lineno": 4138, + "lineno": 4135, "columnno": 12, "code": { - "id": "astnode100017968", - "name": "adjust_days", - "type": "BinaryExpression", - "funcscope": "SearchPeakMagnitude", - "value": "", - "paramnames": [] - } - }, - "undocumented": true, - "name": "adjust_days", - "longname": "SearchPeakMagnitude~adjust_days", - "kind": "member", - "memberof": "SearchPeakMagnitude", - "scope": "inner" - }, - { - "comment": "", - "meta": { - "range": [ - 183400, - 183413 - ], - "filename": "astronomy.js", - "lineno": 4139, - "columnno": 12, - "code": { - "id": "astnode100017977", - "name": "rlon_lo", - "type": "UnaryExpression", - "funcscope": "SearchPeakMagnitude", - "value": "+s1", - "paramnames": [] - } - }, - "undocumented": true, - "name": "rlon_lo", - "longname": "SearchPeakMagnitude~rlon_lo", - "kind": "member", - "memberof": "SearchPeakMagnitude", - "scope": "inner" - }, - { - "comment": "", - "meta": { - "range": [ - 183501, - 183514 - ], - "filename": "astronomy.js", - "lineno": 4141, - "columnno": 12, - "code": { - "id": "astnode100017982", - "name": "rlon_hi", - "type": "UnaryExpression", - "funcscope": "SearchPeakMagnitude", - "value": "+s2", - "paramnames": [] - } - }, - "undocumented": true, - "name": "rlon_hi", - "longname": "SearchPeakMagnitude~rlon_hi", - "kind": "member", - "memberof": "SearchPeakMagnitude", - "scope": "inner" - }, - { - "comment": "", - "meta": { - "range": [ - 183688, - 183726 - ], - "filename": "astronomy.js", - "lineno": 4146, - "columnno": 12, - "code": { - "id": "astnode100017988", - "name": "adjust_days", - "type": "BinaryExpression", - "funcscope": "SearchPeakMagnitude", - "value": "", - "paramnames": [] - } - }, - "undocumented": true, - "name": "adjust_days", - "longname": "SearchPeakMagnitude~adjust_days", - "kind": "member", - "memberof": "SearchPeakMagnitude", - "scope": "inner" - }, - { - "comment": "", - "meta": { - "range": [ - 183740, - 183753 - ], - "filename": "astronomy.js", - "lineno": 4147, - "columnno": 12, - "code": { - "id": "astnode100017997", - "name": "rlon_lo", - "type": "UnaryExpression", - "funcscope": "SearchPeakMagnitude", - "value": "-s2", - "paramnames": [] - } - }, - "undocumented": true, - "name": "rlon_lo", - "longname": "SearchPeakMagnitude~rlon_lo", - "kind": "member", - "memberof": "SearchPeakMagnitude", - "scope": "inner" - }, - { - "comment": "", - "meta": { - "range": [ - 183841, - 183854 - ], - "filename": "astronomy.js", - "lineno": 4149, - "columnno": 12, - "code": { - "id": "astnode100018002", - "name": "rlon_hi", - "type": "UnaryExpression", - "funcscope": "SearchPeakMagnitude", - "value": "-s1", - "paramnames": [] - } - }, - "undocumented": true, - "name": "rlon_hi", - "longname": "SearchPeakMagnitude~rlon_hi", - "kind": "member", - "memberof": "SearchPeakMagnitude", - "scope": "inner" - }, - { - "comment": "", - "meta": { - "range": [ - 183878, - 183918 - ], - "filename": "astronomy.js", - "lineno": 4151, - "columnno": 12, - "code": { - "id": "astnode100018007", + "id": "astnode100017963", "name": "t_start", "type": "CallExpression", "value": "" @@ -40064,14 +40002,14 @@ "comment": "", "meta": { "range": [ - 183932, - 183984 + 183348, + 183400 ], "filename": "astronomy.js", - "lineno": 4152, + "lineno": 4136, "columnno": 12, "code": { - "id": "astnode100018015", + "id": "astnode100017971", "name": "t1", "type": "CallExpression", "value": "" @@ -40089,14 +40027,14 @@ "comment": "", "meta": { "range": [ - 183998, - 184045 + 183414, + 183461 ], "filename": "astronomy.js", - "lineno": 4153, + "lineno": 4137, "columnno": 12, "code": { - "id": "astnode100018023", + "id": "astnode100017979", "name": "t2", "type": "CallExpression", "value": "" @@ -40114,14 +40052,14 @@ "comment": "", "meta": { "range": [ - 184179, - 184193 + 183595, + 183609 ], "filename": "astronomy.js", - "lineno": 4156, + "lineno": 4140, "columnno": 12, "code": { - "id": "astnode100018031", + "id": "astnode100017987", "name": "m1", "type": "CallExpression", "value": "" @@ -40139,14 +40077,14 @@ "comment": "", "meta": { "range": [ - 184297, - 184311 + 183713, + 183727 ], "filename": "astronomy.js", - "lineno": 4159, + "lineno": 4143, "columnno": 12, "code": { - "id": "astnode100018046", + "id": "astnode100018002", "name": "m2", "type": "CallExpression", "value": "" @@ -40164,14 +40102,14 @@ "comment": "", "meta": { "range": [ - 184524, - 184606 + 183940, + 184022 ], "filename": "astronomy.js", - "lineno": 4163, + "lineno": 4147, "columnno": 12, "code": { - "id": "astnode100018061", + "id": "astnode100018017", "name": "tx", "type": "CallExpression", "value": "" @@ -40189,14 +40127,14 @@ "comment": "", "meta": { "range": [ - 184553, - 184564 + 183969, + 183980 ], "filename": "astronomy.js", - "lineno": 4163, + "lineno": 4147, "columnno": 41, "code": { - "id": "astnode100018069", + "id": "astnode100018025", "name": "init_f1", "type": "Identifier", "value": "m1" @@ -40212,14 +40150,14 @@ "comment": "", "meta": { "range": [ - 184566, - 184577 + 183982, + 183993 ], "filename": "astronomy.js", - "lineno": 4163, + "lineno": 4147, "columnno": 54, "code": { - "id": "astnode100018071", + "id": "astnode100018027", "name": "init_f2", "type": "Identifier", "value": "m2" @@ -40235,14 +40173,14 @@ "comment": "", "meta": { "range": [ - 184579, - 184603 + 183995, + 184019 ], "filename": "astronomy.js", - "lineno": 4163, + "lineno": 4147, "columnno": 67, "code": { - "id": "astnode100018073", + "id": "astnode100018029", "name": "dt_tolerance_seconds", "type": "Literal", "value": 10 @@ -40258,14 +40196,14 @@ "comment": "", "meta": { "range": [ - 185017, - 185042 + 184433, + 184458 ], "filename": "astronomy.js", - "lineno": 4171, + "lineno": 4155, "columnno": 8, "code": { - "id": "astnode100018107", + "id": "astnode100018063", "name": "startTime", "type": "CallExpression", "funcscope": "SearchPeakMagnitude", @@ -40284,14 +40222,14 @@ "comment": "", "meta": { "range": [ - 185122, - 185171 + 184538, + 184587 ], "filename": "astronomy.js", - "lineno": 4175, + "lineno": 4159, "columnno": 0, "code": { - "id": "astnode100018118", + "id": "astnode100018074", "name": "exports.SearchPeakMagnitude", "type": "Identifier", "value": "SearchPeakMagnitude", @@ -40308,14 +40246,14 @@ "comment": "/**\n * @brief A closest or farthest point in a body's orbit around its primary.\n *\n * For a planet orbiting the Sun, apsis is a perihelion or aphelion, respectively.\n * For the Moon orbiting the Earth, apsis is a perigee or apogee, respectively.\n *\n * @property {AstroTime} time\n * The date and time of the apsis.\n *\n * @property {number} kind\n * For a closest approach (perigee or perihelion), `kind` is 0.\n * For a farthest distance event (apogee or aphelion), `kind` is 1.\n *\n * @property {number} dist_au\n * The distance between the centers of the two bodies in astronomical units (AU).\n *\n * @property {number} dist_km\n * The distance between the centers of the two bodies in kilometers.\n *\n * @see {@link SearchLunarApsis}\n * @see {@link NextLunarApsis}\n */", "meta": { "range": [ - 185962, - 186150 + 185378, + 185566 ], "filename": "astronomy.js", - "lineno": 4198, + "lineno": 4182, "columnno": 0, "code": { - "id": "astnode100018123", + "id": "astnode100018079", "name": "Apsis", "type": "ClassDeclaration", "paramnames": [ @@ -40385,14 +40323,14 @@ "comment": "", "meta": { "range": [ - 185980, - 186148 + 185396, + 185564 ], "filename": "astronomy.js", - "lineno": 4199, + "lineno": 4183, "columnno": 4, "code": { - "id": "astnode100018126", + "id": "astnode100018082", "name": "Apsis", "type": "MethodDefinition", "paramnames": [ @@ -40416,14 +40354,14 @@ "comment": "/**\n * @brief A closest or farthest point in a body's orbit around its primary.\n *\n * For a planet orbiting the Sun, apsis is a perihelion or aphelion, respectively.\n * For the Moon orbiting the Earth, apsis is a perigee or apogee, respectively.\n *\n * @property {AstroTime} time\n * The date and time of the apsis.\n *\n * @property {number} kind\n * For a closest approach (perigee or perihelion), `kind` is 0.\n * For a farthest distance event (apogee or aphelion), `kind` is 1.\n *\n * @property {number} dist_au\n * The distance between the centers of the two bodies in astronomical units (AU).\n *\n * @property {number} dist_km\n * The distance between the centers of the two bodies in kilometers.\n *\n * @see {@link SearchLunarApsis}\n * @see {@link NextLunarApsis}\n */", "meta": { "range": [ - 185962, - 186150 + 185378, + 185566 ], "filename": "astronomy.js", - "lineno": 4198, + "lineno": 4182, "columnno": 0, "code": { - "id": "astnode100018123", + "id": "astnode100018079", "name": "Apsis", "type": "ClassDeclaration", "paramnames": [ @@ -40492,14 +40430,14 @@ "comment": "", "meta": { "range": [ - 186023, - 186039 + 185439, + 185455 ], "filename": "astronomy.js", - "lineno": 4200, + "lineno": 4184, "columnno": 8, "code": { - "id": "astnode100018134", + "id": "astnode100018090", "name": "this.time", "type": "Identifier", "value": "time", @@ -40517,14 +40455,14 @@ "comment": "", "meta": { "range": [ - 186049, - 186065 + 185465, + 185481 ], "filename": "astronomy.js", - "lineno": 4201, + "lineno": 4185, "columnno": 8, "code": { - "id": "astnode100018140", + "id": "astnode100018096", "name": "this.kind", "type": "Identifier", "value": "kind", @@ -40542,14 +40480,14 @@ "comment": "", "meta": { "range": [ - 186075, - 186097 + 185491, + 185513 ], "filename": "astronomy.js", - "lineno": 4202, + "lineno": 4186, "columnno": 8, "code": { - "id": "astnode100018146", + "id": "astnode100018102", "name": "this.dist_au", "type": "Identifier", "value": "dist_au", @@ -40567,14 +40505,14 @@ "comment": "", "meta": { "range": [ - 186107, - 186141 + 185523, + 185557 ], "filename": "astronomy.js", - "lineno": 4203, + "lineno": 4187, "columnno": 8, "code": { - "id": "astnode100018152", + "id": "astnode100018108", "name": "this.dist_km", "type": "BinaryExpression", "value": "", @@ -40592,14 +40530,14 @@ "comment": "", "meta": { "range": [ - 186151, - 186172 + 185567, + 185588 ], "filename": "astronomy.js", - "lineno": 4206, + "lineno": 4190, "columnno": 0, "code": { - "id": "astnode100018160", + "id": "astnode100018116", "name": "exports.Apsis", "type": "Identifier", "value": "Apsis", @@ -40616,14 +40554,14 @@ "comment": "/**\n * @brief Finds the next perigee or apogee of the Moon.\n *\n * Finds the next perigee (closest approach) or apogee (farthest remove) of the Moon\n * that occurs after the specified date and time.\n *\n * @param {FlexibleDateTime} startDate\n * The date and time after which to find the next perigee or apogee.\n *\n * @returns {Apsis}\n */", "meta": { "range": [ - 186515, - 189310 + 185931, + 188726 ], "filename": "astronomy.js", - "lineno": 4218, + "lineno": 4202, "columnno": 0, "code": { - "id": "astnode100018165", + "id": "astnode100018121", "name": "SearchLunarApsis", "type": "FunctionDeclaration", "paramnames": [ @@ -40681,14 +40619,14 @@ "comment": "", "meta": { "range": [ - 186564, - 186574 + 185980, + 185990 ], "filename": "astronomy.js", - "lineno": 4219, + "lineno": 4203, "columnno": 10, "code": { - "id": "astnode100018170", + "id": "astnode100018126", "name": "dt", "type": "Literal", "value": 0.001 @@ -40706,14 +40644,14 @@ "comment": "", "meta": { "range": [ - 186580, - 186824 + 185996, + 186240 ], "filename": "astronomy.js", - "lineno": 4220, + "lineno": 4204, "columnno": 4, "code": { - "id": "astnode100018173", + "id": "astnode100018129", "name": "distance_slope", "type": "FunctionDeclaration", "paramnames": [ @@ -40740,14 +40678,14 @@ "comment": "", "meta": { "range": [ - 186621, - 186644 + 186037, + 186060 ], "filename": "astronomy.js", - "lineno": 4221, + "lineno": 4205, "columnno": 12, "code": { - "id": "astnode100018178", + "id": "astnode100018134", "name": "t1", "type": "CallExpression", "value": "" @@ -40765,14 +40703,14 @@ "comment": "", "meta": { "range": [ - 186658, - 186681 + 186074, + 186097 ], "filename": "astronomy.js", - "lineno": 4222, + "lineno": 4206, "columnno": 12, "code": { - "id": "astnode100018189", + "id": "astnode100018145", "name": "t2", "type": "CallExpression", "value": "" @@ -40790,14 +40728,14 @@ "comment": "", "meta": { "range": [ - 186695, - 186724 + 186111, + 186140 ], "filename": "astronomy.js", - "lineno": 4223, + "lineno": 4207, "columnno": 12, "code": { - "id": "astnode100018200", + "id": "astnode100018156", "name": "r1", "type": "MemberExpression", "value": ".distance_au" @@ -40815,14 +40753,14 @@ "comment": "", "meta": { "range": [ - 186738, - 186767 + 186154, + 186183 ], "filename": "astronomy.js", - "lineno": 4224, + "lineno": 4208, "columnno": 12, "code": { - "id": "astnode100018208", + "id": "astnode100018164", "name": "r2", "type": "MemberExpression", "value": ".distance_au" @@ -40840,14 +40778,14 @@ "comment": "", "meta": { "range": [ - 186781, - 186799 + 186197, + 186215 ], "filename": "astronomy.js", - "lineno": 4225, + "lineno": 4209, "columnno": 12, "code": { - "id": "astnode100018216", + "id": "astnode100018172", "name": "m", "type": "BinaryExpression", "value": "" @@ -40865,14 +40803,14 @@ "comment": "", "meta": { "range": [ - 186829, - 186907 + 186245, + 186323 ], "filename": "astronomy.js", - "lineno": 4228, + "lineno": 4212, "columnno": 4, "code": { - "id": "astnode100018225", + "id": "astnode100018181", "name": "negative_distance_slope", "type": "FunctionDeclaration", "paramnames": [ @@ -40892,14 +40830,14 @@ "comment": "", "meta": { "range": [ - 187335, - 187359 + 186751, + 186775 ], "filename": "astronomy.js", - "lineno": 4237, + "lineno": 4221, "columnno": 8, "code": { - "id": "astnode100018235", + "id": "astnode100018191", "name": "t1", "type": "CallExpression", "value": "" @@ -40917,14 +40855,14 @@ "comment": "", "meta": { "range": [ - 187369, - 187392 + 186785, + 186808 ], "filename": "astronomy.js", - "lineno": 4238, + "lineno": 4222, "columnno": 8, "code": { - "id": "astnode100018241", + "id": "astnode100018197", "name": "m1", "type": "CallExpression", "value": "" @@ -40942,14 +40880,14 @@ "comment": "", "meta": { "range": [ - 187404, - 187417 + 186820, + 186833 ], "filename": "astronomy.js", - "lineno": 4239, + "lineno": 4223, "columnno": 10, "code": { - "id": "astnode100018247", + "id": "astnode100018203", "name": "increment", "type": "Literal", "value": 5 @@ -40967,14 +40905,14 @@ "comment": "", "meta": { "range": [ - 187476, - 187484 + 186892, + 186900 ], "filename": "astronomy.js", - "lineno": 4240, + "lineno": 4224, "columnno": 13, "code": { - "id": "astnode100018252", + "id": "astnode100018208", "name": "iter", "type": "Literal", "value": 0 @@ -40992,14 +40930,14 @@ "comment": "", "meta": { "range": [ - 187551, - 187577 + 186967, + 186993 ], "filename": "astronomy.js", - "lineno": 4241, + "lineno": 4225, "columnno": 12, "code": { - "id": "astnode100018266", + "id": "astnode100018222", "name": "t2", "type": "CallExpression", "value": "" @@ -41017,14 +40955,14 @@ "comment": "", "meta": { "range": [ - 187591, - 187614 + 187007, + 187030 ], "filename": "astronomy.js", - "lineno": 4242, + "lineno": 4226, "columnno": 12, "code": { - "id": "astnode100018274", + "id": "astnode100018230", "name": "m2", "type": "CallExpression", "value": "" @@ -41042,14 +40980,14 @@ "comment": "", "meta": { "range": [ - 188009, - 188074 + 187425, + 187490 ], "filename": "astronomy.js", - "lineno": 4250, + "lineno": 4234, "columnno": 20, "code": { - "id": "astnode100018296", + "id": "astnode100018252", "name": "tx", "type": "CallExpression", "value": "" @@ -41067,14 +41005,14 @@ "comment": "", "meta": { "range": [ - 188047, - 188058 + 187463, + 187474 ], "filename": "astronomy.js", - "lineno": 4250, + "lineno": 4234, "columnno": 58, "code": { - "id": "astnode100018304", + "id": "astnode100018260", "name": "init_f1", "type": "Identifier", "value": "m1" @@ -41090,14 +41028,14 @@ "comment": "", "meta": { "range": [ - 188060, - 188071 + 187476, + 187487 ], "filename": "astronomy.js", - "lineno": 4250, + "lineno": 4234, "columnno": 71, "code": { - "id": "astnode100018306", + "id": "astnode100018262", "name": "init_f2", "type": "Identifier", "value": "m2" @@ -41113,14 +41051,14 @@ "comment": "", "meta": { "range": [ - 188206, - 188237 + 187622, + 187653 ], "filename": "astronomy.js", - "lineno": 4253, + "lineno": 4237, "columnno": 20, "code": { - "id": "astnode100018314", + "id": "astnode100018270", "name": "dist", "type": "MemberExpression", "value": ".distance_au" @@ -41138,14 +41076,14 @@ "comment": "", "meta": { "range": [ - 188547, - 188623 + 187963, + 188039 ], "filename": "astronomy.js", - "lineno": 4260, + "lineno": 4244, "columnno": 20, "code": { - "id": "astnode100018337", + "id": "astnode100018293", "name": "tx", "type": "CallExpression", "value": "" @@ -41163,14 +41101,14 @@ "comment": "", "meta": { "range": [ - 188594, - 188606 + 188010, + 188022 ], "filename": "astronomy.js", - "lineno": 4260, + "lineno": 4244, "columnno": 67, "code": { - "id": "astnode100018345", + "id": "astnode100018301", "name": "init_f1", "type": "UnaryExpression", "value": "-m1" @@ -41186,14 +41124,14 @@ "comment": "", "meta": { "range": [ - 188608, - 188620 + 188024, + 188036 ], "filename": "astronomy.js", - "lineno": 4260, + "lineno": 4244, "columnno": 81, "code": { - "id": "astnode100018348", + "id": "astnode100018304", "name": "init_f2", "type": "UnaryExpression", "value": "-m2" @@ -41209,14 +41147,14 @@ "comment": "", "meta": { "range": [ - 188754, - 188785 + 188170, + 188201 ], "filename": "astronomy.js", - "lineno": 4263, + "lineno": 4247, "columnno": 20, "code": { - "id": "astnode100018357", + "id": "astnode100018313", "name": "dist", "type": "MemberExpression", "value": ".distance_au" @@ -41234,14 +41172,14 @@ "comment": "", "meta": { "range": [ - 189088, - 189095 + 188504, + 188511 ], "filename": "astronomy.js", - "lineno": 4270, + "lineno": 4254, "columnno": 8, "code": { - "id": "astnode100018373", + "id": "astnode100018329", "name": "t1", "type": "Identifier", "funcscope": "SearchLunarApsis", @@ -41260,14 +41198,14 @@ "comment": "", "meta": { "range": [ - 189105, - 189112 + 188521, + 188528 ], "filename": "astronomy.js", - "lineno": 4271, + "lineno": 4255, "columnno": 8, "code": { - "id": "astnode100018377", + "id": "astnode100018333", "name": "m1", "type": "Identifier", "funcscope": "SearchLunarApsis", @@ -41286,14 +41224,14 @@ "comment": "", "meta": { "range": [ - 189311, - 189354 + 188727, + 188770 ], "filename": "astronomy.js", - "lineno": 4276, + "lineno": 4260, "columnno": 0, "code": { - "id": "astnode100018383", + "id": "astnode100018339", "name": "exports.SearchLunarApsis", "type": "Identifier", "value": "SearchLunarApsis", @@ -41310,14 +41248,14 @@ "comment": "/**\n * @brief Finds the next lunar apsis (perigee or apogee) in a series.\n *\n * Given a lunar apsis returned by an initial call to {@link SearchLunarApsis},\n * or a previous call to `NextLunarApsis`, finds the next lunar apsis.\n * If the given apsis is a perigee, this function finds the next apogee, and vice versa.\n *\n * @param {Apsis} apsis\n * A lunar perigee or apogee event.\n *\n * @returns {Apsis}\n * The successor apogee for the given perigee, or the successor perigee for the given apogee.\n */", "meta": { "range": [ - 189867, - 190288 + 189283, + 189704 ], "filename": "astronomy.js", - "lineno": 4290, + "lineno": 4274, "columnno": 0, "code": { - "id": "astnode100018388", + "id": "astnode100018344", "name": "NextLunarApsis", "type": "FunctionDeclaration", "paramnames": [ @@ -41367,14 +41305,14 @@ "comment": "", "meta": { "range": [ - 189910, - 189919 + 189326, + 189335 ], "filename": "astronomy.js", - "lineno": 4291, + "lineno": 4275, "columnno": 10, "code": { - "id": "astnode100018393", + "id": "astnode100018349", "name": "skip", "type": "Literal", "value": 11 @@ -41392,14 +41330,14 @@ "comment": "", "meta": { "range": [ - 189993, - 190042 + 189409, + 189458 ], "filename": "astronomy.js", - "lineno": 4292, + "lineno": 4276, "columnno": 8, "code": { - "id": "astnode100018397", + "id": "astnode100018353", "name": "next", "type": "CallExpression", "value": "" @@ -41417,14 +41355,14 @@ "comment": "", "meta": { "range": [ - 190289, - 190328 + 189705, + 189744 ], "filename": "astronomy.js", - "lineno": 4298, + "lineno": 4282, "columnno": 0, "code": { - "id": "astnode100018447", + "id": "astnode100018403", "name": "exports.NextLunarApsis", "type": "Identifier", "value": "NextLunarApsis", @@ -41441,14 +41379,14 @@ "comment": "", "meta": { "range": [ - 190330, - 191323 + 189746, + 190739 ], "filename": "astronomy.js", - "lineno": 4299, + "lineno": 4283, "columnno": 0, "code": { - "id": "astnode100018452", + "id": "astnode100018408", "name": "PlanetExtreme", "type": "FunctionDeclaration", "paramnames": [ @@ -41484,14 +41422,14 @@ "comment": "", "meta": { "range": [ - 190398, - 190436 + 189814, + 189852 ], "filename": "astronomy.js", - "lineno": 4300, + "lineno": 4284, "columnno": 10, "code": { - "id": "astnode100018460", + "id": "astnode100018416", "name": "direction", "type": "ConditionalExpression", "value": "" @@ -41509,14 +41447,14 @@ "comment": "", "meta": { "range": [ - 190448, - 190460 + 189864, + 189876 ], "filename": "astronomy.js", - "lineno": 4301, + "lineno": 4285, "columnno": 10, "code": { - "id": "astnode100018471", + "id": "astnode100018427", "name": "npoints", "type": "Literal", "value": 10 @@ -41534,14 +41472,14 @@ "comment": "", "meta": { "range": [ - 190491, - 190525 + 189907, + 189941 ], "filename": "astronomy.js", - "lineno": 4303, + "lineno": 4287, "columnno": 14, "code": { - "id": "astnode100018477", + "id": "astnode100018433", "name": "interval", "type": "BinaryExpression", "value": "" @@ -41559,14 +41497,14 @@ "comment": "", "meta": { "range": [ - 190640, - 190687 + 190056, + 190103 ], "filename": "astronomy.js", - "lineno": 4305, + "lineno": 4289, "columnno": 18, "code": { - "id": "astnode100018492", + "id": "astnode100018448", "name": "apsis_time", "type": "CallExpression", "value": "" @@ -41584,14 +41522,14 @@ "comment": "", "meta": { "range": [ - 190707, - 190748 + 190123, + 190164 ], "filename": "astronomy.js", - "lineno": 4306, + "lineno": 4290, "columnno": 18, "code": { - "id": "astnode100018502", + "id": "astnode100018458", "name": "dist_au", "type": "CallExpression", "value": "" @@ -41609,14 +41547,14 @@ "comment": "", "meta": { "range": [ - 190829, - 190840 + 190245, + 190256 ], "filename": "astronomy.js", - "lineno": 4309, + "lineno": 4293, "columnno": 12, "code": { - "id": "astnode100018515", + "id": "astnode100018471", "name": "best_i", "type": "UnaryExpression", "value": -1 @@ -41634,14 +41572,14 @@ "comment": "", "meta": { "range": [ - 190854, - 190869 + 190270, + 190285 ], "filename": "astronomy.js", - "lineno": 4310, + "lineno": 4294, "columnno": 12, "code": { - "id": "astnode100018520", + "id": "astnode100018476", "name": "best_dist", "type": "Literal", "value": 0 @@ -41659,14 +41597,14 @@ "comment": "", "meta": { "range": [ - 190888, - 190893 + 190304, + 190309 ], "filename": "astronomy.js", - "lineno": 4311, + "lineno": 4295, "columnno": 17, "code": { - "id": "astnode100018525", + "id": "astnode100018481", "name": "i", "type": "Literal", "value": 0 @@ -41684,14 +41622,14 @@ "comment": "", "meta": { "range": [ - 190933, - 190972 + 190349, + 190388 ], "filename": "astronomy.js", - "lineno": 4312, + "lineno": 4296, "columnno": 18, "code": { - "id": "astnode100018535", + "id": "astnode100018491", "name": "time", "type": "CallExpression", "value": "" @@ -41709,14 +41647,14 @@ "comment": "", "meta": { "range": [ - 190992, - 191036 + 190408, + 190452 ], "filename": "astronomy.js", - "lineno": 4313, + "lineno": 4297, "columnno": 18, "code": { - "id": "astnode100018545", + "id": "astnode100018501", "name": "dist", "type": "BinaryExpression", "value": "" @@ -41734,14 +41672,14 @@ "comment": "", "meta": { "range": [ - 191100, - 191110 + 190516, + 190526 ], "filename": "astronomy.js", - "lineno": 4315, + "lineno": 4299, "columnno": 16, "code": { - "id": "astnode100018563", + "id": "astnode100018519", "name": "best_i", "type": "Identifier", "funcscope": "PlanetExtreme", @@ -41760,14 +41698,14 @@ "comment": "", "meta": { "range": [ - 191128, - 191144 + 190544, + 190560 ], "filename": "astronomy.js", - "lineno": 4316, + "lineno": 4300, "columnno": 16, "code": { - "id": "astnode100018567", + "id": "astnode100018523", "name": "best_dist", "type": "Identifier", "funcscope": "PlanetExtreme", @@ -41786,14 +41724,14 @@ "comment": "", "meta": { "range": [ - 191224, - 191280 + 190640, + 190696 ], "filename": "astronomy.js", - "lineno": 4320, + "lineno": 4304, "columnno": 8, "code": { - "id": "astnode100018571", + "id": "astnode100018527", "name": "start_time", "type": "CallExpression", "funcscope": "PlanetExtreme", @@ -41812,14 +41750,14 @@ "comment": "", "meta": { "range": [ - 191290, - 191314 + 190706, + 190730 ], "filename": "astronomy.js", - "lineno": 4321, + "lineno": 4305, "columnno": 8, "code": { - "id": "astnode100018583", + "id": "astnode100018539", "name": "dayspan", "type": "BinaryExpression", "funcscope": "PlanetExtreme", @@ -41838,14 +41776,14 @@ "comment": "", "meta": { "range": [ - 191324, - 193912 + 190740, + 193328 ], "filename": "astronomy.js", - "lineno": 4324, + "lineno": 4308, "columnno": 0, "code": { - "id": "astnode100018588", + "id": "astnode100018544", "name": "BruteSearchPlanetApsis", "type": "FunctionDeclaration", "paramnames": [ @@ -41880,14 +41818,14 @@ "comment": "", "meta": { "range": [ - 192615, - 192628 + 192031, + 192044 ], "filename": "astronomy.js", - "lineno": 4349, + "lineno": 4333, "columnno": 10, "code": { - "id": "astnode100018594", + "id": "astnode100018550", "name": "npoints", "type": "Literal", "value": 100 @@ -41905,14 +41843,14 @@ "comment": "", "meta": { "range": [ - 192640, - 192704 + 192056, + 192120 ], "filename": "astronomy.js", - "lineno": 4350, + "lineno": 4334, "columnno": 10, "code": { - "id": "astnode100018598", + "id": "astnode100018554", "name": "t1", "type": "CallExpression", "value": "" @@ -41930,14 +41868,14 @@ "comment": "", "meta": { "range": [ - 192716, - 192781 + 192132, + 192197 ], "filename": "astronomy.js", - "lineno": 4351, + "lineno": 4335, "columnno": 10, "code": { - "id": "astnode100018615", + "id": "astnode100018571", "name": "t2", "type": "CallExpression", "value": "" @@ -41955,14 +41893,14 @@ "comment": "", "meta": { "range": [ - 192791, - 192801 + 192207, + 192217 ], "filename": "astronomy.js", - "lineno": 4352, + "lineno": 4336, "columnno": 8, "code": { - "id": "astnode100018632", + "id": "astnode100018588", "name": "t_min", "type": "Identifier", "value": "t1" @@ -41980,14 +41918,14 @@ "comment": "", "meta": { "range": [ - 192811, - 192821 + 192227, + 192237 ], "filename": "astronomy.js", - "lineno": 4353, + "lineno": 4337, "columnno": 8, "code": { - "id": "astnode100018636", + "id": "astnode100018592", "name": "t_max", "type": "Identifier", "value": "t1" @@ -42005,14 +41943,14 @@ "comment": "", "meta": { "range": [ - 192831, - 192846 + 192247, + 192262 ], "filename": "astronomy.js", - "lineno": 4354, + "lineno": 4338, "columnno": 8, "code": { - "id": "astnode100018640", + "id": "astnode100018596", "name": "min_dist", "type": "UnaryExpression", "value": -1 @@ -42030,14 +41968,14 @@ "comment": "", "meta": { "range": [ - 192856, - 192871 + 192272, + 192287 ], "filename": "astronomy.js", - "lineno": 4355, + "lineno": 4339, "columnno": 8, "code": { - "id": "astnode100018645", + "id": "astnode100018601", "name": "max_dist", "type": "UnaryExpression", "value": -1 @@ -42055,14 +41993,14 @@ "comment": "", "meta": { "range": [ - 192883, - 192925 + 192299, + 192341 ], "filename": "astronomy.js", - "lineno": 4356, + "lineno": 4340, "columnno": 10, "code": { - "id": "astnode100018650", + "id": "astnode100018606", "name": "interval", "type": "BinaryExpression", "value": "" @@ -42080,14 +42018,14 @@ "comment": "", "meta": { "range": [ - 192940, - 192945 + 192356, + 192361 ], "filename": "astronomy.js", - "lineno": 4357, + "lineno": 4341, "columnno": 13, "code": { - "id": "astnode100018665", + "id": "astnode100018621", "name": "i", "type": "Literal", "value": 0 @@ -42105,14 +42043,14 @@ "comment": "", "meta": { "range": [ - 192981, - 193012 + 192397, + 192428 ], "filename": "astronomy.js", - "lineno": 4358, + "lineno": 4342, "columnno": 14, "code": { - "id": "astnode100018675", + "id": "astnode100018631", "name": "time", "type": "CallExpression", "value": "" @@ -42130,14 +42068,14 @@ "comment": "", "meta": { "range": [ - 193028, - 193060 + 192444, + 192476 ], "filename": "astronomy.js", - "lineno": 4359, + "lineno": 4343, "columnno": 14, "code": { - "id": "astnode100018685", + "id": "astnode100018641", "name": "dist", "type": "CallExpression", "value": "" @@ -42155,14 +42093,14 @@ "comment": "", "meta": { "range": [ - 193097, - 193123 + 192513, + 192539 ], "filename": "astronomy.js", - "lineno": 4361, + "lineno": 4345, "columnno": 12, "code": { - "id": "astnode100018697", + "id": "astnode100018653", "name": "max_dist", "type": "AssignmentExpression", "funcscope": "BruteSearchPlanetApsis", @@ -42181,14 +42119,14 @@ "comment": "", "meta": { "range": [ - 193108, - 193123 + 192524, + 192539 ], "filename": "astronomy.js", - "lineno": 4361, + "lineno": 4345, "columnno": 23, "code": { - "id": "astnode100018699", + "id": "astnode100018655", "name": "min_dist", "type": "Identifier", "funcscope": "BruteSearchPlanetApsis", @@ -42207,14 +42145,14 @@ "comment": "", "meta": { "range": [ - 193201, - 193216 + 192617, + 192632 ], "filename": "astronomy.js", - "lineno": 4365, + "lineno": 4349, "columnno": 16, "code": { - "id": "astnode100018709", + "id": "astnode100018665", "name": "max_dist", "type": "Identifier", "funcscope": "BruteSearchPlanetApsis", @@ -42233,14 +42171,14 @@ "comment": "", "meta": { "range": [ - 193234, - 193246 + 192650, + 192662 ], "filename": "astronomy.js", - "lineno": 4366, + "lineno": 4350, "columnno": 16, "code": { - "id": "astnode100018713", + "id": "astnode100018669", "name": "t_max", "type": "Identifier", "funcscope": "BruteSearchPlanetApsis", @@ -42259,14 +42197,14 @@ "comment": "", "meta": { "range": [ - 193313, - 193328 + 192729, + 192744 ], "filename": "astronomy.js", - "lineno": 4369, + "lineno": 4353, "columnno": 16, "code": { - "id": "astnode100018722", + "id": "astnode100018678", "name": "min_dist", "type": "Identifier", "funcscope": "BruteSearchPlanetApsis", @@ -42285,14 +42223,14 @@ "comment": "", "meta": { "range": [ - 193346, - 193358 + 192762, + 192774 ], "filename": "astronomy.js", - "lineno": 4370, + "lineno": 4354, "columnno": 16, "code": { - "id": "astnode100018726", + "id": "astnode100018682", "name": "t_min", "type": "Identifier", "funcscope": "BruteSearchPlanetApsis", @@ -42311,14 +42249,14 @@ "comment": "", "meta": { "range": [ - 193400, - 193479 + 192816, + 192895 ], "filename": "astronomy.js", - "lineno": 4374, + "lineno": 4358, "columnno": 10, "code": { - "id": "astnode100018730", + "id": "astnode100018686", "name": "perihelion", "type": "CallExpression", "value": "" @@ -42336,14 +42274,14 @@ "comment": "", "meta": { "range": [ - 193491, - 193568 + 192907, + 192984 ], "filename": "astronomy.js", - "lineno": 4375, + "lineno": 4359, "columnno": 10, "code": { - "id": "astnode100018748", + "id": "astnode100018704", "name": "aphelion", "type": "CallExpression", "value": "" @@ -42361,14 +42299,14 @@ "comment": "/**\n * @brief Finds the next perihelion or aphelion of a planet.\n *\n * Finds the date and time of a planet's perihelion (closest approach to the Sun)\n * or aphelion (farthest distance from the Sun) after a given time.\n *\n * Given a date and time to start the search in `startTime`, this function finds the\n * next date and time that the center of the specified planet reaches the closest or farthest point\n * in its orbit with respect to the center of the Sun, whichever comes first\n * after `startTime`.\n *\n * The closest point is called *perihelion* and the farthest point is called *aphelion*.\n * The word *apsis* refers to either event.\n *\n * To iterate through consecutive alternating perihelion and aphelion events,\n * call `SearchPlanetApsis` once, then use the return value to call\n * {@link NextPlanetApsis}. After that, keep feeding the previous return value\n * from `NextPlanetApsis` into another call of `NextPlanetApsis`\n * as many times as desired.\n *\n * @param {Body} body\n * The planet for which to find the next perihelion/aphelion event.\n * Not allowed to be `\"Sun\"` or `\"Moon\"`.\n *\n * @param {AstroTime} startTime\n * The date and time at which to start searching for the next perihelion or aphelion.\n *\n * @returns {Apsis}\n * The next perihelion or aphelion that occurs after `startTime`.\n */", "meta": { "range": [ - 195245, - 197690 + 194661, + 197106 ], "filename": "astronomy.js", - "lineno": 4417, + "lineno": 4401, "columnno": 0, "code": { - "id": "astnode100018818", + "id": "astnode100018774", "name": "SearchPlanetApsis", "type": "FunctionDeclaration", "paramnames": [ @@ -42439,14 +42377,14 @@ "comment": "", "meta": { "range": [ - 195413, - 195681 + 194829, + 195097 ], "filename": "astronomy.js", - "lineno": 4421, + "lineno": 4405, "columnno": 4, "code": { - "id": "astnode100018841", + "id": "astnode100018797", "name": "positive_slope", "type": "FunctionDeclaration", "paramnames": [ @@ -42474,14 +42412,14 @@ "comment": "", "meta": { "range": [ - 195456, - 195466 + 194872, + 194882 ], "filename": "astronomy.js", - "lineno": 4422, + "lineno": 4406, "columnno": 14, "code": { - "id": "astnode100018846", + "id": "astnode100018802", "name": "dt", "type": "Literal", "value": 0.001 @@ -42499,14 +42437,14 @@ "comment": "", "meta": { "range": [ - 195480, - 195503 + 194896, + 194919 ], "filename": "astronomy.js", - "lineno": 4423, + "lineno": 4407, "columnno": 12, "code": { - "id": "astnode100018850", + "id": "astnode100018806", "name": "t1", "type": "CallExpression", "value": "" @@ -42524,14 +42462,14 @@ "comment": "", "meta": { "range": [ - 195517, - 195540 + 194933, + 194956 ], "filename": "astronomy.js", - "lineno": 4424, + "lineno": 4408, "columnno": 12, "code": { - "id": "astnode100018861", + "id": "astnode100018817", "name": "t2", "type": "CallExpression", "value": "" @@ -42549,14 +42487,14 @@ "comment": "", "meta": { "range": [ - 195554, - 195582 + 194970, + 194998 ], "filename": "astronomy.js", - "lineno": 4425, + "lineno": 4409, "columnno": 12, "code": { - "id": "astnode100018872", + "id": "astnode100018828", "name": "r1", "type": "CallExpression", "value": "" @@ -42574,14 +42512,14 @@ "comment": "", "meta": { "range": [ - 195596, - 195624 + 195012, + 195040 ], "filename": "astronomy.js", - "lineno": 4426, + "lineno": 4410, "columnno": 12, "code": { - "id": "astnode100018879", + "id": "astnode100018835", "name": "r2", "type": "CallExpression", "value": "" @@ -42599,14 +42537,14 @@ "comment": "", "meta": { "range": [ - 195638, - 195656 + 195054, + 195072 ], "filename": "astronomy.js", - "lineno": 4427, + "lineno": 4411, "columnno": 12, "code": { - "id": "astnode100018886", + "id": "astnode100018842", "name": "m", "type": "BinaryExpression", "value": "" @@ -42624,14 +42562,14 @@ "comment": "", "meta": { "range": [ - 195686, - 195755 + 195102, + 195171 ], "filename": "astronomy.js", - "lineno": 4430, + "lineno": 4414, "columnno": 4, "code": { - "id": "astnode100018895", + "id": "astnode100018851", "name": "negative_slope", "type": "FunctionDeclaration", "paramnames": [ @@ -42651,14 +42589,14 @@ "comment": "", "meta": { "range": [ - 195766, - 195812 + 195182, + 195228 ], "filename": "astronomy.js", - "lineno": 4433, + "lineno": 4417, "columnno": 10, "code": { - "id": "astnode100018905", + "id": "astnode100018861", "name": "orbit_period_days", "type": "MemberExpression", "value": "Planet[undefined].OrbitalPeriod" @@ -42676,14 +42614,14 @@ "comment": "", "meta": { "range": [ - 195824, - 195859 + 195240, + 195275 ], "filename": "astronomy.js", - "lineno": 4434, + "lineno": 4418, "columnno": 10, "code": { - "id": "astnode100018913", + "id": "astnode100018869", "name": "increment", "type": "BinaryExpression", "value": "" @@ -42701,14 +42639,14 @@ "comment": "", "meta": { "range": [ - 195869, - 195883 + 195285, + 195299 ], "filename": "astronomy.js", - "lineno": 4435, + "lineno": 4419, "columnno": 8, "code": { - "id": "astnode100018919", + "id": "astnode100018875", "name": "t1", "type": "Identifier", "value": "startTime" @@ -42726,14 +42664,14 @@ "comment": "", "meta": { "range": [ - 195893, - 195916 + 195309, + 195332 ], "filename": "astronomy.js", - "lineno": 4436, + "lineno": 4420, "columnno": 8, "code": { - "id": "astnode100018923", + "id": "astnode100018879", "name": "m1", "type": "CallExpression", "value": "" @@ -42751,14 +42689,14 @@ "comment": "", "meta": { "range": [ - 195931, - 195939 + 195347, + 195355 ], "filename": "astronomy.js", - "lineno": 4437, + "lineno": 4421, "columnno": 13, "code": { - "id": "astnode100018930", + "id": "astnode100018886", "name": "iter", "type": "Literal", "value": 0 @@ -42776,14 +42714,14 @@ "comment": "", "meta": { "range": [ - 196009, - 196035 + 195425, + 195451 ], "filename": "astronomy.js", - "lineno": 4438, + "lineno": 4422, "columnno": 14, "code": { - "id": "astnode100018944", + "id": "astnode100018900", "name": "t2", "type": "CallExpression", "value": "" @@ -42801,14 +42739,14 @@ "comment": "", "meta": { "range": [ - 196051, - 196074 + 195467, + 195490 ], "filename": "astronomy.js", - "lineno": 4439, + "lineno": 4423, "columnno": 14, "code": { - "id": "astnode100018952", + "id": "astnode100018908", "name": "m2", "type": "CallExpression", "value": "" @@ -42826,14 +42764,14 @@ "comment": "", "meta": { "range": [ - 196338, - 196348 + 195754, + 195764 ], "filename": "astronomy.js", - "lineno": 4444, + "lineno": 4428, "columnno": 16, "code": { - "id": "astnode100018965", + "id": "astnode100018921", "name": "slope_func" } }, @@ -42849,14 +42787,14 @@ "comment": "", "meta": { "range": [ - 196366, - 196370 + 195782, + 195786 ], "filename": "astronomy.js", - "lineno": 4445, + "lineno": 4429, "columnno": 16, "code": { - "id": "astnode100018968", + "id": "astnode100018924", "name": "kind" } }, @@ -42872,14 +42810,14 @@ "comment": "", "meta": { "range": [ - 196601, - 196628 + 196017, + 196044 ], "filename": "astronomy.js", - "lineno": 4449, + "lineno": 4433, "columnno": 16, "code": { - "id": "astnode100018980", + "id": "astnode100018936", "name": "slope_func", "type": "Identifier", "funcscope": "SearchPlanetApsis", @@ -42898,14 +42836,14 @@ "comment": "", "meta": { "range": [ - 196646, - 196654 + 196062, + 196070 ], "filename": "astronomy.js", - "lineno": 4450, + "lineno": 4434, "columnno": 16, "code": { - "id": "astnode100018984", + "id": "astnode100018940", "name": "kind", "type": "Literal", "funcscope": "SearchPlanetApsis", @@ -42924,14 +42862,14 @@ "comment": "", "meta": { "range": [ - 196916, - 196943 + 196332, + 196359 ], "filename": "astronomy.js", - "lineno": 4455, + "lineno": 4439, "columnno": 16, "code": { - "id": "astnode100018997", + "id": "astnode100018953", "name": "slope_func", "type": "Identifier", "funcscope": "SearchPlanetApsis", @@ -42950,14 +42888,14 @@ "comment": "", "meta": { "range": [ - 196961, - 196969 + 196377, + 196385 ], "filename": "astronomy.js", - "lineno": 4456, + "lineno": 4440, "columnno": 16, "code": { - "id": "astnode100019001", + "id": "astnode100018957", "name": "kind", "type": "Literal", "funcscope": "SearchPlanetApsis", @@ -42976,14 +42914,14 @@ "comment": "", "meta": { "range": [ - 197223, - 197258 + 196639, + 196674 ], "filename": "astronomy.js", - "lineno": 4462, + "lineno": 4446, "columnno": 18, "code": { - "id": "astnode100019008", + "id": "astnode100018964", "name": "search", "type": "CallExpression", "value": "" @@ -43001,14 +42939,14 @@ "comment": "", "meta": { "range": [ - 197387, - 197421 + 196803, + 196837 ], "filename": "astronomy.js", - "lineno": 4465, + "lineno": 4449, "columnno": 18, "code": { - "id": "astnode100019021", + "id": "astnode100018977", "name": "dist", "type": "CallExpression", "value": "" @@ -43026,14 +42964,14 @@ "comment": "", "meta": { "range": [ - 197568, - 197575 + 196984, + 196991 ], "filename": "astronomy.js", - "lineno": 4469, + "lineno": 4453, "columnno": 8, "code": { - "id": "astnode100019034", + "id": "astnode100018990", "name": "t1", "type": "Identifier", "funcscope": "SearchPlanetApsis", @@ -43052,14 +42990,14 @@ "comment": "", "meta": { "range": [ - 197585, - 197592 + 197001, + 197008 ], "filename": "astronomy.js", - "lineno": 4470, + "lineno": 4454, "columnno": 8, "code": { - "id": "astnode100019038", + "id": "astnode100018994", "name": "m1", "type": "Identifier", "funcscope": "SearchPlanetApsis", @@ -43078,14 +43016,14 @@ "comment": "", "meta": { "range": [ - 197691, - 197736 + 197107, + 197152 ], "filename": "astronomy.js", - "lineno": 4474, + "lineno": 4458, "columnno": 0, "code": { - "id": "astnode100019044", + "id": "astnode100019000", "name": "exports.SearchPlanetApsis", "type": "Identifier", "value": "SearchPlanetApsis", @@ -43102,14 +43040,14 @@ "comment": "/**\n * @brief Finds the next planetary perihelion or aphelion event in a series.\n *\n * This function requires an {@link Apsis} value obtained from a call\n * to {@link SearchPlanetApsis} or `NextPlanetApsis`.\n * Given an aphelion event, this function finds the next perihelion event, and vice versa.\n * See {@link SearchPlanetApsis} for more details.\n *\n * @param {Body} body\n * The planet for which to find the next perihelion/aphelion event.\n * Not allowed to be `\"Sun\"` or `\"Moon\"`.\n * Must match the body passed into the call that produced the `apsis` parameter.\n *\n * @param {Apsis} apsis\n * An apsis event obtained from a call to {@link SearchPlanetApsis} or `NextPlanetApsis`.\n *\n * @returns {Apsis}\n * Same as the return value for {@link SearchPlanetApsis}.\n */", "meta": { "range": [ - 198532, - 199123 + 197948, + 198539 ], "filename": "astronomy.js", - "lineno": 4494, + "lineno": 4478, "columnno": 0, "code": { - "id": "astnode100019049", + "id": "astnode100019005", "name": "NextPlanetApsis", "type": "FunctionDeclaration", "paramnames": [ @@ -43170,14 +43108,14 @@ "comment": "", "meta": { "range": [ - 198747, - 198787 + 198163, + 198203 ], "filename": "astronomy.js", - "lineno": 4499, + "lineno": 4483, "columnno": 10, "code": { - "id": "astnode100019075", + "id": "astnode100019031", "name": "skip", "type": "BinaryExpression", "value": "" @@ -43195,14 +43133,14 @@ "comment": "", "meta": { "range": [ - 198799, - 198830 + 198215, + 198246 ], "filename": "astronomy.js", - "lineno": 4500, + "lineno": 4484, "columnno": 10, "code": { - "id": "astnode100019085", + "id": "astnode100019041", "name": "time", "type": "CallExpression", "value": "" @@ -43220,14 +43158,14 @@ "comment": "", "meta": { "range": [ - 198842, - 198878 + 198258, + 198294 ], "filename": "astronomy.js", - "lineno": 4501, + "lineno": 4485, "columnno": 10, "code": { - "id": "astnode100019095", + "id": "astnode100019051", "name": "next", "type": "CallExpression", "value": "" @@ -43245,14 +43183,14 @@ "comment": "", "meta": { "range": [ - 199124, - 199165 + 198540, + 198581 ], "filename": "astronomy.js", - "lineno": 4508, + "lineno": 4492, "columnno": 0, "code": { - "id": "astnode100019126", + "id": "astnode100019082", "name": "exports.NextPlanetApsis", "type": "Identifier", "value": "NextPlanetApsis", @@ -43269,14 +43207,14 @@ "comment": "/**\n * @brief Calculates the inverse of a rotation matrix.\n *\n * Given a rotation matrix that performs some coordinate transform,\n * this function returns the matrix that reverses that trasnform.\n *\n * @param {RotationMatrix} rotation\n * The rotation matrix to be inverted.\n *\n * @returns {RotationMatrix}\n * The inverse rotation matrix.\n */", "meta": { "range": [ - 199519, - 199806 + 198935, + 199222 ], "filename": "astronomy.js", - "lineno": 4521, + "lineno": 4505, "columnno": 0, "code": { - "id": "astnode100019131", + "id": "astnode100019087", "name": "InverseRotation", "type": "FunctionDeclaration", "paramnames": [ @@ -43322,14 +43260,14 @@ "comment": "", "meta": { "range": [ - 199807, - 199848 + 199223, + 199264 ], "filename": "astronomy.js", - "lineno": 4528, + "lineno": 4512, "columnno": 0, "code": { - "id": "astnode100019206", + "id": "astnode100019162", "name": "exports.InverseRotation", "type": "Identifier", "value": "InverseRotation", @@ -43346,14 +43284,14 @@ "comment": "/**\n * @brief Creates a rotation based on applying one rotation followed by another.\n *\n * Given two rotation matrices, returns a combined rotation matrix that is\n * equivalent to rotating based on the first matrix, followed by the second.\n *\n * @param {RotationMatrix} a\n * The first rotation to apply.\n *\n * @param {RotationMatrix} b\n * The second rotation to apply.\n *\n * @returns {RotationMatrix}\n * The combined rotation matrix.\n */", "meta": { "range": [ - 200303, - 201606 + 199719, + 201022 ], "filename": "astronomy.js", - "lineno": 4544, + "lineno": 4528, "columnno": 0, "code": { - "id": "astnode100019211", + "id": "astnode100019167", "name": "CombineRotation", "type": "FunctionDeclaration", "paramnames": [ @@ -43409,14 +43347,14 @@ "comment": "", "meta": { "range": [ - 201607, - 201648 + 201023, + 201064 ], "filename": "astronomy.js", - "lineno": 4570, + "lineno": 4554, "columnno": 0, "code": { - "id": "astnode100019647", + "id": "astnode100019603", "name": "exports.CombineRotation", "type": "Identifier", "value": "CombineRotation", @@ -43433,14 +43371,14 @@ "comment": "/**\n * @brief Creates an identity rotation matrix.\n *\n * Returns a rotation matrix that has no effect on orientation.\n * This matrix can be the starting point for other operations,\n * such as using a series of calls to #Astronomy_Pivot to\n * create a custom rotation matrix.\n *\n * @returns {RotationMatrix}\n * The identity matrix.\n */", "meta": { "range": [ - 201990, - 202115 + 201406, + 201531 ], "filename": "astronomy.js", - "lineno": 4582, + "lineno": 4566, "columnno": 0, "code": { - "id": "astnode100019652", + "id": "astnode100019608", "name": "IdentityMatrix", "type": "FunctionDeclaration", "paramnames": [] @@ -43474,14 +43412,14 @@ "comment": "", "meta": { "range": [ - 202116, - 202155 + 201532, + 201571 ], "filename": "astronomy.js", - "lineno": 4589, + "lineno": 4573, "columnno": 0, "code": { - "id": "astnode100019672", + "id": "astnode100019628", "name": "exports.IdentityMatrix", "type": "Identifier", "value": "IdentityMatrix", @@ -43498,14 +43436,14 @@ "comment": "/**\n* @brief Re-orients a rotation matrix by pivoting it by an angle around one of its axes.\n*\n* Given a rotation matrix, a selected coordinate axis, and an angle in degrees,\n* this function pivots the rotation matrix by that angle around that coordinate axis.\n*\n* For example, if you have rotation matrix that converts ecliptic coordinates (ECL)\n* to horizontal coordinates (HOR), but you really want to convert ECL to the orientation\n* of a telescope camera pointed at a given body, you can use `Astronomy_Pivot` twice:\n* (1) pivot around the zenith axis by the body's azimuth, then (2) pivot around the\n* western axis by the body's altitude angle. The resulting rotation matrix will then\n* reorient ECL coordinates to the orientation of your telescope camera.\n*\n* @param {RotationMatrix} rotation\n* The input rotation matrix.\n*\n* @param {number} axis\n* An integer that selects which coordinate axis to rotate around:\n* 0 = x, 1 = y, 2 = z. Any other value will cause an exception.\n*\n* @param {number} angle\n* An angle in degrees indicating the amount of rotation around the specified axis.\n* Positive angles indicate rotation counterclockwise as seen from the positive\n* direction along that axis, looking towards the origin point of the orientation system.\n* Any finite number of degrees is allowed, but best precision will result from\n* keeping `angle` in the range [-360, +360].\n*\n* @returns {RotationMatrix}\n* A pivoted matrix object.\n*/", "meta": { "range": [ - 203647, - 204852 + 203063, + 204268 ], "filename": "astronomy.js", - "lineno": 4620, + "lineno": 4604, "columnno": 0, "code": { - "id": "astnode100019677", + "id": "astnode100019633", "name": "Pivot", "type": "FunctionDeclaration", "paramnames": [ @@ -43581,14 +43519,14 @@ "comment": "", "meta": { "range": [ - 203848, - 203887 + 203264, + 203303 ], "filename": "astronomy.js", - "lineno": 4624, + "lineno": 4608, "columnno": 10, "code": { - "id": "astnode100019701", + "id": "astnode100019657", "name": "radians", "type": "BinaryExpression", "value": "" @@ -43606,14 +43544,14 @@ "comment": "", "meta": { "range": [ - 203899, - 203920 + 203315, + 203336 ], "filename": "astronomy.js", - "lineno": 4625, + "lineno": 4609, "columnno": 10, "code": { - "id": "astnode100019709", + "id": "astnode100019665", "name": "c", "type": "CallExpression", "value": "" @@ -43631,14 +43569,14 @@ "comment": "", "meta": { "range": [ - 203932, - 203953 + 203348, + 203369 ], "filename": "astronomy.js", - "lineno": 4626, + "lineno": 4610, "columnno": 10, "code": { - "id": "astnode100019717", + "id": "astnode100019673", "name": "s", "type": "CallExpression", "value": "" @@ -43656,14 +43594,14 @@ "comment": "", "meta": { "range": [ - 204198, - 204216 + 203614, + 203632 ], "filename": "astronomy.js", - "lineno": 4633, + "lineno": 4617, "columnno": 10, "code": { - "id": "astnode100019725", + "id": "astnode100019681", "name": "i", "type": "BinaryExpression", "value": "" @@ -43681,14 +43619,14 @@ "comment": "", "meta": { "range": [ - 204228, - 204246 + 203644, + 203662 ], "filename": "astronomy.js", - "lineno": 4634, + "lineno": 4618, "columnno": 10, "code": { - "id": "astnode100019733", + "id": "astnode100019689", "name": "j", "type": "BinaryExpression", "value": "" @@ -43706,14 +43644,14 @@ "comment": "", "meta": { "range": [ - 204258, - 204266 + 203674, + 203682 ], "filename": "astronomy.js", - "lineno": 4635, + "lineno": 4619, "columnno": 10, "code": { - "id": "astnode100019741", + "id": "astnode100019697", "name": "k", "type": "Identifier", "value": "axis" @@ -43731,14 +43669,14 @@ "comment": "", "meta": { "range": [ - 204276, - 204315 + 203692, + 203731 ], "filename": "astronomy.js", - "lineno": 4636, + "lineno": 4620, "columnno": 8, "code": { - "id": "astnode100019745", + "id": "astnode100019701", "name": "rot", "type": "ArrayExpression", "value": "[\"[0,0,0]\",\"[0,0,0]\",\"[0,0,0]\"]" @@ -43756,14 +43694,14 @@ "comment": "", "meta": { "range": [ - 204321, - 204380 + 203737, + 203796 ], "filename": "astronomy.js", - "lineno": 4637, + "lineno": 4621, "columnno": 4, "code": { - "id": "astnode100019761", + "id": "astnode100019717", "name": "rot[undefined][undefined]", "type": "BinaryExpression", "funcscope": "Pivot", @@ -43782,14 +43720,14 @@ "comment": "", "meta": { "range": [ - 204386, - 204445 + 203802, + 203861 ], "filename": "astronomy.js", - "lineno": 4638, + "lineno": 4622, "columnno": 4, "code": { - "id": "astnode100019787", + "id": "astnode100019743", "name": "rot[undefined][undefined]", "type": "BinaryExpression", "funcscope": "Pivot", @@ -43808,14 +43746,14 @@ "comment": "", "meta": { "range": [ - 204451, - 204481 + 203867, + 203897 ], "filename": "astronomy.js", - "lineno": 4639, + "lineno": 4623, "columnno": 4, "code": { - "id": "astnode100019813", + "id": "astnode100019769", "name": "rot[undefined][undefined]", "type": "MemberExpression", "funcscope": "Pivot", @@ -43834,14 +43772,14 @@ "comment": "", "meta": { "range": [ - 204487, - 204546 + 203903, + 203962 ], "filename": "astronomy.js", - "lineno": 4640, + "lineno": 4624, "columnno": 4, "code": { - "id": "astnode100019827", + "id": "astnode100019783", "name": "rot[undefined][undefined]", "type": "BinaryExpression", "funcscope": "Pivot", @@ -43860,14 +43798,14 @@ "comment": "", "meta": { "range": [ - 204552, - 204611 + 203968, + 204027 ], "filename": "astronomy.js", - "lineno": 4641, + "lineno": 4625, "columnno": 4, "code": { - "id": "astnode100019853", + "id": "astnode100019809", "name": "rot[undefined][undefined]", "type": "BinaryExpression", "funcscope": "Pivot", @@ -43886,14 +43824,14 @@ "comment": "", "meta": { "range": [ - 204617, - 204647 + 204033, + 204063 ], "filename": "astronomy.js", - "lineno": 4642, + "lineno": 4626, "columnno": 4, "code": { - "id": "astnode100019879", + "id": "astnode100019835", "name": "rot[undefined][undefined]", "type": "MemberExpression", "funcscope": "Pivot", @@ -43912,14 +43850,14 @@ "comment": "", "meta": { "range": [ - 204653, - 204712 + 204069, + 204128 ], "filename": "astronomy.js", - "lineno": 4643, + "lineno": 4627, "columnno": 4, "code": { - "id": "astnode100019893", + "id": "astnode100019849", "name": "rot[undefined][undefined]", "type": "BinaryExpression", "funcscope": "Pivot", @@ -43938,14 +43876,14 @@ "comment": "", "meta": { "range": [ - 204718, - 204777 + 204134, + 204193 ], "filename": "astronomy.js", - "lineno": 4644, + "lineno": 4628, "columnno": 4, "code": { - "id": "astnode100019919", + "id": "astnode100019875", "name": "rot[undefined][undefined]", "type": "BinaryExpression", "funcscope": "Pivot", @@ -43964,14 +43902,14 @@ "comment": "", "meta": { "range": [ - 204783, - 204813 + 204199, + 204229 ], "filename": "astronomy.js", - "lineno": 4645, + "lineno": 4629, "columnno": 4, "code": { - "id": "astnode100019945", + "id": "astnode100019901", "name": "rot[undefined][undefined]", "type": "MemberExpression", "funcscope": "Pivot", @@ -43990,14 +43928,14 @@ "comment": "", "meta": { "range": [ - 204853, - 204874 + 204269, + 204290 ], "filename": "astronomy.js", - "lineno": 4648, + "lineno": 4632, "columnno": 0, "code": { - "id": "astnode100019963", + "id": "astnode100019919", "name": "exports.Pivot", "type": "Identifier", "value": "Pivot", @@ -44014,14 +43952,14 @@ "comment": "/**\n * @brief Converts spherical coordinates to Cartesian coordinates.\n *\n * Given spherical coordinates and a time at which they are valid,\n * returns a vector of Cartesian coordinates. The returned value\n * includes the time, as required by `AstroTime`.\n *\n * @param {Spherical} sphere\n * Spherical coordinates to be converted.\n *\n * @param {AstroTime} time\n * The time that should be included in the returned vector.\n *\n * @returns {Vector}\n * The vector form of the supplied spherical coordinates.\n */", "meta": { "range": [ - 205397, - 205691 + 204813, + 205107 ], "filename": "astronomy.js", - "lineno": 4665, + "lineno": 4649, "columnno": 0, "code": { - "id": "astnode100019968", + "id": "astnode100019924", "name": "VectorFromSphere", "type": "FunctionDeclaration", "paramnames": [ @@ -44082,14 +44020,14 @@ "comment": "", "meta": { "range": [ - 205449, - 205478 + 204865, + 204894 ], "filename": "astronomy.js", - "lineno": 4666, + "lineno": 4650, "columnno": 10, "code": { - "id": "astnode100019974", + "id": "astnode100019930", "name": "radlat", "type": "BinaryExpression", "value": "" @@ -44107,14 +44045,14 @@ "comment": "", "meta": { "range": [ - 205490, - 205519 + 204906, + 204935 ], "filename": "astronomy.js", - "lineno": 4667, + "lineno": 4651, "columnno": 10, "code": { - "id": "astnode100019982", + "id": "astnode100019938", "name": "radlon", "type": "BinaryExpression", "value": "" @@ -44132,14 +44070,14 @@ "comment": "", "meta": { "range": [ - 205531, - 205571 + 204947, + 204987 ], "filename": "astronomy.js", - "lineno": 4668, + "lineno": 4652, "columnno": 10, "code": { - "id": "astnode100019990", + "id": "astnode100019946", "name": "rcoslat", "type": "BinaryExpression", "value": "" @@ -44157,14 +44095,14 @@ "comment": "", "meta": { "range": [ - 205692, - 205735 + 205108, + 205151 ], "filename": "astronomy.js", - "lineno": 4671, + "lineno": 4655, "columnno": 0, "code": { - "id": "astnode100020029", + "id": "astnode100019985", "name": "exports.VectorFromSphere", "type": "Identifier", "value": "VectorFromSphere", @@ -44181,14 +44119,14 @@ "comment": "/**\n * @brief Given an equatorial vector, calculates equatorial angular coordinates.\n *\n * @param {Vector} vec\n * A vector in an equatorial coordinate system.\n *\n * @returns {EquatorialCoordinates}\n * Angular coordinates expressed in the same equatorial system as `vec`.\n */", "meta": { "range": [ - 206022, - 206184 + 205438, + 205600 ], "filename": "astronomy.js", - "lineno": 4681, + "lineno": 4665, "columnno": 0, "code": { - "id": "astnode100020034", + "id": "astnode100019990", "name": "EquatorFromVector", "type": "FunctionDeclaration", "paramnames": [ @@ -44237,14 +44175,14 @@ "comment": "", "meta": { "range": [ - 206066, - 206096 + 205482, + 205512 ], "filename": "astronomy.js", - "lineno": 4682, + "lineno": 4666, "columnno": 10, "code": { - "id": "astnode100020039", + "id": "astnode100019995", "name": "sphere", "type": "CallExpression", "value": "" @@ -44262,14 +44200,14 @@ "comment": "", "meta": { "range": [ - 206185, - 206230 + 205601, + 205646 ], "filename": "astronomy.js", - "lineno": 4685, + "lineno": 4669, "columnno": 0, "code": { - "id": "astnode100020060", + "id": "astnode100020016", "name": "exports.EquatorFromVector", "type": "Identifier", "value": "EquatorFromVector", @@ -44286,14 +44224,14 @@ "comment": "/**\n * @brief Converts Cartesian coordinates to spherical coordinates.\n *\n * Given a Cartesian vector, returns latitude, longitude, and distance.\n *\n * @param {Vector} vector\n * Cartesian vector to be converted to spherical coordinates.\n *\n * @returns {Spherical}\n * Spherical coordinates that are equivalent to the given vector.\n */", "meta": { "range": [ - 206576, - 207186 + 205992, + 206602 ], "filename": "astronomy.js", - "lineno": 4697, + "lineno": 4681, "columnno": 0, "code": { - "id": "astnode100020065", + "id": "astnode100020021", "name": "SphereFromVector", "type": "FunctionDeclaration", "paramnames": [ @@ -44345,14 +44283,14 @@ "comment": "", "meta": { "range": [ - 206622, - 206672 + 206038, + 206088 ], "filename": "astronomy.js", - "lineno": 4698, + "lineno": 4682, "columnno": 10, "code": { - "id": "astnode100020070", + "id": "astnode100020026", "name": "xyproj", "type": "BinaryExpression", "value": "" @@ -44370,14 +44308,14 @@ "comment": "", "meta": { "range": [ - 206684, - 206730 + 206100, + 206146 ], "filename": "astronomy.js", - "lineno": 4699, + "lineno": 4683, "columnno": 10, "code": { - "id": "astnode100020088", + "id": "astnode100020044", "name": "dist", "type": "CallExpression", "value": "" @@ -44395,14 +44333,14 @@ "comment": "", "meta": { "range": [ - 206740, - 206743 + 206156, + 206159 ], "filename": "astronomy.js", - "lineno": 4700, + "lineno": 4684, "columnno": 8, "code": { - "id": "astnode100020104", + "id": "astnode100020060", "name": "lat" } }, @@ -44418,14 +44356,14 @@ "comment": "", "meta": { "range": [ - 206745, - 206748 + 206161, + 206164 ], "filename": "astronomy.js", - "lineno": 4700, + "lineno": 4684, "columnno": 13, "code": { - "id": "astnode100020106", + "id": "astnode100020062", "name": "lon" } }, @@ -44441,14 +44379,14 @@ "comment": "", "meta": { "range": [ - 206879, - 206888 + 206295, + 206304 ], "filename": "astronomy.js", - "lineno": 4705, + "lineno": 4689, "columnno": 8, "code": { - "id": "astnode100020123", + "id": "astnode100020079", "name": "lon", "type": "Literal", "funcscope": "SphereFromVector", @@ -44467,14 +44405,14 @@ "comment": "", "meta": { "range": [ - 206898, - 206936 + 206314, + 206352 ], "filename": "astronomy.js", - "lineno": 4706, + "lineno": 4690, "columnno": 8, "code": { - "id": "astnode100020127", + "id": "astnode100020083", "name": "lat", "type": "ConditionalExpression", "funcscope": "SphereFromVector", @@ -44493,14 +44431,14 @@ "comment": "", "meta": { "range": [ - 206963, - 207009 + 206379, + 206425 ], "filename": "astronomy.js", - "lineno": 4709, + "lineno": 4693, "columnno": 8, "code": { - "id": "astnode100020141", + "id": "astnode100020097", "name": "lon", "type": "BinaryExpression", "funcscope": "SphereFromVector", @@ -44519,14 +44457,14 @@ "comment": "", "meta": { "range": [ - 207048, - 207060 + 206464, + 206476 ], "filename": "astronomy.js", - "lineno": 4711, + "lineno": 4695, "columnno": 12, "code": { - "id": "astnode100020161", + "id": "astnode100020117", "name": "lon", "type": "Literal", "funcscope": "SphereFromVector", @@ -44545,14 +44483,14 @@ "comment": "", "meta": { "range": [ - 207080, - 207135 + 206496, + 206551 ], "filename": "astronomy.js", - "lineno": 4713, + "lineno": 4697, "columnno": 8, "code": { - "id": "astnode100020165", + "id": "astnode100020121", "name": "lat", "type": "BinaryExpression", "funcscope": "SphereFromVector", @@ -44571,14 +44509,14 @@ "comment": "", "meta": { "range": [ - 207187, - 207230 + 206603, + 206646 ], "filename": "astronomy.js", - "lineno": 4717, + "lineno": 4701, "columnno": 0, "code": { - "id": "astnode100020188", + "id": "astnode100020144", "name": "exports.SphereFromVector", "type": "Identifier", "value": "SphereFromVector", @@ -44595,14 +44533,14 @@ "comment": "", "meta": { "range": [ - 207232, - 207393 + 206648, + 206809 ], "filename": "astronomy.js", - "lineno": 4718, + "lineno": 4702, "columnno": 0, "code": { - "id": "astnode100020193", + "id": "astnode100020149", "name": "ToggleAzimuthDirection", "type": "FunctionDeclaration", "paramnames": [ @@ -44624,14 +44562,14 @@ "comment": "", "meta": { "range": [ - 207274, - 207289 + 206690, + 206705 ], "filename": "astronomy.js", - "lineno": 4719, + "lineno": 4703, "columnno": 4, "code": { - "id": "astnode100020198", + "id": "astnode100020154", "name": "az", "type": "BinaryExpression", "funcscope": "ToggleAzimuthDirection", @@ -44650,14 +44588,14 @@ "comment": "", "meta": { "range": [ - 207320, - 207331 + 206736, + 206747 ], "filename": "astronomy.js", - "lineno": 4721, + "lineno": 4705, "columnno": 8, "code": { - "id": "astnode100020208", + "id": "astnode100020164", "name": "az", "type": "Literal", "funcscope": "ToggleAzimuthDirection", @@ -44676,14 +44614,14 @@ "comment": "", "meta": { "range": [ - 207364, - 207375 + 206780, + 206791 ], "filename": "astronomy.js", - "lineno": 4723, + "lineno": 4707, "columnno": 8, "code": { - "id": "astnode100020216", + "id": "astnode100020172", "name": "az", "type": "Literal", "funcscope": "ToggleAzimuthDirection", @@ -44702,14 +44640,14 @@ "comment": "/**\n * @brief Converts Cartesian coordinates to horizontal coordinates.\n *\n * Given a horizontal Cartesian vector, returns horizontal azimuth and altitude.\n *\n * *IMPORTANT:* This function differs from {@link SphereFromVector} in two ways:\n * - `SphereFromVector` returns a `lon` value that represents azimuth defined counterclockwise\n * from north (e.g., west = +90), but this function represents a clockwise rotation\n * (e.g., east = +90). The difference is because `SphereFromVector` is intended\n * to preserve the vector \"right-hand rule\", while this function defines azimuth in a more\n * traditional way as used in navigation and cartography.\n * - This function optionally corrects for atmospheric refraction, while `SphereFromVector` does not.\n *\n * The returned object contains the azimuth in `lon`.\n * It is measured in degrees clockwise from north: east = +90 degrees, west = +270 degrees.\n *\n * The altitude is stored in `lat`.\n *\n * The distance to the observed object is stored in `dist`,\n * and is expressed in astronomical units (AU).\n *\n * @param {Vector} vector\n * Cartesian vector to be converted to horizontal coordinates.\n *\n * @param {string} refraction\n * `\"normal\"`: correct altitude for atmospheric refraction (recommended).\n * `\"jplhor\"`: for JPL Horizons compatibility testing only; not recommended for normal use.\n * `null`: no atmospheric refraction correction is performed.\n *\n * @returns {Spherical}\n */", "meta": { "range": [ - 208855, - 209076 + 208271, + 208492 ], "filename": "astronomy.js", - "lineno": 4757, + "lineno": 4741, "columnno": 0, "code": { - "id": "astnode100020221", + "id": "astnode100020177", "name": "HorizonFromVector", "type": "FunctionDeclaration", "paramnames": [ @@ -44769,14 +44707,14 @@ "comment": "", "meta": { "range": [ - 208914, - 208947 + 208330, + 208363 ], "filename": "astronomy.js", - "lineno": 4758, + "lineno": 4742, "columnno": 10, "code": { - "id": "astnode100020227", + "id": "astnode100020183", "name": "sphere", "type": "CallExpression", "value": "" @@ -44794,14 +44732,14 @@ "comment": "", "meta": { "range": [ - 208953, - 209000 + 208369, + 208416 ], "filename": "astronomy.js", - "lineno": 4759, + "lineno": 4743, "columnno": 4, "code": { - "id": "astnode100020233", + "id": "astnode100020189", "name": "sphere.lon", "type": "CallExpression", "funcscope": "HorizonFromVector", @@ -44820,14 +44758,14 @@ "comment": "", "meta": { "range": [ - 209006, - 209054 + 208422, + 208470 ], "filename": "astronomy.js", - "lineno": 4760, + "lineno": 4744, "columnno": 4, "code": { - "id": "astnode100020243", + "id": "astnode100020199", "name": "sphere.lat", "type": "CallExpression", "funcscope": "HorizonFromVector", @@ -44846,14 +44784,14 @@ "comment": "", "meta": { "range": [ - 209077, - 209122 + 208493, + 208538 ], "filename": "astronomy.js", - "lineno": 4763, + "lineno": 4747, "columnno": 0, "code": { - "id": "astnode100020256", + "id": "astnode100020212", "name": "exports.HorizonFromVector", "type": "Identifier", "value": "HorizonFromVector", @@ -44870,14 +44808,14 @@ "comment": "/**\n * @brief Given apparent angular horizontal coordinates in `sphere`, calculate horizontal vector.\n *\n * @param {Spherical} sphere\n * A structure that contains apparent horizontal coordinates:\n * `lat` holds the refracted azimuth angle,\n * `lon` holds the azimuth in degrees clockwise from north,\n * and `dist` holds the distance from the observer to the object in AU.\n *\n * @param {AstroTime} time\n * The date and time of the observation. This is needed because the returned\n * vector object requires a valid time value when passed to certain other functions.\n *\n * @param {string} refraction\n * `\"normal\"`: correct altitude for atmospheric refraction (recommended).\n * `\"jplhor\"`: for JPL Horizons compatibility testing only; not recommended for normal use.\n * `null`: no atmospheric refraction correction is performed.\n *\n * @returns {Vector}\n * A vector in the horizontal system: `x` = north, `y` = west, and `z` = zenith (up).\n */", "meta": { "range": [ - 210113, - 210521 + 209529, + 209937 ], "filename": "astronomy.js", - "lineno": 4785, + "lineno": 4769, "columnno": 0, "code": { - "id": "astnode100020261", + "id": "astnode100020217", "name": "VectorFromHorizon", "type": "FunctionDeclaration", "paramnames": [ @@ -44948,14 +44886,14 @@ "comment": "", "meta": { "range": [ - 210262, - 210302 + 209678, + 209718 ], "filename": "astronomy.js", - "lineno": 4787, + "lineno": 4771, "columnno": 10, "code": { - "id": "astnode100020268", + "id": "astnode100020224", "name": "lon", "type": "CallExpression", "value": "" @@ -44973,14 +44911,14 @@ "comment": "", "meta": { "range": [ - 210356, - 210416 + 209772, + 209832 ], "filename": "astronomy.js", - "lineno": 4789, + "lineno": 4773, "columnno": 10, "code": { - "id": "astnode100020276", + "id": "astnode100020232", "name": "lat", "type": "BinaryExpression", "value": "" @@ -44998,14 +44936,14 @@ "comment": "", "meta": { "range": [ - 210428, - 210474 + 209844, + 209890 ], "filename": "astronomy.js", - "lineno": 4790, + "lineno": 4774, "columnno": 10, "code": { - "id": "astnode100020289", + "id": "astnode100020245", "name": "xsphere", "type": "NewExpression", "value": "" @@ -45023,14 +44961,14 @@ "comment": "", "meta": { "range": [ - 210522, - 210567 + 209938, + 209983 ], "filename": "astronomy.js", - "lineno": 4793, + "lineno": 4777, "columnno": 0, "code": { - "id": "astnode100020304", + "id": "astnode100020260", "name": "exports.VectorFromHorizon", "type": "Identifier", "value": "VectorFromHorizon", @@ -45047,14 +44985,14 @@ "comment": "/**\n * @brief Calculates the amount of \"lift\" to an altitude angle caused by atmospheric refraction.\n *\n * Given an altitude angle and a refraction option, calculates\n * the amount of \"lift\" caused by atmospheric refraction.\n * This is the number of degrees higher in the sky an object appears\n * due to the lensing of the Earth's atmosphere.\n *\n * @param {string} refraction\n * `\"normal\"`: correct altitude for atmospheric refraction (recommended).\n * `\"jplhor\"`: for JPL Horizons compatibility testing only; not recommended for normal use.\n * `null`: no atmospheric refraction correction is performed.\n *\n * @param {number} altitude\n * An altitude angle in a horizontal coordinate system. Must be a value between -90 and +90.\n *\n * @returns {number}\n * The angular adjustment in degrees to be added to the altitude angle to correct for atmospheric lensing.\n */", "meta": { "range": [ - 211457, - 213044 + 210873, + 212460 ], "filename": "astronomy.js", - "lineno": 4813, + "lineno": 4797, "columnno": 0, "code": { - "id": "astnode100020309", + "id": "astnode100020265", "name": "Refraction", "type": "FunctionDeclaration", "paramnames": [ @@ -45114,14 +45052,14 @@ "comment": "", "meta": { "range": [ - 211509, - 211513 + 210925, + 210929 ], "filename": "astronomy.js", - "lineno": 4814, + "lineno": 4798, "columnno": 8, "code": { - "id": "astnode100020315", + "id": "astnode100020271", "name": "refr" } }, @@ -45137,14 +45075,14 @@ "comment": "", "meta": { "range": [ - 212342, - 212355 + 211758, + 211771 ], "filename": "astronomy.js", - "lineno": 4827, + "lineno": 4811, "columnno": 12, "code": { - "id": "astnode100020343", + "id": "astnode100020299", "name": "hd", "type": "Identifier", "value": "altitude" @@ -45162,14 +45100,14 @@ "comment": "", "meta": { "range": [ - 212392, - 212401 + 211808, + 211817 ], "filename": "astronomy.js", - "lineno": 4829, + "lineno": 4813, "columnno": 12, "code": { - "id": "astnode100020352", + "id": "astnode100020308", "name": "hd", "type": "UnaryExpression", "funcscope": "Refraction", @@ -45188,14 +45126,14 @@ "comment": "", "meta": { "range": [ - 212411, - 212479 + 211827, + 211895 ], "filename": "astronomy.js", - "lineno": 4830, + "lineno": 4814, "columnno": 8, "code": { - "id": "astnode100020357", + "id": "astnode100020313", "name": "refr", "type": "BinaryExpression", "funcscope": "Refraction", @@ -45214,14 +45152,14 @@ "comment": "", "meta": { "range": [ - 212873, - 212905 + 212289, + 212321 ], "filename": "astronomy.js", - "lineno": 4836, + "lineno": 4820, "columnno": 12, "code": { - "id": "astnode100020387", + "id": "astnode100020343", "name": "refr", "type": "BinaryExpression", "funcscope": "Refraction", @@ -45240,14 +45178,14 @@ "comment": "", "meta": { "range": [ - 213008, - 213018 + 212424, + 212434 ], "filename": "astronomy.js", - "lineno": 4841, + "lineno": 4825, "columnno": 8, "code": { - "id": "astnode100020396", + "id": "astnode100020352", "name": "refr", "type": "Literal", "funcscope": "Refraction", @@ -45266,14 +45204,14 @@ "comment": "", "meta": { "range": [ - 213045, - 213076 + 212461, + 212492 ], "filename": "astronomy.js", - "lineno": 4845, + "lineno": 4829, "columnno": 0, "code": { - "id": "astnode100020402", + "id": "astnode100020358", "name": "exports.Refraction", "type": "Identifier", "value": "Refraction", @@ -45290,14 +45228,14 @@ "comment": "/**\n * @brief Calculates the inverse of an atmospheric refraction angle.\n *\n * Given an observed altitude angle that includes atmospheric refraction,\n * calculate the negative angular correction to obtain the unrefracted\n * altitude. This is useful for cases where observed horizontal\n * coordinates are to be converted to another orientation system,\n * but refraction first must be removed from the observed position.\n *\n * @param {string} refraction\n * `\"normal\"`: correct altitude for atmospheric refraction (recommended).\n * `\"jplhor\"`: for JPL Horizons compatibility testing only; not recommended for normal use.\n * `null`: no atmospheric refraction correction is performed.\n *\n * @param {number} bent_altitude\n * The apparent altitude that includes atmospheric refraction.\n *\n * @returns {number}\n * The angular adjustment in degrees to be added to the\n * altitude angle to correct for atmospheric lensing.\n * This will be less than or equal to zero.\n */", "meta": { "range": [ - 214074, - 214675 + 213490, + 214091 ], "filename": "astronomy.js", - "lineno": 4868, + "lineno": 4852, "columnno": 0, "code": { - "id": "astnode100020407", + "id": "astnode100020363", "name": "InverseRefraction", "type": "FunctionDeclaration", "paramnames": [ @@ -45357,14 +45295,14 @@ "comment": "", "meta": { "range": [ - 214360, - 214424 + 213776, + 213840 ], "filename": "astronomy.js", - "lineno": 4873, + "lineno": 4857, "columnno": 8, "code": { - "id": "astnode100020426", + "id": "astnode100020382", "name": "altitude", "type": "BinaryExpression", "value": "" @@ -45382,14 +45320,14 @@ "comment": "", "meta": { "range": [ - 214489, - 214557 + 213905, + 213973 ], "filename": "astronomy.js", - "lineno": 4876, + "lineno": 4860, "columnno": 12, "code": { - "id": "astnode100020437", + "id": "astnode100020393", "name": "diff", "type": "BinaryExpression", "value": "" @@ -45407,14 +45345,14 @@ "comment": "", "meta": { "range": [ - 214650, - 214666 + 214066, + 214082 ], "filename": "astronomy.js", - "lineno": 4879, + "lineno": 4863, "columnno": 8, "code": { - "id": "astnode100020460", + "id": "astnode100020416", "name": "altitude", "type": "Identifier", "funcscope": "InverseRefraction", @@ -45433,14 +45371,14 @@ "comment": "", "meta": { "range": [ - 214676, - 214721 + 214092, + 214137 ], "filename": "astronomy.js", - "lineno": 4882, + "lineno": 4866, "columnno": 0, "code": { - "id": "astnode100020464", + "id": "astnode100020420", "name": "exports.InverseRefraction", "type": "Identifier", "value": "InverseRefraction", @@ -45457,14 +45395,14 @@ "comment": "/**\n * @brief Applies a rotation to a vector, yielding a rotated vector.\n *\n * This function transforms a vector in one orientation to a vector\n * in another orientation.\n *\n * @param {RotationMatrix} rotation\n * A rotation matrix that specifies how the orientation of the vector is to be changed.\n *\n * @param {Vector} vector\n * The vector whose orientation is to be changed.\n *\n * @returns {Vector}\n * A vector in the orientation specified by `rotation`.\n */", "meta": { "range": [ - 215199, - 215560 + 214615, + 214976 ], "filename": "astronomy.js", - "lineno": 4898, + "lineno": 4882, "columnno": 0, "code": { - "id": "astnode100020469", + "id": "astnode100020425", "name": "RotateVector", "type": "FunctionDeclaration", "paramnames": [ @@ -45520,14 +45458,14 @@ "comment": "", "meta": { "range": [ - 215561, - 215596 + 214977, + 215012 ], "filename": "astronomy.js", - "lineno": 4901, + "lineno": 4885, "columnno": 0, "code": { - "id": "astnode100020586", + "id": "astnode100020542", "name": "exports.RotateVector", "type": "Identifier", "value": "RotateVector", @@ -45544,14 +45482,14 @@ "comment": "/**\n * @brief Calculates a rotation matrix from equatorial J2000 (EQJ) to ecliptic J2000 (ECL).\n *\n * This is one of the family of functions that returns a rotation matrix\n * for converting from one orientation to another.\n * Source: EQJ = equatorial system, using equator at J2000 epoch.\n * Target: ECL = ecliptic system, using equator at J2000 epoch.\n *\n * @returns {RotationMatrix}\n * A rotation matrix that converts EQJ to ECL.\n */", "meta": { "range": [ - 216039, - 216349 + 215455, + 215765 ], "filename": "astronomy.js", - "lineno": 4913, + "lineno": 4897, "columnno": 0, "code": { - "id": "astnode100020591", + "id": "astnode100020547", "name": "Rotation_EQJ_ECL", "type": "FunctionDeclaration", "paramnames": [] @@ -45589,14 +45527,14 @@ "comment": "", "meta": { "range": [ - 216162, - 216184 + 215578, + 215600 ], "filename": "astronomy.js", - "lineno": 4915, + "lineno": 4899, "columnno": 10, "code": { - "id": "astnode100020595", + "id": "astnode100020551", "name": "c", "type": "Literal", "value": 0.9174821430670688 @@ -45614,14 +45552,14 @@ "comment": "", "meta": { "range": [ - 216210, - 216232 + 215626, + 215648 ], "filename": "astronomy.js", - "lineno": 4916, + "lineno": 4900, "columnno": 10, "code": { - "id": "astnode100020599", + "id": "astnode100020555", "name": "s", "type": "Literal", "value": 0.3977769691083922 @@ -45639,14 +45577,14 @@ "comment": "", "meta": { "range": [ - 216350, - 216393 + 215766, + 215809 ], "filename": "astronomy.js", - "lineno": 4923, + "lineno": 4907, "columnno": 0, "code": { - "id": "astnode100020623", + "id": "astnode100020579", "name": "exports.Rotation_EQJ_ECL", "type": "Identifier", "value": "Rotation_EQJ_ECL", @@ -45663,14 +45601,14 @@ "comment": "/**\n * @brief Calculates a rotation matrix from ecliptic J2000 (ECL) to equatorial J2000 (EQJ).\n *\n * This is one of the family of functions that returns a rotation matrix\n * for converting from one orientation to another.\n * Source: ECL = ecliptic system, using equator at J2000 epoch.\n * Target: EQJ = equatorial system, using equator at J2000 epoch.\n *\n * @returns {RotationMatrix}\n * A rotation matrix that converts ECL to EQJ.\n */", "meta": { "range": [ - 216836, - 217146 + 216252, + 216562 ], "filename": "astronomy.js", - "lineno": 4935, + "lineno": 4919, "columnno": 0, "code": { - "id": "astnode100020628", + "id": "astnode100020584", "name": "Rotation_ECL_EQJ", "type": "FunctionDeclaration", "paramnames": [] @@ -45708,14 +45646,14 @@ "comment": "", "meta": { "range": [ - 216959, - 216981 + 216375, + 216397 ], "filename": "astronomy.js", - "lineno": 4937, + "lineno": 4921, "columnno": 10, "code": { - "id": "astnode100020632", + "id": "astnode100020588", "name": "c", "type": "Literal", "value": 0.9174821430670688 @@ -45733,14 +45671,14 @@ "comment": "", "meta": { "range": [ - 217007, - 217029 + 216423, + 216445 ], "filename": "astronomy.js", - "lineno": 4938, + "lineno": 4922, "columnno": 10, "code": { - "id": "astnode100020636", + "id": "astnode100020592", "name": "s", "type": "Literal", "value": 0.3977769691083922 @@ -45758,14 +45696,14 @@ "comment": "", "meta": { "range": [ - 217147, - 217190 + 216563, + 216606 ], "filename": "astronomy.js", - "lineno": 4945, + "lineno": 4929, "columnno": 0, "code": { - "id": "astnode100020660", + "id": "astnode100020616", "name": "exports.Rotation_ECL_EQJ", "type": "Identifier", "value": "Rotation_ECL_EQJ", @@ -45782,14 +45720,14 @@ "comment": "/**\n * @brief Calculates a rotation matrix from equatorial J2000 (EQJ) to equatorial of-date (EQD).\n *\n * This is one of the family of functions that returns a rotation matrix\n * for converting from one orientation to another.\n * Source: EQJ = equatorial system, using equator at J2000 epoch.\n * Target: EQD = equatorial system, using equator of the specified date/time.\n *\n * @param {AstroTime} time\n * The date and time at which the Earth's equator defines the target orientation.\n *\n * @returns {RotationMatrix}\n * A rotation matrix that converts EQJ to EQD at `time`.\n */", "meta": { "range": [ - 217778, - 217938 + 217194, + 217354 ], "filename": "astronomy.js", - "lineno": 4960, + "lineno": 4944, "columnno": 0, "code": { - "id": "astnode100020665", + "id": "astnode100020621", "name": "Rotation_EQJ_EQD", "type": "FunctionDeclaration", "paramnames": [ @@ -45839,14 +45777,14 @@ "comment": "", "meta": { "range": [ - 217822, - 217857 + 217238, + 217273 ], "filename": "astronomy.js", - "lineno": 4961, + "lineno": 4945, "columnno": 10, "code": { - "id": "astnode100020670", + "id": "astnode100020626", "name": "prec", "type": "CallExpression", "value": "" @@ -45864,14 +45802,14 @@ "comment": "", "meta": { "range": [ - 217869, - 217896 + 217285, + 217312 ], "filename": "astronomy.js", - "lineno": 4962, + "lineno": 4946, "columnno": 10, "code": { - "id": "astnode100020679", + "id": "astnode100020635", "name": "nut", "type": "CallExpression", "value": "" @@ -45889,14 +45827,14 @@ "comment": "", "meta": { "range": [ - 217939, - 217982 + 217355, + 217398 ], "filename": "astronomy.js", - "lineno": 4965, + "lineno": 4949, "columnno": 0, "code": { - "id": "astnode100020691", + "id": "astnode100020647", "name": "exports.Rotation_EQJ_EQD", "type": "Identifier", "value": "Rotation_EQJ_EQD", @@ -45913,14 +45851,14 @@ "comment": "/**\n * @brief Calculates a rotation matrix from equatorial of-date (EQD) to equatorial J2000 (EQJ).\n *\n * This is one of the family of functions that returns a rotation matrix\n * for converting from one orientation to another.\n * Source: EQD = equatorial system, using equator of the specified date/time.\n * Target: EQJ = equatorial system, using equator at J2000 epoch.\n *\n * @param {AstroTime} time\n * The date and time at which the Earth's equator defines the source orientation.\n *\n * @returns {RotationMatrix}\n * A rotation matrix that converts EQD at `time` to EQJ.\n */", "meta": { "range": [ - 218570, - 218730 + 217986, + 218146 ], "filename": "astronomy.js", - "lineno": 4980, + "lineno": 4964, "columnno": 0, "code": { - "id": "astnode100020696", + "id": "astnode100020652", "name": "Rotation_EQD_EQJ", "type": "FunctionDeclaration", "paramnames": [ @@ -45970,14 +45908,14 @@ "comment": "", "meta": { "range": [ - 218614, - 218641 + 218030, + 218057 ], "filename": "astronomy.js", - "lineno": 4981, + "lineno": 4965, "columnno": 10, "code": { - "id": "astnode100020701", + "id": "astnode100020657", "name": "nut", "type": "CallExpression", "value": "" @@ -45995,14 +45933,14 @@ "comment": "", "meta": { "range": [ - 218653, - 218688 + 218069, + 218104 ], "filename": "astronomy.js", - "lineno": 4982, + "lineno": 4966, "columnno": 10, "code": { - "id": "astnode100020708", + "id": "astnode100020664", "name": "prec", "type": "CallExpression", "value": "" @@ -46020,14 +45958,14 @@ "comment": "", "meta": { "range": [ - 218731, - 218774 + 218147, + 218190 ], "filename": "astronomy.js", - "lineno": 4985, + "lineno": 4969, "columnno": 0, "code": { - "id": "astnode100020722", + "id": "astnode100020678", "name": "exports.Rotation_EQD_EQJ", "type": "Identifier", "value": "Rotation_EQD_EQJ", @@ -46044,14 +45982,14 @@ "comment": "/**\n * @brief Calculates a rotation matrix from equatorial of-date (EQD) to horizontal (HOR).\n *\n * This is one of the family of functions that returns a rotation matrix\n * for converting from one orientation to another.\n * Source: EQD = equatorial system, using equator of the specified date/time.\n * Target: HOR = horizontal system.\n *\n * Use `HorizonFromVector` to convert the return value\n * to a traditional altitude/azimuth pair.\n *\n * @param {AstroTime} time\n * The date and time at which the Earth's equator applies.\n *\n * @param {Observer} observer\n * A location near the Earth's mean sea level that defines the observer's horizon.\n *\n * @returns {RotationMatrix}\n * A rotation matrix that converts EQD to HOR at `time` and for `observer`.\n * The components of the horizontal vector are:\n * x = north, y = west, z = zenith (straight up from the observer).\n * These components are chosen so that the \"right-hand rule\" works for the vector\n * and so that north represents the direction where azimuth = 0.\n */", "meta": { "range": [ - 219827, - 220563 + 219243, + 219979 ], "filename": "astronomy.js", - "lineno": 5010, + "lineno": 4994, "columnno": 0, "code": { - "id": "astnode100020727", + "id": "astnode100020683", "name": "Rotation_EQD_HOR", "type": "FunctionDeclaration", "paramnames": [ @@ -46120,14 +46058,14 @@ "comment": "", "meta": { "range": [ - 219881, - 219927 + 219297, + 219343 ], "filename": "astronomy.js", - "lineno": 5011, + "lineno": 4995, "columnno": 10, "code": { - "id": "astnode100020733", + "id": "astnode100020689", "name": "sinlat", "type": "CallExpression", "value": "" @@ -46145,14 +46083,14 @@ "comment": "", "meta": { "range": [ - 219939, - 219985 + 219355, + 219401 ], "filename": "astronomy.js", - "lineno": 5012, + "lineno": 4996, "columnno": 10, "code": { - "id": "astnode100020745", + "id": "astnode100020701", "name": "coslat", "type": "CallExpression", "value": "" @@ -46170,14 +46108,14 @@ "comment": "", "meta": { "range": [ - 219997, - 220044 + 219413, + 219460 ], "filename": "astronomy.js", - "lineno": 5013, + "lineno": 4997, "columnno": 10, "code": { - "id": "astnode100020757", + "id": "astnode100020713", "name": "sinlon", "type": "CallExpression", "value": "" @@ -46195,14 +46133,14 @@ "comment": "", "meta": { "range": [ - 220056, - 220103 + 219472, + 219519 ], "filename": "astronomy.js", - "lineno": 5014, + "lineno": 4998, "columnno": 10, "code": { - "id": "astnode100020769", + "id": "astnode100020725", "name": "coslon", "type": "CallExpression", "value": "" @@ -46220,14 +46158,14 @@ "comment": "", "meta": { "range": [ - 220115, - 220163 + 219531, + 219579 ], "filename": "astronomy.js", - "lineno": 5015, + "lineno": 4999, "columnno": 10, "code": { - "id": "astnode100020781", + "id": "astnode100020737", "name": "uze", "type": "ArrayExpression", "value": "[\"\",\"\",\"sinlat\"]" @@ -46245,14 +46183,14 @@ "comment": "", "meta": { "range": [ - 220175, - 220225 + 219591, + 219641 ], "filename": "astronomy.js", - "lineno": 5016, + "lineno": 5000, "columnno": 10, "code": { - "id": "astnode100020792", + "id": "astnode100020748", "name": "une", "type": "ArrayExpression", "value": "[\"\",\"\",\"coslat\"]" @@ -46270,14 +46208,14 @@ "comment": "", "meta": { "range": [ - 220237, - 220263 + 219653, + 219679 ], "filename": "astronomy.js", - "lineno": 5017, + "lineno": 5001, "columnno": 10, "code": { - "id": "astnode100020805", + "id": "astnode100020761", "name": "uwe", "type": "ArrayExpression", "value": "[\"sinlon\",\"-coslon\",0]" @@ -46295,14 +46233,14 @@ "comment": "", "meta": { "range": [ - 220275, - 220313 + 219691, + 219729 ], "filename": "astronomy.js", - "lineno": 5018, + "lineno": 5002, "columnno": 10, "code": { - "id": "astnode100020813", + "id": "astnode100020769", "name": "spin_angle", "type": "BinaryExpression", "value": "" @@ -46320,14 +46258,14 @@ "comment": "", "meta": { "range": [ - 220325, - 220351 + 219741, + 219767 ], "filename": "astronomy.js", - "lineno": 5019, + "lineno": 5003, "columnno": 10, "code": { - "id": "astnode100020822", + "id": "astnode100020778", "name": "uz", "type": "CallExpression", "value": "" @@ -46345,14 +46283,14 @@ "comment": "", "meta": { "range": [ - 220363, - 220389 + 219779, + 219805 ], "filename": "astronomy.js", - "lineno": 5020, + "lineno": 5004, "columnno": 10, "code": { - "id": "astnode100020829", + "id": "astnode100020785", "name": "un", "type": "CallExpression", "value": "" @@ -46370,14 +46308,14 @@ "comment": "", "meta": { "range": [ - 220401, - 220427 + 219817, + 219843 ], "filename": "astronomy.js", - "lineno": 5021, + "lineno": 5005, "columnno": 10, "code": { - "id": "astnode100020836", + "id": "astnode100020792", "name": "uw", "type": "CallExpression", "value": "" @@ -46395,14 +46333,14 @@ "comment": "", "meta": { "range": [ - 220564, - 220607 + 219980, + 220023 ], "filename": "astronomy.js", - "lineno": 5028, + "lineno": 5012, "columnno": 0, "code": { - "id": "astnode100020877", + "id": "astnode100020833", "name": "exports.Rotation_EQD_HOR", "type": "Identifier", "value": "Rotation_EQD_HOR", @@ -46419,14 +46357,14 @@ "comment": "/**\n * @brief Calculates a rotation matrix from horizontal (HOR) to equatorial of-date (EQD).\n *\n * This is one of the family of functions that returns a rotation matrix\n * for converting from one orientation to another.\n * Source: HOR = horizontal system (x=North, y=West, z=Zenith).\n * Target: EQD = equatorial system, using equator of the specified date/time.\n *\n * @param {AstroTime} time\n * The date and time at which the Earth's equator applies.\n *\n * @param {Observer} observer\n * A location near the Earth's mean sea level that defines the observer's horizon.\n *\n * @returns {RotationMatrix}\n * A rotation matrix that converts HOR to EQD at `time` and for `observer`.\n */", "meta": { "range": [ - 221304, - 221432 + 220720, + 220848 ], "filename": "astronomy.js", - "lineno": 5046, + "lineno": 5030, "columnno": 0, "code": { - "id": "astnode100020882", + "id": "astnode100020838", "name": "Rotation_HOR_EQD", "type": "FunctionDeclaration", "paramnames": [ @@ -46485,14 +46423,14 @@ "comment": "", "meta": { "range": [ - 221358, - 221396 + 220774, + 220812 ], "filename": "astronomy.js", - "lineno": 5047, + "lineno": 5031, "columnno": 10, "code": { - "id": "astnode100020888", + "id": "astnode100020844", "name": "rot", "type": "CallExpression", "value": "" @@ -46510,14 +46448,14 @@ "comment": "", "meta": { "range": [ - 221433, - 221476 + 220849, + 220892 ], "filename": "astronomy.js", - "lineno": 5050, + "lineno": 5034, "columnno": 0, "code": { - "id": "astnode100020899", + "id": "astnode100020855", "name": "exports.Rotation_HOR_EQD", "type": "Identifier", "value": "Rotation_HOR_EQD", @@ -46534,14 +46472,14 @@ "comment": "/**\n * @brief Calculates a rotation matrix from horizontal (HOR) to J2000 equatorial (EQJ).\n *\n * This is one of the family of functions that returns a rotation matrix\n * for converting from one orientation to another.\n * Source: HOR = horizontal system (x=North, y=West, z=Zenith).\n * Target: EQJ = equatorial system, using equator at the J2000 epoch.\n *\n * @param {AstroTime} time\n * The date and time of the observation.\n *\n * @param {Observer} observer\n * A location near the Earth's mean sea level that defines the observer's horizon.\n *\n * @returns {RotationMatrix}\n * A rotation matrix that converts HOR to EQD at `time` and for `observer`.\n */", "meta": { "range": [ - 222145, - 222334 + 221561, + 221750 ], "filename": "astronomy.js", - "lineno": 5068, + "lineno": 5052, "columnno": 0, "code": { - "id": "astnode100020904", + "id": "astnode100020860", "name": "Rotation_HOR_EQJ", "type": "FunctionDeclaration", "paramnames": [ @@ -46601,14 +46539,14 @@ "comment": "", "meta": { "range": [ - 222199, - 222241 + 221615, + 221657 ], "filename": "astronomy.js", - "lineno": 5069, + "lineno": 5053, "columnno": 10, "code": { - "id": "astnode100020910", + "id": "astnode100020866", "name": "hor_eqd", "type": "CallExpression", "value": "" @@ -46626,14 +46564,14 @@ "comment": "", "meta": { "range": [ - 222253, - 222285 + 221669, + 221701 ], "filename": "astronomy.js", - "lineno": 5070, + "lineno": 5054, "columnno": 10, "code": { - "id": "astnode100020917", + "id": "astnode100020873", "name": "eqd_eqj", "type": "CallExpression", "value": "" @@ -46651,14 +46589,14 @@ "comment": "", "meta": { "range": [ - 222335, - 222378 + 221751, + 221794 ], "filename": "astronomy.js", - "lineno": 5073, + "lineno": 5057, "columnno": 0, "code": { - "id": "astnode100020928", + "id": "astnode100020884", "name": "exports.Rotation_HOR_EQJ", "type": "Identifier", "value": "Rotation_HOR_EQJ", @@ -46675,14 +46613,14 @@ "comment": "/**\n * @brief Calculates a rotation matrix from equatorial J2000 (EQJ) to horizontal (HOR).\n *\n * This is one of the family of functions that returns a rotation matrix\n * for converting from one orientation to another.\n * Source: EQJ = equatorial system, using the equator at the J2000 epoch.\n * Target: HOR = horizontal system.\n *\n * Use {@link HorizonFromVector} to convert the return value\n * to a traditional altitude/azimuth pair.\n *\n * @param time\n * The date and time of the desired horizontal orientation.\n *\n * @param observer\n * A location near the Earth's mean sea level that defines the observer's horizon.\n *\n * @return\n * A rotation matrix that converts EQJ to HOR at `time` and for `observer`.\n * The components of the horizontal vector are:\n * x = north, y = west, z = zenith (straight up from the observer).\n * These components are chosen so that the \"right-hand rule\" works for the vector\n * and so that north represents the direction where azimuth = 0.\n */", "meta": { "range": [ - 223391, - 223519 + 222807, + 222935 ], "filename": "astronomy.js", - "lineno": 5098, + "lineno": 5082, "columnno": 0, "code": { - "id": "astnode100020933", + "id": "astnode100020889", "name": "Rotation_EQJ_HOR", "type": "FunctionDeclaration", "paramnames": [ @@ -46726,14 +46664,14 @@ "comment": "", "meta": { "range": [ - 223445, - 223483 + 222861, + 222899 ], "filename": "astronomy.js", - "lineno": 5099, + "lineno": 5083, "columnno": 10, "code": { - "id": "astnode100020939", + "id": "astnode100020895", "name": "rot", "type": "CallExpression", "value": "" @@ -46751,14 +46689,14 @@ "comment": "", "meta": { "range": [ - 223520, - 223563 + 222936, + 222979 ], "filename": "astronomy.js", - "lineno": 5102, + "lineno": 5086, "columnno": 0, "code": { - "id": "astnode100020950", + "id": "astnode100020906", "name": "exports.Rotation_EQJ_HOR", "type": "Identifier", "value": "Rotation_EQJ_HOR", @@ -46775,14 +46713,14 @@ "comment": "/**\n * @brief Calculates a rotation matrix from equatorial of-date (EQD) to ecliptic J2000 (ECL).\n *\n * This is one of the family of functions that returns a rotation matrix\n * for converting from one orientation to another.\n * Source: EQD = equatorial system, using equator of date.\n * Target: ECL = ecliptic system, using equator at J2000 epoch.\n *\n * @param {AstroTime} time\n * The date and time of the source equator.\n *\n * @returns {RotationMatrix}\n * A rotation matrix that converts EQD to ECL.\n */", "meta": { "range": [ - 224080, - 224245 + 223496, + 223661 ], "filename": "astronomy.js", - "lineno": 5117, + "lineno": 5101, "columnno": 0, "code": { - "id": "astnode100020955", + "id": "astnode100020911", "name": "Rotation_EQD_ECL", "type": "FunctionDeclaration", "paramnames": [ @@ -46832,14 +46770,14 @@ "comment": "", "meta": { "range": [ - 224124, - 224156 + 223540, + 223572 ], "filename": "astronomy.js", - "lineno": 5118, + "lineno": 5102, "columnno": 10, "code": { - "id": "astnode100020960", + "id": "astnode100020916", "name": "eqd_eqj", "type": "CallExpression", "value": "" @@ -46857,14 +46795,14 @@ "comment": "", "meta": { "range": [ - 224168, - 224196 + 223584, + 223612 ], "filename": "astronomy.js", - "lineno": 5119, + "lineno": 5103, "columnno": 10, "code": { - "id": "astnode100020966", + "id": "astnode100020922", "name": "eqj_ecl", "type": "CallExpression", "value": "" @@ -46882,14 +46820,14 @@ "comment": "", "meta": { "range": [ - 224246, - 224289 + 223662, + 223705 ], "filename": "astronomy.js", - "lineno": 5122, + "lineno": 5106, "columnno": 0, "code": { - "id": "astnode100020976", + "id": "astnode100020932", "name": "exports.Rotation_EQD_ECL", "type": "Identifier", "value": "Rotation_EQD_ECL", @@ -46906,14 +46844,14 @@ "comment": "/**\n * @brief Calculates a rotation matrix from ecliptic J2000 (ECL) to equatorial of-date (EQD).\n *\n * This is one of the family of functions that returns a rotation matrix\n * for converting from one orientation to another.\n * Source: ECL = ecliptic system, using equator at J2000 epoch.\n * Target: EQD = equatorial system, using equator of date.\n *\n * @param {AstroTime} time\n * The date and time of the desired equator.\n *\n * @returns {RotationMatrix}\n * A rotation matrix that converts ECL to EQD.\n */", "meta": { "range": [ - 224807, - 224915 + 224223, + 224331 ], "filename": "astronomy.js", - "lineno": 5137, + "lineno": 5121, "columnno": 0, "code": { - "id": "astnode100020981", + "id": "astnode100020937", "name": "Rotation_ECL_EQD", "type": "FunctionDeclaration", "paramnames": [ @@ -46962,14 +46900,14 @@ "comment": "", "meta": { "range": [ - 224851, - 224879 + 224267, + 224295 ], "filename": "astronomy.js", - "lineno": 5138, + "lineno": 5122, "columnno": 10, "code": { - "id": "astnode100020986", + "id": "astnode100020942", "name": "rot", "type": "CallExpression", "value": "" @@ -46987,14 +46925,14 @@ "comment": "", "meta": { "range": [ - 224916, - 224959 + 224332, + 224375 ], "filename": "astronomy.js", - "lineno": 5141, + "lineno": 5125, "columnno": 0, "code": { - "id": "astnode100020996", + "id": "astnode100020952", "name": "exports.Rotation_ECL_EQD", "type": "Identifier", "value": "Rotation_ECL_EQD", @@ -47011,14 +46949,14 @@ "comment": "/**\n * @brief Calculates a rotation matrix from ecliptic J2000 (ECL) to horizontal (HOR).\n *\n * This is one of the family of functions that returns a rotation matrix\n * for converting from one orientation to another.\n * Source: ECL = ecliptic system, using equator at J2000 epoch.\n * Target: HOR = horizontal system.\n *\n * Use {@link HorizonFromVector} to convert the return value\n * to a traditional altitude/azimuth pair.\n *\n * @param {AstroTime} time\n * The date and time of the desired horizontal orientation.\n *\n * @param {Observer} observer\n * A location near the Earth's mean sea level that defines the observer's horizon.\n *\n * @returns {RotationMatrix}\n * A rotation matrix that converts ECL to HOR at `time` and for `observer`.\n * The components of the horizontal vector are:\n * x = north, y = west, z = zenith (straight up from the observer).\n * These components are chosen so that the \"right-hand rule\" works for the vector\n * and so that north represents the direction where azimuth = 0.\n */", "meta": { "range": [ - 226001, - 226190 + 225417, + 225606 ], "filename": "astronomy.js", - "lineno": 5166, + "lineno": 5150, "columnno": 0, "code": { - "id": "astnode100021001", + "id": "astnode100020957", "name": "Rotation_ECL_HOR", "type": "FunctionDeclaration", "paramnames": [ @@ -47078,14 +47016,14 @@ "comment": "", "meta": { "range": [ - 226055, - 226087 + 225471, + 225503 ], "filename": "astronomy.js", - "lineno": 5167, + "lineno": 5151, "columnno": 10, "code": { - "id": "astnode100021007", + "id": "astnode100020963", "name": "ecl_eqd", "type": "CallExpression", "value": "" @@ -47103,14 +47041,14 @@ "comment": "", "meta": { "range": [ - 226099, - 226141 + 225515, + 225557 ], "filename": "astronomy.js", - "lineno": 5168, + "lineno": 5152, "columnno": 10, "code": { - "id": "astnode100021013", + "id": "astnode100020969", "name": "eqd_hor", "type": "CallExpression", "value": "" @@ -47128,14 +47066,14 @@ "comment": "", "meta": { "range": [ - 226191, - 226234 + 225607, + 225650 ], "filename": "astronomy.js", - "lineno": 5171, + "lineno": 5155, "columnno": 0, "code": { - "id": "astnode100021025", + "id": "astnode100020981", "name": "exports.Rotation_ECL_HOR", "type": "Identifier", "value": "Rotation_ECL_HOR", @@ -47152,14 +47090,14 @@ "comment": "/**\n * @brief Calculates a rotation matrix from horizontal (HOR) to ecliptic J2000 (ECL).\n *\n * This is one of the family of functions that returns a rotation matrix\n * for converting from one orientation to another.\n * Source: HOR = horizontal system.\n * Target: ECL = ecliptic system, using equator at J2000 epoch.\n *\n * @param {AstroTime} time\n * The date and time of the horizontal observation.\n *\n * @param {Observer} observer\n * The location of the horizontal observer.\n *\n * @returns {RotationMatrix}\n * A rotation matrix that converts HOR to ECL.\n */", "meta": { "range": [ - 226810, - 226938 + 226226, + 226354 ], "filename": "astronomy.js", - "lineno": 5189, + "lineno": 5173, "columnno": 0, "code": { - "id": "astnode100021030", + "id": "astnode100020986", "name": "Rotation_HOR_ECL", "type": "FunctionDeclaration", "paramnames": [ @@ -47218,14 +47156,14 @@ "comment": "", "meta": { "range": [ - 226864, - 226902 + 226280, + 226318 ], "filename": "astronomy.js", - "lineno": 5190, + "lineno": 5174, "columnno": 10, "code": { - "id": "astnode100021036", + "id": "astnode100020992", "name": "rot", "type": "CallExpression", "value": "" @@ -47243,14 +47181,14 @@ "comment": "", "meta": { "range": [ - 226939, - 226982 + 226355, + 226398 ], "filename": "astronomy.js", - "lineno": 5193, + "lineno": 5177, "columnno": 0, "code": { - "id": "astnode100021047", + "id": "astnode100021003", "name": "exports.Rotation_HOR_ECL", "type": "Identifier", "value": "Rotation_HOR_ECL", @@ -47267,14 +47205,14 @@ "comment": "", "meta": { "range": [ - 226990, - 230126 + 226406, + 229542 ], "filename": "astronomy.js", - "lineno": 5194, + "lineno": 5178, "columnno": 6, "code": { - "id": "astnode100021053", + "id": "astnode100021009", "name": "ConstelNames", "type": "ArrayExpression", "value": "[\"[\\\"And\\\",\\\"Andromeda\\\"]\",\"[\\\"Ant\\\",\\\"Antila\\\"]\",\"[\\\"Aps\\\",\\\"Apus\\\"]\",\"[\\\"Aql\\\",\\\"Aquila\\\"]\",\"[\\\"Aqr\\\",\\\"Aquarius\\\"]\",\"[\\\"Ara\\\",\\\"Ara\\\"]\",\"[\\\"Ari\\\",\\\"Aries\\\"]\",\"[\\\"Aur\\\",\\\"Auriga\\\"]\",\"[\\\"Boo\\\",\\\"Bootes\\\"]\",\"[\\\"Cae\\\",\\\"Caelum\\\"]\",\"[\\\"Cam\\\",\\\"Camelopardis\\\"]\",\"[\\\"Cap\\\",\\\"Capricornus\\\"]\",\"[\\\"Car\\\",\\\"Carina\\\"]\",\"[\\\"Cas\\\",\\\"Cassiopeia\\\"]\",\"[\\\"Cen\\\",\\\"Centaurus\\\"]\",\"[\\\"Cep\\\",\\\"Cepheus\\\"]\",\"[\\\"Cet\\\",\\\"Cetus\\\"]\",\"[\\\"Cha\\\",\\\"Chamaeleon\\\"]\",\"[\\\"Cir\\\",\\\"Circinus\\\"]\",\"[\\\"CMa\\\",\\\"Canis Major\\\"]\",\"[\\\"CMi\\\",\\\"Canis Minor\\\"]\",\"[\\\"Cnc\\\",\\\"Cancer\\\"]\",\"[\\\"Col\\\",\\\"Columba\\\"]\",\"[\\\"Com\\\",\\\"Coma Berenices\\\"]\",\"[\\\"CrA\\\",\\\"Corona Australis\\\"]\",\"[\\\"CrB\\\",\\\"Corona Borealis\\\"]\",\"[\\\"Crt\\\",\\\"Crater\\\"]\",\"[\\\"Cru\\\",\\\"Crux\\\"]\",\"[\\\"Crv\\\",\\\"Corvus\\\"]\",\"[\\\"CVn\\\",\\\"Canes Venatici\\\"]\",\"[\\\"Cyg\\\",\\\"Cygnus\\\"]\",\"[\\\"Del\\\",\\\"Delphinus\\\"]\",\"[\\\"Dor\\\",\\\"Dorado\\\"]\",\"[\\\"Dra\\\",\\\"Draco\\\"]\",\"[\\\"Equ\\\",\\\"Equuleus\\\"]\",\"[\\\"Eri\\\",\\\"Eridanus\\\"]\",\"[\\\"For\\\",\\\"Fornax\\\"]\",\"[\\\"Gem\\\",\\\"Gemini\\\"]\",\"[\\\"Gru\\\",\\\"Grus\\\"]\",\"[\\\"Her\\\",\\\"Hercules\\\"]\",\"[\\\"Hor\\\",\\\"Horologium\\\"]\",\"[\\\"Hya\\\",\\\"Hydra\\\"]\",\"[\\\"Hyi\\\",\\\"Hydrus\\\"]\",\"[\\\"Ind\\\",\\\"Indus\\\"]\",\"[\\\"Lac\\\",\\\"Lacerta\\\"]\",\"[\\\"Leo\\\",\\\"Leo\\\"]\",\"[\\\"Lep\\\",\\\"Lepus\\\"]\",\"[\\\"Lib\\\",\\\"Libra\\\"]\",\"[\\\"LMi\\\",\\\"Leo Minor\\\"]\",\"[\\\"Lup\\\",\\\"Lupus\\\"]\",\"[\\\"Lyn\\\",\\\"Lynx\\\"]\",\"[\\\"Lyr\\\",\\\"Lyra\\\"]\",\"[\\\"Men\\\",\\\"Mensa\\\"]\",\"[\\\"Mic\\\",\\\"Microscopium\\\"]\",\"[\\\"Mon\\\",\\\"Monoceros\\\"]\",\"[\\\"Mus\\\",\\\"Musca\\\"]\",\"[\\\"Nor\\\",\\\"Norma\\\"]\",\"[\\\"Oct\\\",\\\"Octans\\\"]\",\"[\\\"Oph\\\",\\\"Ophiuchus\\\"]\",\"[\\\"Ori\\\",\\\"Orion\\\"]\",\"[\\\"Pav\\\",\\\"Pavo\\\"]\",\"[\\\"Peg\\\",\\\"Pegasus\\\"]\",\"[\\\"Per\\\",\\\"Perseus\\\"]\",\"[\\\"Phe\\\",\\\"Phoenix\\\"]\",\"[\\\"Pic\\\",\\\"Pictor\\\"]\",\"[\\\"PsA\\\",\\\"Pisces Austrinus\\\"]\",\"[\\\"Psc\\\",\\\"Pisces\\\"]\",\"[\\\"Pup\\\",\\\"Puppis\\\"]\",\"[\\\"Pyx\\\",\\\"Pyxis\\\"]\",\"[\\\"Ret\\\",\\\"Reticulum\\\"]\",\"[\\\"Scl\\\",\\\"Sculptor\\\"]\",\"[\\\"Sco\\\",\\\"Scorpius\\\"]\",\"[\\\"Sct\\\",\\\"Scutum\\\"]\",\"[\\\"Ser\\\",\\\"Serpens\\\"]\",\"[\\\"Sex\\\",\\\"Sextans\\\"]\",\"[\\\"Sge\\\",\\\"Sagitta\\\"]\",\"[\\\"Sgr\\\",\\\"Sagittarius\\\"]\",\"[\\\"Tau\\\",\\\"Taurus\\\"]\",\"[\\\"Tel\\\",\\\"Telescopium\\\"]\",\"[\\\"TrA\\\",\\\"Triangulum Australe\\\"]\",\"[\\\"Tri\\\",\\\"Triangulum\\\"]\",\"[\\\"Tuc\\\",\\\"Tucana\\\"]\",\"[\\\"UMa\\\",\\\"Ursa Major\\\"]\",\"[\\\"UMi\\\",\\\"Ursa Minor\\\"]\",\"[\\\"Vel\\\",\\\"Vela\\\"]\",\"[\\\"Vir\\\",\\\"Virgo\\\"]\",\"[\\\"Vol\\\",\\\"Volans\\\"]\",\"[\\\"Vul\\\",\\\"Vulpecula\\\"]\"]" @@ -47291,14 +47229,14 @@ "comment": "", "meta": { "range": [ - 230134, - 244207 + 229550, + 243623 ], "filename": "astronomy.js", - "lineno": 5371, + "lineno": 5355, "columnno": 6, "code": { - "id": "astnode100021321", + "id": "astnode100021277", "name": "ConstelBounds", "type": "ArrayExpression", "value": "[\"[83,0,8640,2112]\",\"[83,2880,5220,2076]\",\"[83,7560,8280,2068]\",\"[83,6480,7560,2064]\",\"[15,0,2880,2040]\",\"[10,3300,3840,1968]\",\"[15,0,1800,1920]\",\"[10,3840,5220,1920]\",\"[83,6300,6480,1920]\",\"[33,7260,7560,1920]\",\"[15,0,1263,1848]\",\"[10,4140,4890,1848]\",\"[83,5952,6300,1800]\",\"[15,7260,7440,1800]\",\"[10,2868,3300,1764]\",\"[33,3300,4080,1764]\",\"[83,4680,5952,1680]\",\"[13,1116,1230,1632]\",\"[33,7350,7440,1608]\",\"[33,4080,4320,1596]\",\"[15,0,120,1584]\",\"[83,5040,5640,1584]\",\"[15,8490,8640,1584]\",\"[33,4320,4860,1536]\",\"[33,4860,5190,1512]\",\"[15,8340,8490,1512]\",\"[10,2196,2520,1488]\",\"[33,7200,7350,1476]\",\"[15,7393.2,7416,1462]\",\"[10,2520,2868,1440]\",\"[82,2868,3030,1440]\",\"[33,7116,7200,1428]\",\"[15,7200,7393.2,1428]\",\"[15,8232,8340,1418]\",\"[13,0,876,1404]\",\"[33,6990,7116,1392]\",\"[13,612,687,1380]\",\"[13,876,1116,1368]\",\"[10,1116,1140,1368]\",\"[15,8034,8232,1350]\",\"[10,1800,2196,1344]\",\"[82,5052,5190,1332]\",\"[33,5190,6990,1332]\",\"[10,1140,1200,1320]\",\"[15,7968,8034,1320]\",\"[15,7416,7908,1316]\",\"[13,0,612,1296]\",\"[50,2196,2340,1296]\",\"[82,4350,4860,1272]\",\"[33,5490,5670,1272]\",\"[15,7908,7968,1266]\",\"[10,1200,1800,1260]\",\"[13,8232,8400,1260]\",\"[33,5670,6120,1236]\",\"[62,735,906,1212]\",\"[33,6120,6564,1212]\",\"[13,0,492,1200]\",\"[62,492,600,1200]\",\"[50,2340,2448,1200]\",\"[13,8400,8640,1200]\",\"[82,4860,5052,1164]\",\"[13,0,402,1152]\",\"[13,8490,8640,1152]\",\"[39,6543,6564,1140]\",\"[33,6564,6870,1140]\",\"[30,6870,6900,1140]\",\"[62,600,735,1128]\",\"[82,3030,3300,1128]\",\"[13,60,312,1104]\",\"[82,4320,4350,1080]\",\"[50,2448,2652,1068]\",\"[30,7887,7908,1056]\",\"[30,7875,7887,1050]\",\"[30,6900,6984,1044]\",\"[82,3300,3660,1008]\",\"[82,3660,3882,960]\",\"[8,5556,5670,960]\",\"[39,5670,5880,960]\",\"[50,3330,3450,954]\",\"[0,0,906,882]\",\"[62,906,924,882]\",\"[51,6969,6984,876]\",\"[62,1620,1689,864]\",\"[30,7824,7875,864]\",\"[44,7875,7920,864]\",\"[7,2352,2652,852]\",\"[50,2652,2790,852]\",\"[0,0,720,840]\",\"[44,7920,8214,840]\",\"[44,8214,8232,828]\",\"[0,8232,8460,828]\",\"[62,924,978,816]\",\"[82,3882,3960,816]\",\"[29,4320,4440,816]\",\"[50,2790,3330,804]\",\"[48,3330,3558,804]\",\"[0,258,507,792]\",\"[8,5466,5556,792]\",\"[0,8460,8550,770]\",\"[29,4440,4770,768]\",\"[0,8550,8640,752]\",\"[29,5025,5052,738]\",\"[80,870,978,736]\",\"[62,978,1620,736]\",\"[7,1620,1710,720]\",\"[51,6543,6969,720]\",\"[82,3960,4320,696]\",\"[30,7080,7530,696]\",\"[7,1710,2118,684]\",\"[48,3558,3780,684]\",\"[29,4770,5025,684]\",\"[0,0,24,672]\",\"[80,507,600,672]\",\"[7,2118,2352,672]\",\"[37,2838,2880,672]\",\"[30,7530,7824,672]\",\"[30,6933,7080,660]\",\"[80,690,870,654]\",\"[25,5820,5880,648]\",\"[8,5430,5466,624]\",\"[25,5466,5820,624]\",\"[51,6612,6792,624]\",\"[48,3870,3960,612]\",\"[51,6792,6933,612]\",\"[80,600,690,600]\",\"[66,258,306,570]\",\"[48,3780,3870,564]\",\"[87,7650,7710,564]\",\"[77,2052,2118,548]\",\"[0,24,51,528]\",\"[73,5730,5772,528]\",\"[37,2118,2238,516]\",\"[87,7140,7290,510]\",\"[87,6792,6930,506]\",\"[0,51,306,504]\",\"[87,7290,7404,492]\",\"[37,2811,2838,480]\",\"[87,7404,7650,468]\",\"[87,6930,7140,460]\",\"[6,1182,1212,456]\",\"[75,6792,6840,444]\",\"[59,2052,2076,432]\",\"[37,2238,2271,420]\",\"[75,6840,7140,388]\",\"[77,1788,1920,384]\",\"[39,5730,5790,384]\",\"[75,7140,7290,378]\",\"[77,1662,1788,372]\",\"[77,1920,2016,372]\",\"[23,4620,4860,360]\",\"[39,6210,6570,344]\",\"[23,4272,4620,336]\",\"[37,2700,2811,324]\",\"[39,6030,6210,308]\",\"[61,0,51,300]\",\"[77,2016,2076,300]\",\"[37,2520,2700,300]\",\"[61,7602,7680,300]\",\"[37,2271,2496,288]\",\"[39,6570,6792,288]\",\"[31,7515,7578,284]\",\"[61,7578,7602,284]\",\"[45,4146,4272,264]\",\"[59,2247,2271,240]\",\"[37,2496,2520,240]\",\"[21,2811,2853,240]\",\"[61,8580,8640,240]\",\"[6,600,1182,238]\",\"[31,7251,7308,204]\",\"[8,4860,5430,192]\",\"[61,8190,8580,180]\",\"[21,2853,3330,168]\",\"[45,3330,3870,168]\",\"[58,6570,6718.4,150]\",\"[3,6718.4,6792,150]\",\"[31,7500,7515,144]\",\"[20,2520,2526,132]\",\"[73,6570,6633,108]\",\"[39,5790,6030,96]\",\"[58,6570,6633,72]\",\"[61,7728,7800,66]\",\"[66,0,720,48]\",\"[73,6690,6792,48]\",\"[31,7308,7500,48]\",\"[34,7500,7680,48]\",\"[61,7680,7728,48]\",\"[61,7920,8190,48]\",\"[61,7800,7920,42]\",\"[20,2526,2592,36]\",\"[77,1290,1662,0]\",\"[59,1662,1680,0]\",\"[20,2592,2910,0]\",\"[85,5280,5430,0]\",\"[58,6420,6570,0]\",\"[16,954,1182,-42]\",\"[77,1182,1290,-42]\",\"[73,5430,5856,-78]\",\"[59,1680,1830,-96]\",\"[59,2100,2247,-96]\",\"[73,6420,6468,-96]\",\"[73,6570,6690,-96]\",\"[3,6690,6792,-96]\",\"[66,8190,8580,-96]\",\"[45,3870,4146,-144]\",\"[85,4146,4260,-144]\",\"[66,0,120,-168]\",\"[66,8580,8640,-168]\",\"[85,5130,5280,-192]\",\"[58,5730,5856,-192]\",\"[3,7200,7392,-216]\",\"[4,7680,7872,-216]\",\"[58,6180,6468,-240]\",\"[54,2100,2910,-264]\",\"[35,1770,1830,-264]\",\"[59,1830,2100,-264]\",\"[41,2910,3012,-264]\",\"[74,3450,3870,-264]\",\"[85,4260,4620,-264]\",\"[58,6330,6360,-280]\",\"[3,6792,7200,-288.8]\",\"[35,1740,1770,-348]\",\"[4,7392,7680,-360]\",\"[73,6180,6570,-384]\",\"[72,6570,6792,-384]\",\"[41,3012,3090,-408]\",\"[58,5856,5895,-438]\",\"[41,3090,3270,-456]\",\"[26,3870,3900,-456]\",\"[71,5856,5895,-462]\",\"[47,5640,5730,-480]\",\"[28,4530,4620,-528]\",\"[85,4620,5130,-528]\",\"[41,3270,3510,-576]\",\"[16,600,954,-585.2]\",\"[35,954,1350,-585.2]\",\"[26,3900,4260,-588]\",\"[28,4260,4530,-588]\",\"[47,5130,5370,-588]\",\"[58,5856,6030,-590]\",\"[16,0,600,-612]\",\"[11,7680,7872,-612]\",\"[4,7872,8580,-612]\",\"[16,8580,8640,-612]\",\"[41,3510,3690,-636]\",\"[35,1692,1740,-654]\",\"[46,1740,2202,-654]\",\"[11,7200,7680,-672]\",\"[41,3690,3810,-700]\",\"[41,4530,5370,-708]\",\"[47,5370,5640,-708]\",\"[71,5640,5760,-708]\",\"[35,1650,1692,-720]\",\"[58,6030,6336,-720]\",\"[76,6336,6420,-720]\",\"[41,3810,3900,-748]\",\"[19,2202,2652,-792]\",\"[41,4410,4530,-792]\",\"[41,3900,4410,-840]\",\"[36,1260,1350,-864]\",\"[68,3012,3372,-882]\",\"[35,1536,1650,-888]\",\"[76,6420,6900,-888]\",\"[65,7680,8280,-888]\",\"[70,8280,8400,-888]\",\"[36,1080,1260,-950]\",\"[1,3372,3960,-954]\",\"[70,0,600,-960]\",\"[36,600,1080,-960]\",\"[35,1392,1536,-960]\",\"[70,8400,8640,-960]\",\"[14,5100,5370,-1008]\",\"[49,5640,5760,-1008]\",\"[71,5760,5911.5,-1008]\",\"[9,1740,1800,-1032]\",\"[22,1800,2370,-1032]\",\"[67,2880,3012,-1032]\",\"[35,1230,1392,-1056]\",\"[71,5911.5,6420,-1092]\",\"[24,6420,6900,-1092]\",\"[76,6900,7320,-1092]\",\"[53,7320,7680,-1092]\",\"[35,1080,1230,-1104]\",\"[9,1620,1740,-1116]\",\"[49,5520,5640,-1152]\",\"[63,0,840,-1156]\",\"[35,960,1080,-1176]\",\"[40,1470,1536,-1176]\",\"[9,1536,1620,-1176]\",\"[38,7680,7920,-1200]\",\"[67,2160,2880,-1218]\",\"[84,2880,2940,-1218]\",\"[35,870,960,-1224]\",\"[40,1380,1470,-1224]\",\"[63,0,660,-1236]\",\"[12,2160,2220,-1260]\",\"[84,2940,3042,-1272]\",\"[40,1260,1380,-1276]\",\"[32,1380,1440,-1276]\",\"[63,0,570,-1284]\",\"[35,780,870,-1296]\",\"[64,1620,1800,-1296]\",\"[49,5418,5520,-1296]\",\"[84,3042,3180,-1308]\",\"[12,2220,2340,-1320]\",\"[14,4260,4620,-1320]\",\"[49,5100,5418,-1320]\",\"[56,5418,5520,-1320]\",\"[32,1440,1560,-1356]\",\"[84,3180,3960,-1356]\",\"[14,3960,4050,-1356]\",\"[5,6300,6480,-1368]\",\"[78,6480,7320,-1368]\",\"[38,7920,8400,-1368]\",\"[40,1152,1260,-1380]\",\"[64,1800,1980,-1380]\",\"[12,2340,2460,-1392]\",\"[63,0,480,-1404]\",\"[35,480,780,-1404]\",\"[63,8400,8640,-1404]\",\"[32,1560,1650,-1416]\",\"[56,5520,5911.5,-1440]\",\"[43,7320,7680,-1440]\",\"[64,1980,2160,-1464]\",\"[18,5460,5520,-1464]\",\"[5,5911.5,5970,-1464]\",\"[18,5370,5460,-1526]\",\"[5,5970,6030,-1526]\",\"[64,2160,2460,-1536]\",\"[12,2460,3252,-1536]\",\"[14,4050,4260,-1536]\",\"[27,4260,4620,-1536]\",\"[14,4620,5232,-1536]\",\"[18,4860,4920,-1560]\",\"[5,6030,6060,-1560]\",\"[40,780,1152,-1620]\",\"[69,1152,1650,-1620]\",\"[18,5310,5370,-1620]\",\"[5,6060,6300,-1620]\",\"[60,6300,6480,-1620]\",\"[81,7920,8400,-1620]\",\"[32,1650,2370,-1680]\",\"[18,4920,5310,-1680]\",\"[79,5310,6120,-1680]\",\"[81,0,480,-1800]\",\"[42,1260,1650,-1800]\",\"[86,2370,3252,-1800]\",\"[12,3252,4050,-1800]\",\"[55,4050,4920,-1800]\",\"[60,6480,7680,-1800]\",\"[43,7680,8400,-1800]\",\"[81,8400,8640,-1800]\",\"[81,270,480,-1824]\",\"[42,0,1260,-1980]\",\"[17,2760,4920,-1980]\",\"[2,4920,6480,-1980]\",\"[52,1260,2760,-2040]\",\"[57,0,8640,-2160]\"]" @@ -47315,14 +47253,14 @@ "comment": "", "meta": { "range": [ - 244213, - 244223 + 243629, + 243639 ], "filename": "astronomy.js", - "lineno": 6086, + "lineno": 6070, "columnno": 4, "code": { - "id": "astnode100023273", + "id": "astnode100023229", "name": "ConstelRot" } }, @@ -47337,14 +47275,14 @@ "comment": "", "meta": { "range": [ - 244229, - 244238 + 243645, + 243654 ], "filename": "astronomy.js", - "lineno": 6087, + "lineno": 6071, "columnno": 4, "code": { - "id": "astnode100023276", + "id": "astnode100023232", "name": "Epoch2000" } }, @@ -47359,14 +47297,14 @@ "comment": "/**\n * @brief Reports the constellation that a given celestial point lies within.\n *\n * @property {string} symbol\n * 3-character mnemonic symbol for the constellation, e.g. \"Ori\".\n *\n * @property {string} name\n * Full name of constellation, e.g. \"Orion\".\n *\n * @property {number} ra1875\n * Right ascension expressed in B1875 coordinates.\n *\n * @property {number} dec1875\n * Declination expressed in B1875 coordinates.\n */", "meta": { "range": [ - 244682, - 244882 + 244098, + 244298 ], "filename": "astronomy.js", - "lineno": 6103, + "lineno": 6087, "columnno": 0, "code": { - "id": "astnode100023278", + "id": "astnode100023234", "name": "ConstellationInfo", "type": "ClassDeclaration", "paramnames": [ @@ -47433,14 +47371,14 @@ "comment": "", "meta": { "range": [ - 244712, - 244880 + 244128, + 244296 ], "filename": "astronomy.js", - "lineno": 6104, + "lineno": 6088, "columnno": 4, "code": { - "id": "astnode100023281", + "id": "astnode100023237", "name": "ConstellationInfo", "type": "MethodDefinition", "paramnames": [ @@ -47465,14 +47403,14 @@ "comment": "/**\n * @brief Reports the constellation that a given celestial point lies within.\n *\n * @property {string} symbol\n * 3-character mnemonic symbol for the constellation, e.g. \"Ori\".\n *\n * @property {string} name\n * Full name of constellation, e.g. \"Orion\".\n *\n * @property {number} ra1875\n * Right ascension expressed in B1875 coordinates.\n *\n * @property {number} dec1875\n * Declination expressed in B1875 coordinates.\n */", "meta": { "range": [ - 244682, - 244882 + 244098, + 244298 ], "filename": "astronomy.js", - "lineno": 6103, + "lineno": 6087, "columnno": 0, "code": { - "id": "astnode100023278", + "id": "astnode100023234", "name": "ConstellationInfo", "type": "ClassDeclaration", "paramnames": [ @@ -47538,14 +47476,14 @@ "comment": "", "meta": { "range": [ - 244765, - 244785 + 244181, + 244201 ], "filename": "astronomy.js", - "lineno": 6105, + "lineno": 6089, "columnno": 8, "code": { - "id": "astnode100023290", + "id": "astnode100023246", "name": "this.symbol", "type": "Identifier", "value": "symbol", @@ -47563,14 +47501,14 @@ "comment": "", "meta": { "range": [ - 244795, - 244811 + 244211, + 244227 ], "filename": "astronomy.js", - "lineno": 6106, + "lineno": 6090, "columnno": 8, "code": { - "id": "astnode100023296", + "id": "astnode100023252", "name": "this.name", "type": "Identifier", "value": "name", @@ -47588,14 +47526,14 @@ "comment": "", "meta": { "range": [ - 244821, - 244841 + 244237, + 244257 ], "filename": "astronomy.js", - "lineno": 6107, + "lineno": 6091, "columnno": 8, "code": { - "id": "astnode100023302", + "id": "astnode100023258", "name": "this.ra1875", "type": "Identifier", "value": "ra1875", @@ -47613,14 +47551,14 @@ "comment": "", "meta": { "range": [ - 244851, - 244873 + 244267, + 244289 ], "filename": "astronomy.js", - "lineno": 6108, + "lineno": 6092, "columnno": 8, "code": { - "id": "astnode100023308", + "id": "astnode100023264", "name": "this.dec1875", "type": "Identifier", "value": "dec1875", @@ -47638,14 +47576,14 @@ "comment": "", "meta": { "range": [ - 244883, - 244928 + 244299, + 244344 ], "filename": "astronomy.js", - "lineno": 6111, + "lineno": 6095, "columnno": 0, "code": { - "id": "astnode100023314", + "id": "astnode100023270", "name": "exports.ConstellationInfo", "type": "Identifier", "value": "ConstellationInfo", @@ -47662,14 +47600,14 @@ "comment": "/**\n * @brief Determines the constellation that contains the given point in the sky.\n *\n * Given J2000 equatorial (EQJ) coordinates of a point in the sky,\n * determines the constellation that contains that point.\n *\n * @param {number} ra\n * The right ascension (RA) of a point in the sky, using the J2000 equatorial system.\n *\n * @param {number} dec\n * The declination (DEC) of a point in the sky, using the J2000 equatorial system.\n *\n * @returns {ConstellationInfo}\n * An object that contains the 3-letter abbreviation and full name\n * of the constellation that contains the given (ra,dec), along with\n * the converted B1875 (ra,dec) for that point.\n */", "meta": { "range": [ - 245611, - 247815 + 245027, + 247231 ], "filename": "astronomy.js", - "lineno": 6129, + "lineno": 6113, "columnno": 0, "code": { - "id": "astnode100023319", + "id": "astnode100023275", "name": "Constellation", "type": "FunctionDeclaration", "paramnames": [ @@ -47741,14 +47679,14 @@ "comment": "", "meta": { "range": [ - 245852, - 245862 + 245268, + 245278 ], "filename": "astronomy.js", - "lineno": 6136, + "lineno": 6120, "columnno": 4, "code": { - "id": "astnode100023346", + "id": "astnode100023302", "name": "ra", "type": "Literal", "funcscope": "Constellation", @@ -47767,14 +47705,14 @@ "comment": "", "meta": { "range": [ - 245892, - 245902 + 245308, + 245318 ], "filename": "astronomy.js", - "lineno": 6138, + "lineno": 6122, "columnno": 8, "code": { - "id": "astnode100023355", + "id": "astnode100023311", "name": "ra", "type": "Literal", "funcscope": "Constellation", @@ -47793,14 +47731,14 @@ "comment": "", "meta": { "range": [ - 246684, - 246748 + 246100, + 246164 ], "filename": "astronomy.js", - "lineno": 6153, + "lineno": 6137, "columnno": 8, "code": { - "id": "astnode100023363", + "id": "astnode100023319", "name": "ConstelRot", "type": "CallExpression", "funcscope": "Constellation", @@ -47819,14 +47757,14 @@ "comment": "", "meta": { "range": [ - 246758, - 246786 + 246174, + 246202 ], "filename": "astronomy.js", - "lineno": 6154, + "lineno": 6138, "columnno": 8, "code": { - "id": "astnode100023372", + "id": "astnode100023328", "name": "Epoch2000", "type": "NewExpression", "funcscope": "Constellation", @@ -47845,14 +47783,14 @@ "comment": "", "meta": { "range": [ - 246852, - 246896 + 246268, + 246312 ], "filename": "astronomy.js", - "lineno": 6157, + "lineno": 6141, "columnno": 10, "code": { - "id": "astnode100023378", + "id": "astnode100023334", "name": "sph2000", "type": "NewExpression", "value": "" @@ -47870,14 +47808,14 @@ "comment": "", "meta": { "range": [ - 246908, - 246954 + 246324, + 246370 ], "filename": "astronomy.js", - "lineno": 6158, + "lineno": 6142, "columnno": 10, "code": { - "id": "astnode100023388", + "id": "astnode100023344", "name": "vec2000", "type": "CallExpression", "value": "" @@ -47895,14 +47833,14 @@ "comment": "", "meta": { "range": [ - 246966, - 247009 + 246382, + 246425 ], "filename": "astronomy.js", - "lineno": 6159, + "lineno": 6143, "columnno": 10, "code": { - "id": "astnode100023395", + "id": "astnode100023351", "name": "vec1875", "type": "CallExpression", "value": "" @@ -47920,14 +47858,14 @@ "comment": "", "meta": { "range": [ - 247021, - 247057 + 246437, + 246473 ], "filename": "astronomy.js", - "lineno": 6160, + "lineno": 6144, "columnno": 10, "code": { - "id": "astnode100023402", + "id": "astnode100023358", "name": "equ1875", "type": "CallExpression", "value": "" @@ -47945,14 +47883,14 @@ "comment": "", "meta": { "range": [ - 247134, - 247152 + 246550, + 246568 ], "filename": "astronomy.js", - "lineno": 6162, + "lineno": 6146, "columnno": 10, "code": { - "id": "astnode100023408", + "id": "astnode100023364", "name": "fd", "type": "BinaryExpression", "value": "" @@ -47970,14 +47908,14 @@ "comment": "", "meta": { "range": [ - 247219, - 247231 + 246635, + 246647 ], "filename": "astronomy.js", - "lineno": 6163, + "lineno": 6147, "columnno": 10, "code": { - "id": "astnode100023416", + "id": "astnode100023372", "name": "fr", "type": "BinaryExpression", "value": "" @@ -47995,14 +47933,14 @@ "comment": "", "meta": { "range": [ - 247308, - 247309 + 246724, + 246725 ], "filename": "astronomy.js", - "lineno": 6164, + "lineno": 6148, "columnno": 13, "code": { - "id": "astnode100023423", + "id": "astnode100023379", "name": "b" } }, @@ -48018,14 +47956,14 @@ "comment": "", "meta": { "range": [ - 247417, - 247432 + 246833, + 246848 ], "filename": "astronomy.js", - "lineno": 6166, + "lineno": 6150, "columnno": 14, "code": { - "id": "astnode100023428", + "id": "astnode100023384", "name": "dec", "type": "BinaryExpression", "value": "" @@ -48043,14 +47981,14 @@ "comment": "", "meta": { "range": [ - 247448, - 247465 + 246864, + 246881 ], "filename": "astronomy.js", - "lineno": 6167, + "lineno": 6151, "columnno": 14, "code": { - "id": "astnode100023436", + "id": "astnode100023392", "name": "ra_lo", "type": "BinaryExpression", "value": "" @@ -48068,14 +48006,14 @@ "comment": "", "meta": { "range": [ - 247481, - 247498 + 246897, + 246914 ], "filename": "astronomy.js", - "lineno": 6168, + "lineno": 6152, "columnno": 14, "code": { - "id": "astnode100023444", + "id": "astnode100023400", "name": "ra_hi", "type": "BinaryExpression", "value": "" @@ -48093,14 +48031,14 @@ "comment": "", "meta": { "range": [ - 247597, - 247619 + 247013, + 247035 ], "filename": "astronomy.js", - "lineno": 6170, + "lineno": 6154, "columnno": 18, "code": { - "id": "astnode100023471", + "id": "astnode100023427", "name": "c", "type": "MemberExpression", "value": "ConstelNames[undefined]" @@ -48118,14 +48056,14 @@ "comment": "", "meta": { "range": [ - 247816, - 247853 + 247232, + 247269 ], "filename": "astronomy.js", - "lineno": 6177, + "lineno": 6161, "columnno": 0, "code": { - "id": "astnode100023496", + "id": "astnode100023452", "name": "exports.Constellation", "type": "Identifier", "value": "Constellation", @@ -48142,14 +48080,14 @@ "comment": "/**\n * @brief Returns information about a lunar eclipse.\n *\n * Returned by {@link SearchLunarEclipse} or {@link NextLunarEclipse}\n * to report information about a lunar eclipse event.\n * When a lunar eclipse is found, it is classified as penumbral, partial, or total.\n * Penumbral eclipses are difficult to observe, because the moon is only slightly dimmed\n * by the Earth's penumbra; no part of the Moon touches the Earth's umbra.\n * Partial eclipses occur when part, but not all, of the Moon touches the Earth's umbra.\n * Total eclipses occur when the entire Moon passes into the Earth's umbra.\n *\n * The `kind` field thus holds one of the strings `\"penumbral\"`, `\"partial\"`,\n * or `\"total\"`, depending on the kind of lunar eclipse found.\n *\n * Field `peak` holds the date and time of the peak of the eclipse, when it is at its peak.\n *\n * Fields `sd_penum`, `sd_partial`, and `sd_total` hold the semi-duration of each phase\n * of the eclipse, which is half of the amount of time the eclipse spends in each\n * phase (expressed in minutes), or 0 if the eclipse never reaches that phase.\n * By converting from minutes to days, and subtracting/adding with `peak`, the caller\n * may determine the date and time of the beginning/end of each eclipse phase.\n *\n * @property {string} kind\n * The type of lunar eclipse found.\n *\n * @property {AstroTime} peak\n * The time of the eclipse at its peak.\n *\n * @property {number} sd_penum\n * The semi-duration of the penumbral phase in minutes.\n *\n * @property {number} sd_partial\n * The semi-duration of the penumbral phase in minutes, or 0.0 if none.\n *\n * @property {number} sd_total\n * The semi-duration of the penumbral phase in minutes, or 0.0 if none.\n *\n */", "meta": { "range": [ - 249583, - 249835 + 248999, + 249251 ], "filename": "astronomy.js", - "lineno": 6216, + "lineno": 6200, "columnno": 0, "code": { - "id": "astnode100023501", + "id": "astnode100023457", "name": "LunarEclipseInfo", "type": "ClassDeclaration", "paramnames": [ @@ -48226,14 +48164,14 @@ "comment": "", "meta": { "range": [ - 249612, - 249833 + 249028, + 249249 ], "filename": "astronomy.js", - "lineno": 6217, + "lineno": 6201, "columnno": 4, "code": { - "id": "astnode100023504", + "id": "astnode100023460", "name": "LunarEclipseInfo", "type": "MethodDefinition", "paramnames": [ @@ -48259,14 +48197,14 @@ "comment": "/**\n * @brief Returns information about a lunar eclipse.\n *\n * Returned by {@link SearchLunarEclipse} or {@link NextLunarEclipse}\n * to report information about a lunar eclipse event.\n * When a lunar eclipse is found, it is classified as penumbral, partial, or total.\n * Penumbral eclipses are difficult to observe, because the moon is only slightly dimmed\n * by the Earth's penumbra; no part of the Moon touches the Earth's umbra.\n * Partial eclipses occur when part, but not all, of the Moon touches the Earth's umbra.\n * Total eclipses occur when the entire Moon passes into the Earth's umbra.\n *\n * The `kind` field thus holds one of the strings `\"penumbral\"`, `\"partial\"`,\n * or `\"total\"`, depending on the kind of lunar eclipse found.\n *\n * Field `peak` holds the date and time of the peak of the eclipse, when it is at its peak.\n *\n * Fields `sd_penum`, `sd_partial`, and `sd_total` hold the semi-duration of each phase\n * of the eclipse, which is half of the amount of time the eclipse spends in each\n * phase (expressed in minutes), or 0 if the eclipse never reaches that phase.\n * By converting from minutes to days, and subtracting/adding with `peak`, the caller\n * may determine the date and time of the beginning/end of each eclipse phase.\n *\n * @property {string} kind\n * The type of lunar eclipse found.\n *\n * @property {AstroTime} peak\n * The time of the eclipse at its peak.\n *\n * @property {number} sd_penum\n * The semi-duration of the penumbral phase in minutes.\n *\n * @property {number} sd_partial\n * The semi-duration of the penumbral phase in minutes, or 0.0 if none.\n *\n * @property {number} sd_total\n * The semi-duration of the penumbral phase in minutes, or 0.0 if none.\n *\n */", "meta": { "range": [ - 249583, - 249835 + 248999, + 249251 ], "filename": "astronomy.js", - "lineno": 6216, + "lineno": 6200, "columnno": 0, "code": { - "id": "astnode100023501", + "id": "astnode100023457", "name": "LunarEclipseInfo", "type": "ClassDeclaration", "paramnames": [ @@ -48342,14 +48280,14 @@ "comment": "", "meta": { "range": [ - 249678, - 249694 + 249094, + 249110 ], "filename": "astronomy.js", - "lineno": 6218, + "lineno": 6202, "columnno": 8, "code": { - "id": "astnode100023514", + "id": "astnode100023470", "name": "this.kind", "type": "Identifier", "value": "kind", @@ -48367,14 +48305,14 @@ "comment": "", "meta": { "range": [ - 249704, - 249720 + 249120, + 249136 ], "filename": "astronomy.js", - "lineno": 6219, + "lineno": 6203, "columnno": 8, "code": { - "id": "astnode100023520", + "id": "astnode100023476", "name": "this.peak", "type": "Identifier", "value": "peak", @@ -48392,14 +48330,14 @@ "comment": "", "meta": { "range": [ - 249730, - 249754 + 249146, + 249170 ], "filename": "astronomy.js", - "lineno": 6220, + "lineno": 6204, "columnno": 8, "code": { - "id": "astnode100023526", + "id": "astnode100023482", "name": "this.sd_penum", "type": "Identifier", "value": "sd_penum", @@ -48417,14 +48355,14 @@ "comment": "", "meta": { "range": [ - 249764, - 249792 + 249180, + 249208 ], "filename": "astronomy.js", - "lineno": 6221, + "lineno": 6205, "columnno": 8, "code": { - "id": "astnode100023532", + "id": "astnode100023488", "name": "this.sd_partial", "type": "Identifier", "value": "sd_partial", @@ -48442,14 +48380,14 @@ "comment": "", "meta": { "range": [ - 249802, - 249826 + 249218, + 249242 ], "filename": "astronomy.js", - "lineno": 6222, + "lineno": 6206, "columnno": 8, "code": { - "id": "astnode100023538", + "id": "astnode100023494", "name": "this.sd_total", "type": "Identifier", "value": "sd_total", @@ -48467,14 +48405,14 @@ "comment": "", "meta": { "range": [ - 249836, - 249879 + 249252, + 249295 ], "filename": "astronomy.js", - "lineno": 6225, + "lineno": 6209, "columnno": 0, "code": { - "id": "astnode100023544", + "id": "astnode100023500", "name": "exports.LunarEclipseInfo", "type": "Identifier", "value": "LunarEclipseInfo", @@ -48491,14 +48429,14 @@ "comment": "/**\n * @ignore\n *\n * @brief Represents the relative alignment of the Earth and another body, and their respective shadows.\n *\n * This is an internal data structure used to assist calculation of\n * lunar eclipses, solar eclipses, and transits of Mercury and Venus.\n *\n * Definitions:\n *\n * casting body = A body that casts a shadow of interest, possibly striking another body.\n *\n * receiving body = A body on which the shadow of another body might land.\n *\n * shadow axis = The line passing through the center of the Sun and the center of the casting body.\n *\n * shadow plane = The plane passing through the center of a receiving body,\n * and perpendicular to the shadow axis.\n *\n * @property {AstroTime} time\n * The time associated with the shadow calculation.\n *\n * @property {number} u\n * The distance [au] between the center of the casting body and the shadow plane.\n *\n * @property {number} r\n * The distance [km] between center of receiving body and the shadow axis.\n *\n * @property {number} k\n * The umbra radius [km] at the shadow plane.\n *\n * @property {number} p\n * The penumbra radius [km] at the shadow plane.\n *\n * @property {Vector} target\n * The location in space where we are interested in determining how close a shadow falls.\n * For example, when calculating lunar eclipses, `target` would be the center of the Moon\n * expressed in geocentric coordinates. Then we can evaluate how far the center of the Earth's\n * shadow cone approaches the center of the Moon.\n * The vector components are expressed in [au].\n *\n * @property {Vector} dir\n * The direction in space that the shadow points away from the center of a shadow-casting body.\n * This vector lies on the shadow axis and points away from the Sun.\n * In other words: the direction light from the Sun would be traveling,\n * except that the center of a body (Earth, Moon, Mercury, or Venus) is blocking it.\n * The distance units do not matter, because the vector will be normalized.\n */", "meta": { "range": [ - 251914, - 252149 + 251330, + 251565 ], "filename": "astronomy.js", - "lineno": 6274, + "lineno": 6258, "columnno": 0, "code": { - "id": "astnode100023549", + "id": "astnode100023505", "name": "ShadowInfo", "type": "ClassDeclaration", "paramnames": [ @@ -48596,14 +48534,14 @@ "comment": "", "meta": { "range": [ - 251937, - 252147 + 251353, + 251563 ], "filename": "astronomy.js", - "lineno": 6275, + "lineno": 6259, "columnno": 4, "code": { - "id": "astnode100023552", + "id": "astnode100023508", "name": "ShadowInfo", "type": "MethodDefinition", "paramnames": [ @@ -48631,14 +48569,14 @@ "comment": "/**\n * @ignore\n *\n * @brief Represents the relative alignment of the Earth and another body, and their respective shadows.\n *\n * This is an internal data structure used to assist calculation of\n * lunar eclipses, solar eclipses, and transits of Mercury and Venus.\n *\n * Definitions:\n *\n * casting body = A body that casts a shadow of interest, possibly striking another body.\n *\n * receiving body = A body on which the shadow of another body might land.\n *\n * shadow axis = The line passing through the center of the Sun and the center of the casting body.\n *\n * shadow plane = The plane passing through the center of a receiving body,\n * and perpendicular to the shadow axis.\n *\n * @property {AstroTime} time\n * The time associated with the shadow calculation.\n *\n * @property {number} u\n * The distance [au] between the center of the casting body and the shadow plane.\n *\n * @property {number} r\n * The distance [km] between center of receiving body and the shadow axis.\n *\n * @property {number} k\n * The umbra radius [km] at the shadow plane.\n *\n * @property {number} p\n * The penumbra radius [km] at the shadow plane.\n *\n * @property {Vector} target\n * The location in space where we are interested in determining how close a shadow falls.\n * For example, when calculating lunar eclipses, `target` would be the center of the Moon\n * expressed in geocentric coordinates. Then we can evaluate how far the center of the Earth's\n * shadow cone approaches the center of the Moon.\n * The vector components are expressed in [au].\n *\n * @property {Vector} dir\n * The direction in space that the shadow points away from the center of a shadow-casting body.\n * This vector lies on the shadow axis and points away from the Sun.\n * In other words: the direction light from the Sun would be traveling,\n * except that the center of a body (Earth, Moon, Mercury, or Venus) is blocking it.\n * The distance units do not matter, because the vector will be normalized.\n */", "meta": { "range": [ - 251914, - 252149 + 251330, + 251565 ], "filename": "astronomy.js", - "lineno": 6274, + "lineno": 6258, "columnno": 0, "code": { - "id": "astnode100023549", + "id": "astnode100023505", "name": "ShadowInfo", "type": "ClassDeclaration", "paramnames": [ @@ -48735,14 +48673,14 @@ "comment": "", "meta": { "range": [ - 251990, - 252006 + 251406, + 251422 ], "filename": "astronomy.js", - "lineno": 6276, + "lineno": 6260, "columnno": 8, "code": { - "id": "astnode100023564", + "id": "astnode100023520", "name": "this.time", "type": "Identifier", "value": "time", @@ -48760,14 +48698,14 @@ "comment": "", "meta": { "range": [ - 252016, - 252026 + 251432, + 251442 ], "filename": "astronomy.js", - "lineno": 6277, + "lineno": 6261, "columnno": 8, "code": { - "id": "astnode100023570", + "id": "astnode100023526", "name": "this.u", "type": "Identifier", "value": "u", @@ -48785,14 +48723,14 @@ "comment": "", "meta": { "range": [ - 252036, - 252046 + 251452, + 251462 ], "filename": "astronomy.js", - "lineno": 6278, + "lineno": 6262, "columnno": 8, "code": { - "id": "astnode100023576", + "id": "astnode100023532", "name": "this.r", "type": "Identifier", "value": "r", @@ -48810,14 +48748,14 @@ "comment": "", "meta": { "range": [ - 252056, - 252066 + 251472, + 251482 ], "filename": "astronomy.js", - "lineno": 6279, + "lineno": 6263, "columnno": 8, "code": { - "id": "astnode100023582", + "id": "astnode100023538", "name": "this.k", "type": "Identifier", "value": "k", @@ -48835,14 +48773,14 @@ "comment": "", "meta": { "range": [ - 252076, - 252086 + 251492, + 251502 ], "filename": "astronomy.js", - "lineno": 6280, + "lineno": 6264, "columnno": 8, "code": { - "id": "astnode100023588", + "id": "astnode100023544", "name": "this.p", "type": "Identifier", "value": "p", @@ -48860,14 +48798,14 @@ "comment": "", "meta": { "range": [ - 252096, - 252116 + 251512, + 251532 ], "filename": "astronomy.js", - "lineno": 6281, + "lineno": 6265, "columnno": 8, "code": { - "id": "astnode100023594", + "id": "astnode100023550", "name": "this.target", "type": "Identifier", "value": "target", @@ -48885,14 +48823,14 @@ "comment": "", "meta": { "range": [ - 252126, - 252140 + 251542, + 251556 ], "filename": "astronomy.js", - "lineno": 6282, + "lineno": 6266, "columnno": 8, "code": { - "id": "astnode100023600", + "id": "astnode100023556", "name": "this.dir", "type": "Identifier", "value": "dir", @@ -48910,14 +48848,14 @@ "comment": "", "meta": { "range": [ - 252150, - 252725 + 251566, + 252141 ], "filename": "astronomy.js", - "lineno": 6285, + "lineno": 6269, "columnno": 0, "code": { - "id": "astnode100023605", + "id": "astnode100023561", "name": "CalcShadow", "type": "FunctionDeclaration", "paramnames": [ @@ -48948,14 +48886,14 @@ "comment": "", "meta": { "range": [ - 252217, - 252327 + 251633, + 251743 ], "filename": "astronomy.js", - "lineno": 6286, + "lineno": 6270, "columnno": 10, "code": { - "id": "astnode100023613", + "id": "astnode100023569", "name": "u", "type": "BinaryExpression", "value": "" @@ -48973,14 +48911,14 @@ "comment": "", "meta": { "range": [ - 252339, - 252366 + 251755, + 251782 ], "filename": "astronomy.js", - "lineno": 6287, + "lineno": 6271, "columnno": 10, "code": { - "id": "astnode100023663", + "id": "astnode100023619", "name": "dx", "type": "BinaryExpression", "value": "" @@ -48998,14 +48936,14 @@ "comment": "", "meta": { "range": [ - 252378, - 252405 + 251794, + 251821 ], "filename": "astronomy.js", - "lineno": 6288, + "lineno": 6272, "columnno": 10, "code": { - "id": "astnode100023675", + "id": "astnode100023631", "name": "dy", "type": "BinaryExpression", "value": "" @@ -49023,14 +48961,14 @@ "comment": "", "meta": { "range": [ - 252417, - 252444 + 251833, + 251860 ], "filename": "astronomy.js", - "lineno": 6289, + "lineno": 6273, "columnno": 10, "code": { - "id": "astnode100023687", + "id": "astnode100023643", "name": "dz", "type": "BinaryExpression", "value": "" @@ -49048,14 +48986,14 @@ "comment": "", "meta": { "range": [ - 252456, - 252510 + 251872, + 251926 ], "filename": "astronomy.js", - "lineno": 6290, + "lineno": 6274, "columnno": 10, "code": { - "id": "astnode100023699", + "id": "astnode100023655", "name": "r", "type": "BinaryExpression", "value": "" @@ -49073,14 +49011,14 @@ "comment": "", "meta": { "range": [ - 252522, - 252587 + 251938, + 252003 ], "filename": "astronomy.js", - "lineno": 6291, + "lineno": 6275, "columnno": 10, "code": { - "id": "astnode100023719", + "id": "astnode100023675", "name": "k", "type": "BinaryExpression", "value": "" @@ -49098,14 +49036,14 @@ "comment": "", "meta": { "range": [ - 252599, - 252664 + 252015, + 252080 ], "filename": "astronomy.js", - "lineno": 6292, + "lineno": 6276, "columnno": 10, "code": { - "id": "astnode100023732", + "id": "astnode100023688", "name": "p", "type": "BinaryExpression", "value": "" @@ -49123,14 +49061,14 @@ "comment": "", "meta": { "range": [ - 252726, - 252887 + 252142, + 252303 ], "filename": "astronomy.js", - "lineno": 6295, + "lineno": 6279, "columnno": 0, "code": { - "id": "astnode100023754", + "id": "astnode100023710", "name": "EarthShadow", "type": "FunctionDeclaration", "paramnames": [ @@ -49153,14 +49091,14 @@ "comment": "", "meta": { "range": [ - 252765, - 252795 + 252181, + 252211 ], "filename": "astronomy.js", - "lineno": 6296, + "lineno": 6280, "columnno": 10, "code": { - "id": "astnode100023759", + "id": "astnode100023715", "name": "e", "type": "CallExpression", "value": "" @@ -49178,14 +49116,14 @@ "comment": "", "meta": { "range": [ - 252807, - 252824 + 252223, + 252240 ], "filename": "astronomy.js", - "lineno": 6297, + "lineno": 6281, "columnno": 10, "code": { - "id": "astnode100023768", + "id": "astnode100023724", "name": "m", "type": "CallExpression", "value": "" @@ -49203,14 +49141,14 @@ "comment": "", "meta": { "range": [ - 252888, - 253452 + 252304, + 252868 ], "filename": "astronomy.js", - "lineno": 6300, + "lineno": 6284, "columnno": 0, "code": { - "id": "astnode100023780", + "id": "astnode100023736", "name": "MoonShadow", "type": "FunctionDeclaration", "paramnames": [ @@ -49237,14 +49175,14 @@ "comment": "", "meta": { "range": [ - 253107, - 253137 + 252523, + 252553 ], "filename": "astronomy.js", - "lineno": 6304, + "lineno": 6288, "columnno": 10, "code": { - "id": "astnode100023785", + "id": "astnode100023741", "name": "h", "type": "CallExpression", "value": "" @@ -49262,14 +49200,14 @@ "comment": "", "meta": { "range": [ - 253171, - 253188 + 252587, + 252604 ], "filename": "astronomy.js", - "lineno": 6305, + "lineno": 6289, "columnno": 10, "code": { - "id": "astnode100023794", + "id": "astnode100023750", "name": "m", "type": "CallExpression", "value": "" @@ -49287,14 +49225,14 @@ "comment": "", "meta": { "range": [ - 253255, - 253292 + 252671, + 252708 ], "filename": "astronomy.js", - "lineno": 6307, + "lineno": 6291, "columnno": 10, "code": { - "id": "astnode100023800", + "id": "astnode100023756", "name": "e", "type": "NewExpression", "value": "" @@ -49312,14 +49250,14 @@ "comment": "", "meta": { "range": [ - 253351, - 253361 + 252767, + 252777 ], "filename": "astronomy.js", - "lineno": 6309, + "lineno": 6293, "columnno": 4, "code": { - "id": "astnode100023820", + "id": "astnode100023776", "name": "m.x", "type": "MemberExpression", "funcscope": "MoonShadow", @@ -49338,14 +49276,14 @@ "comment": "", "meta": { "range": [ - 253367, - 253377 + 252783, + 252793 ], "filename": "astronomy.js", - "lineno": 6310, + "lineno": 6294, "columnno": 4, "code": { - "id": "astnode100023828", + "id": "astnode100023784", "name": "m.y", "type": "MemberExpression", "funcscope": "MoonShadow", @@ -49364,14 +49302,14 @@ "comment": "", "meta": { "range": [ - 253383, - 253393 + 252799, + 252809 ], "filename": "astronomy.js", - "lineno": 6311, + "lineno": 6295, "columnno": 4, "code": { - "id": "astnode100023836", + "id": "astnode100023792", "name": "m.z", "type": "MemberExpression", "funcscope": "MoonShadow", @@ -49390,14 +49328,14 @@ "comment": "", "meta": { "range": [ - 253453, - 254160 + 252869, + 253576 ], "filename": "astronomy.js", - "lineno": 6314, + "lineno": 6298, "columnno": 0, "code": { - "id": "astnode100023850", + "id": "astnode100023806", "name": "LocalMoonShadow", "type": "FunctionDeclaration", "paramnames": [ @@ -49426,14 +49364,14 @@ "comment": "", "meta": { "range": [ - 253708, - 253737 + 253124, + 253153 ], "filename": "astronomy.js", - "lineno": 6318, + "lineno": 6302, "columnno": 10, "code": { - "id": "astnode100023856", + "id": "astnode100023812", "name": "pos", "type": "CallExpression", "value": "" @@ -49451,14 +49389,14 @@ "comment": "", "meta": { "range": [ - 253749, - 253779 + 253165, + 253195 ], "filename": "astronomy.js", - "lineno": 6319, + "lineno": 6303, "columnno": 10, "code": { - "id": "astnode100023863", + "id": "astnode100023819", "name": "h", "type": "CallExpression", "value": "" @@ -49476,14 +49414,14 @@ "comment": "", "meta": { "range": [ - 253813, - 253830 + 253229, + 253246 ], "filename": "astronomy.js", - "lineno": 6320, + "lineno": 6304, "columnno": 10, "code": { - "id": "astnode100023872", + "id": "astnode100023828", "name": "m", "type": "CallExpression", "value": "" @@ -49501,14 +49439,14 @@ "comment": "", "meta": { "range": [ - 253938, - 254000 + 253354, + 253416 ], "filename": "astronomy.js", - "lineno": 6322, + "lineno": 6306, "columnno": 10, "code": { - "id": "astnode100023878", + "id": "astnode100023834", "name": "o", "type": "NewExpression", "value": "" @@ -49526,14 +49464,14 @@ "comment": "", "meta": { "range": [ - 254059, - 254069 + 253475, + 253485 ], "filename": "astronomy.js", - "lineno": 6324, + "lineno": 6308, "columnno": 4, "code": { - "id": "astnode100023905", + "id": "astnode100023861", "name": "m.x", "type": "MemberExpression", "funcscope": "LocalMoonShadow", @@ -49552,14 +49490,14 @@ "comment": "", "meta": { "range": [ - 254075, - 254085 + 253491, + 253501 ], "filename": "astronomy.js", - "lineno": 6325, + "lineno": 6309, "columnno": 4, "code": { - "id": "astnode100023913", + "id": "astnode100023869", "name": "m.y", "type": "MemberExpression", "funcscope": "LocalMoonShadow", @@ -49578,14 +49516,14 @@ "comment": "", "meta": { "range": [ - 254091, - 254101 + 253507, + 253517 ], "filename": "astronomy.js", - "lineno": 6326, + "lineno": 6310, "columnno": 4, "code": { - "id": "astnode100023921", + "id": "astnode100023877", "name": "m.z", "type": "MemberExpression", "funcscope": "LocalMoonShadow", @@ -49604,14 +49542,14 @@ "comment": "", "meta": { "range": [ - 254161, - 254740 + 253577, + 254156 ], "filename": "astronomy.js", - "lineno": 6329, + "lineno": 6313, "columnno": 0, "code": { - "id": "astnode100023935", + "id": "astnode100023891", "name": "PlanetShadow", "type": "FunctionDeclaration", "paramnames": [ @@ -49640,14 +49578,14 @@ "comment": "", "meta": { "range": [ - 254294, - 254326 + 253710, + 253742 ], "filename": "astronomy.js", - "lineno": 6331, + "lineno": 6315, "columnno": 10, "code": { - "id": "astnode100023942", + "id": "astnode100023898", "name": "g", "type": "CallExpression", "value": "" @@ -49665,14 +49603,14 @@ "comment": "", "meta": { "range": [ - 254404, - 254440 + 253820, + 253856 ], "filename": "astronomy.js", - "lineno": 6333, + "lineno": 6317, "columnno": 10, "code": { - "id": "astnode100023950", + "id": "astnode100023906", "name": "e", "type": "CallExpression", "value": "" @@ -49690,14 +49628,14 @@ "comment": "", "meta": { "range": [ - 254516, - 254569 + 253932, + 253985 ], "filename": "astronomy.js", - "lineno": 6335, + "lineno": 6319, "columnno": 10, "code": { - "id": "astnode100023960", + "id": "astnode100023916", "name": "p", "type": "NewExpression", "value": "" @@ -49715,14 +49653,14 @@ "comment": "", "meta": { "range": [ - 254642, - 254652 + 254058, + 254068 ], "filename": "astronomy.js", - "lineno": 6337, + "lineno": 6321, "columnno": 4, "code": { - "id": "astnode100023987", + "id": "astnode100023943", "name": "e.x", "type": "UnaryExpression", "funcscope": "PlanetShadow", @@ -49741,14 +49679,14 @@ "comment": "", "meta": { "range": [ - 254658, - 254668 + 254074, + 254084 ], "filename": "astronomy.js", - "lineno": 6338, + "lineno": 6322, "columnno": 4, "code": { - "id": "astnode100023996", + "id": "astnode100023952", "name": "e.y", "type": "UnaryExpression", "funcscope": "PlanetShadow", @@ -49767,14 +49705,14 @@ "comment": "", "meta": { "range": [ - 254674, - 254684 + 254090, + 254100 ], "filename": "astronomy.js", - "lineno": 6339, + "lineno": 6323, "columnno": 4, "code": { - "id": "astnode100024005", + "id": "astnode100023961", "name": "e.z", "type": "UnaryExpression", "funcscope": "PlanetShadow", @@ -49793,14 +49731,14 @@ "comment": "", "meta": { "range": [ - 254741, - 255002 + 254157, + 254418 ], "filename": "astronomy.js", - "lineno": 6342, + "lineno": 6326, "columnno": 0, "code": { - "id": "astnode100024020", + "id": "astnode100023976", "name": "ShadowDistanceSlope", "type": "FunctionDeclaration", "paramnames": [ @@ -49827,14 +49765,14 @@ "comment": "", "meta": { "range": [ - 254800, - 254818 + 254216, + 254234 ], "filename": "astronomy.js", - "lineno": 6343, + "lineno": 6327, "columnno": 10, "code": { - "id": "astnode100024026", + "id": "astnode100023982", "name": "dt", "type": "BinaryExpression", "value": "" @@ -49852,14 +49790,14 @@ "comment": "", "meta": { "range": [ - 254830, - 254852 + 254246, + 254268 ], "filename": "astronomy.js", - "lineno": 6344, + "lineno": 6328, "columnno": 10, "code": { - "id": "astnode100024032", + "id": "astnode100023988", "name": "t1", "type": "CallExpression", "value": "" @@ -49877,14 +49815,14 @@ "comment": "", "meta": { "range": [ - 254864, - 254886 + 254280, + 254302 ], "filename": "astronomy.js", - "lineno": 6345, + "lineno": 6329, "columnno": 10, "code": { - "id": "astnode100024041", + "id": "astnode100023997", "name": "t2", "type": "CallExpression", "value": "" @@ -49902,14 +49840,14 @@ "comment": "", "meta": { "range": [ - 254898, - 254922 + 254314, + 254338 ], "filename": "astronomy.js", - "lineno": 6346, + "lineno": 6330, "columnno": 10, "code": { - "id": "astnode100024050", + "id": "astnode100024006", "name": "shadow1", "type": "CallExpression", "value": "" @@ -49927,14 +49865,14 @@ "comment": "", "meta": { "range": [ - 254934, - 254958 + 254350, + 254374 ], "filename": "astronomy.js", - "lineno": 6347, + "lineno": 6331, "columnno": 10, "code": { - "id": "astnode100024056", + "id": "astnode100024012", "name": "shadow2", "type": "CallExpression", "value": "" @@ -49952,14 +49890,14 @@ "comment": "", "meta": { "range": [ - 255003, - 255288 + 254419, + 254704 ], "filename": "astronomy.js", - "lineno": 6350, + "lineno": 6334, "columnno": 0, "code": { - "id": "astnode100024071", + "id": "astnode100024027", "name": "PlanetShadowSlope", "type": "FunctionDeclaration", "paramnames": [ @@ -49985,14 +49923,14 @@ "comment": "", "meta": { "range": [ - 255072, - 255090 + 254488, + 254506 ], "filename": "astronomy.js", - "lineno": 6351, + "lineno": 6335, "columnno": 10, "code": { - "id": "astnode100024078", + "id": "astnode100024034", "name": "dt", "type": "BinaryExpression", "value": "" @@ -50010,14 +49948,14 @@ "comment": "", "meta": { "range": [ - 255102, - 255167 + 254518, + 254583 ], "filename": "astronomy.js", - "lineno": 6352, + "lineno": 6336, "columnno": 10, "code": { - "id": "astnode100024084", + "id": "astnode100024040", "name": "shadow1", "type": "CallExpression", "value": "" @@ -50035,14 +49973,14 @@ "comment": "", "meta": { "range": [ - 255179, - 255244 + 254595, + 254660 ], "filename": "astronomy.js", - "lineno": 6353, + "lineno": 6337, "columnno": 10, "code": { - "id": "astnode100024097", + "id": "astnode100024053", "name": "shadow2", "type": "CallExpression", "value": "" @@ -50060,14 +49998,14 @@ "comment": "", "meta": { "range": [ - 255289, - 255706 + 254705, + 255122 ], "filename": "astronomy.js", - "lineno": 6356, + "lineno": 6340, "columnno": 0, "code": { - "id": "astnode100024119", + "id": "astnode100024075", "name": "PeakEarthShadow", "type": "FunctionDeclaration", "paramnames": [ @@ -50093,14 +50031,14 @@ "comment": "", "meta": { "range": [ - 255346, - 255359 + 254762, + 254775 ], "filename": "astronomy.js", - "lineno": 6357, + "lineno": 6341, "columnno": 10, "code": { - "id": "astnode100024124", + "id": "astnode100024080", "name": "window", "type": "Literal", "value": 0.03 @@ -50118,14 +50056,14 @@ "comment": "", "meta": { "range": [ - 255433, - 255473 + 254849, + 254889 ], "filename": "astronomy.js", - "lineno": 6358, + "lineno": 6342, "columnno": 10, "code": { - "id": "astnode100024128", + "id": "astnode100024084", "name": "t1", "type": "CallExpression", "value": "" @@ -50143,14 +50081,14 @@ "comment": "", "meta": { "range": [ - 255485, - 255525 + 254901, + 254941 ], "filename": "astronomy.js", - "lineno": 6359, + "lineno": 6343, "columnno": 10, "code": { - "id": "astnode100024137", + "id": "astnode100024093", "name": "t2", "type": "CallExpression", "value": "" @@ -50168,14 +50106,14 @@ "comment": "", "meta": { "range": [ - 255537, - 255606 + 254953, + 255022 ], "filename": "astronomy.js", - "lineno": 6360, + "lineno": 6344, "columnno": 10, "code": { - "id": "astnode100024146", + "id": "astnode100024102", "name": "tx", "type": "CallExpression", "value": "" @@ -50193,14 +50131,14 @@ "comment": "", "meta": { "range": [ - 255707, - 256120 + 255123, + 255536 ], "filename": "astronomy.js", - "lineno": 6365, + "lineno": 6349, "columnno": 0, "code": { - "id": "astnode100024167", + "id": "astnode100024123", "name": "PeakMoonShadow", "type": "FunctionDeclaration", "paramnames": [ @@ -50226,14 +50164,14 @@ "comment": "", "meta": { "range": [ - 255763, - 255776 + 255179, + 255192 ], "filename": "astronomy.js", - "lineno": 6366, + "lineno": 6350, "columnno": 10, "code": { - "id": "astnode100024172", + "id": "astnode100024128", "name": "window", "type": "Literal", "value": 0.03 @@ -50251,14 +50189,14 @@ "comment": "", "meta": { "range": [ - 255850, - 255890 + 255266, + 255306 ], "filename": "astronomy.js", - "lineno": 6367, + "lineno": 6351, "columnno": 10, "code": { - "id": "astnode100024176", + "id": "astnode100024132", "name": "t1", "type": "CallExpression", "value": "" @@ -50276,14 +50214,14 @@ "comment": "", "meta": { "range": [ - 255902, - 255942 + 255318, + 255358 ], "filename": "astronomy.js", - "lineno": 6368, + "lineno": 6352, "columnno": 10, "code": { - "id": "astnode100024185", + "id": "astnode100024141", "name": "t2", "type": "CallExpression", "value": "" @@ -50301,14 +50239,14 @@ "comment": "", "meta": { "range": [ - 255954, - 256022 + 255370, + 255438 ], "filename": "astronomy.js", - "lineno": 6369, + "lineno": 6353, "columnno": 10, "code": { - "id": "astnode100024194", + "id": "astnode100024150", "name": "tx", "type": "CallExpression", "value": "" @@ -50326,14 +50264,14 @@ "comment": "", "meta": { "range": [ - 256121, - 256696 + 255537, + 256112 ], "filename": "astronomy.js", - "lineno": 6374, + "lineno": 6358, "columnno": 0, "code": { - "id": "astnode100024215", + "id": "astnode100024171", "name": "PeakPlanetShadow", "type": "FunctionDeclaration", "paramnames": [ @@ -50361,14 +50299,14 @@ "comment": "", "meta": { "range": [ - 256283, - 256295 + 255699, + 255711 ], "filename": "astronomy.js", - "lineno": 6376, + "lineno": 6360, "columnno": 10, "code": { - "id": "astnode100024222", + "id": "astnode100024178", "name": "window", "type": "Literal", "value": 1 @@ -50386,14 +50324,14 @@ "comment": "", "meta": { "range": [ - 256388, - 256428 + 255804, + 255844 ], "filename": "astronomy.js", - "lineno": 6377, + "lineno": 6361, "columnno": 10, "code": { - "id": "astnode100024226", + "id": "astnode100024182", "name": "t1", "type": "CallExpression", "value": "" @@ -50411,14 +50349,14 @@ "comment": "", "meta": { "range": [ - 256440, - 256480 + 255856, + 255896 ], "filename": "astronomy.js", - "lineno": 6378, + "lineno": 6362, "columnno": 10, "code": { - "id": "astnode100024235", + "id": "astnode100024191", "name": "t2", "type": "CallExpression", "value": "" @@ -50436,14 +50374,14 @@ "comment": "", "meta": { "range": [ - 256492, - 256570 + 255908, + 255986 ], "filename": "astronomy.js", - "lineno": 6379, + "lineno": 6363, "columnno": 10, "code": { - "id": "astnode100024244", + "id": "astnode100024200", "name": "tx", "type": "CallExpression", "value": "" @@ -50461,14 +50399,14 @@ "comment": "", "meta": { "range": [ - 256697, - 257332 + 256113, + 256748 ], "filename": "astronomy.js", - "lineno": 6384, + "lineno": 6368, "columnno": 0, "code": { - "id": "astnode100024268", + "id": "astnode100024224", "name": "PeakLocalMoonShadow", "type": "FunctionDeclaration", "paramnames": [ @@ -50496,14 +50434,14 @@ "comment": "", "meta": { "range": [ - 256886, - 256898 + 256302, + 256314 ], "filename": "astronomy.js", - "lineno": 6387, + "lineno": 6371, "columnno": 10, "code": { - "id": "astnode100024274", + "id": "astnode100024230", "name": "window", "type": "Literal", "value": 0.2 @@ -50521,14 +50459,14 @@ "comment": "", "meta": { "range": [ - 256910, - 256950 + 256326, + 256366 ], "filename": "astronomy.js", - "lineno": 6388, + "lineno": 6372, "columnno": 10, "code": { - "id": "astnode100024278", + "id": "astnode100024234", "name": "t1", "type": "CallExpression", "value": "" @@ -50546,14 +50484,14 @@ "comment": "", "meta": { "range": [ - 256962, - 257002 + 256378, + 256418 ], "filename": "astronomy.js", - "lineno": 6389, + "lineno": 6373, "columnno": 10, "code": { - "id": "astnode100024287", + "id": "astnode100024243", "name": "t2", "type": "CallExpression", "value": "" @@ -50571,14 +50509,14 @@ "comment": "", "meta": { "range": [ - 257008, - 257089 + 256424, + 256505 ], "filename": "astronomy.js", - "lineno": 6390, + "lineno": 6374, "columnno": 4, "code": { - "id": "astnode100024295", + "id": "astnode100024251", "name": "shadowfunc", "type": "FunctionDeclaration", "paramnames": [ @@ -50598,14 +50536,14 @@ "comment": "", "meta": { "range": [ - 257100, - 257170 + 256516, + 256586 ], "filename": "astronomy.js", - "lineno": 6393, + "lineno": 6377, "columnno": 10, "code": { - "id": "astnode100024305", + "id": "astnode100024261", "name": "time", "type": "CallExpression", "value": "" @@ -50623,14 +50561,14 @@ "comment": "", "meta": { "range": [ - 257333, - 258037 + 256749, + 257453 ], "filename": "astronomy.js", - "lineno": 6398, + "lineno": 6382, "columnno": 0, "code": { - "id": "astnode100024330", + "id": "astnode100024286", "name": "ShadowSemiDurationMinutes", "type": "FunctionDeclaration", "paramnames": [ @@ -50659,14 +50597,14 @@ "comment": "", "meta": { "range": [ - 257530, - 257569 + 256946, + 256985 ], "filename": "astronomy.js", - "lineno": 6400, + "lineno": 6384, "columnno": 10, "code": { - "id": "astnode100024337", + "id": "astnode100024293", "name": "window", "type": "BinaryExpression", "value": "" @@ -50684,14 +50622,14 @@ "comment": "", "meta": { "range": [ - 257581, - 257618 + 256997, + 257034 ], "filename": "astronomy.js", - "lineno": 6401, + "lineno": 6385, "columnno": 10, "code": { - "id": "astnode100024345", + "id": "astnode100024301", "name": "before", "type": "CallExpression", "value": "" @@ -50709,14 +50647,14 @@ "comment": "", "meta": { "range": [ - 257630, - 257666 + 257046, + 257082 ], "filename": "astronomy.js", - "lineno": 6402, + "lineno": 6386, "columnno": 10, "code": { - "id": "astnode100024354", + "id": "astnode100024310", "name": "after", "type": "CallExpression", "value": "" @@ -50734,14 +50672,14 @@ "comment": "", "meta": { "range": [ - 257678, - 257759 + 257094, + 257175 ], "filename": "astronomy.js", - "lineno": 6403, + "lineno": 6387, "columnno": 10, "code": { - "id": "astnode100024363", + "id": "astnode100024319", "name": "t1", "type": "CallExpression", "value": "" @@ -50759,14 +50697,14 @@ "comment": "", "meta": { "range": [ - 257771, - 257851 + 257187, + 257267 ], "filename": "astronomy.js", - "lineno": 6404, + "lineno": 6388, "columnno": 10, "code": { - "id": "astnode100024380", + "id": "astnode100024336", "name": "t2", "type": "CallExpression", "value": "" @@ -50784,14 +50722,14 @@ "comment": "", "meta": { "range": [ - 258038, - 258158 + 257454, + 257574 ], "filename": "astronomy.js", - "lineno": 6409, + "lineno": 6393, "columnno": 0, "code": { - "id": "astnode100024418", + "id": "astnode100024374", "name": "MoonEclipticLatitudeDegrees", "type": "FunctionDeclaration", "paramnames": [ @@ -50813,14 +50751,14 @@ "comment": "", "meta": { "range": [ - 258093, - 258114 + 257509, + 257530 ], "filename": "astronomy.js", - "lineno": 6410, + "lineno": 6394, "columnno": 10, "code": { - "id": "astnode100024423", + "id": "astnode100024379", "name": "moon", "type": "CallExpression", "value": "" @@ -50838,14 +50776,14 @@ "comment": "/**\n * @brief Searches for a lunar eclipse.\n *\n * This function finds the first lunar eclipse that occurs after `startTime`.\n * A lunar eclipse may be penumbral, partial, or total.\n * See {@link LunarEclipseInfo} for more information.\n * To find a series of lunar eclipses, call this function once,\n * then keep calling {@link NextLunarEclipse} as many times as desired,\n * passing in the `center` value returned from the previous call.\n *\n * @param {FlexibleDateTime} date\n * The date and time for starting the search for a lunar eclipse.\n *\n * @returns {LunarEclipseInfo}\n */", "meta": { "range": [ - 258742, - 261105 + 258158, + 260521 ], "filename": "astronomy.js", - "lineno": 6428, + "lineno": 6412, "columnno": 0, "code": { - "id": "astnode100024434", + "id": "astnode100024390", "name": "SearchLunarEclipse", "type": "FunctionDeclaration", "paramnames": [ @@ -50902,14 +50840,14 @@ "comment": "", "meta": { "range": [ - 258788, - 258807 + 258204, + 258223 ], "filename": "astronomy.js", - "lineno": 6429, + "lineno": 6413, "columnno": 10, "code": { - "id": "astnode100024439", + "id": "astnode100024395", "name": "PruneLatitude", "type": "Literal", "value": 1.8 @@ -50927,14 +50865,14 @@ "comment": "", "meta": { "range": [ - 258887, - 258910 + 258303, + 258326 ], "filename": "astronomy.js", - "lineno": 6430, + "lineno": 6414, "columnno": 8, "code": { - "id": "astnode100024443", + "id": "astnode100024399", "name": "fmtime", "type": "CallExpression", "value": "" @@ -50952,14 +50890,14 @@ "comment": "", "meta": { "range": [ - 258925, - 258936 + 258341, + 258352 ], "filename": "astronomy.js", - "lineno": 6431, + "lineno": 6415, "columnno": 13, "code": { - "id": "astnode100024450", + "id": "astnode100024406", "name": "fmcount", "type": "Literal", "value": 0 @@ -50977,14 +50915,14 @@ "comment": "", "meta": { "range": [ - 259053, - 259096 + 258469, + 258512 ], "filename": "astronomy.js", - "lineno": 6433, + "lineno": 6417, "columnno": 14, "code": { - "id": "astnode100024460", + "id": "astnode100024416", "name": "fullmoon", "type": "CallExpression", "value": "" @@ -51002,14 +50940,14 @@ "comment": "", "meta": { "range": [ - 259391, - 259440 + 258807, + 258856 ], "filename": "astronomy.js", - "lineno": 6441, + "lineno": 6425, "columnno": 14, "code": { - "id": "astnode100024473", + "id": "astnode100024429", "name": "eclip_lat", "type": "CallExpression", "value": "" @@ -51027,14 +50965,14 @@ "comment": "", "meta": { "range": [ - 259687, - 259721 + 259103, + 259137 ], "filename": "astronomy.js", - "lineno": 6445, + "lineno": 6429, "columnno": 18, "code": { - "id": "astnode100024488", + "id": "astnode100024444", "name": "shadow", "type": "CallExpression", "value": "" @@ -51052,14 +50990,14 @@ "comment": "", "meta": { "range": [ - 259889, - 259907 + 259305, + 259323 ], "filename": "astronomy.js", - "lineno": 6448, + "lineno": 6432, "columnno": 20, "code": { - "id": "astnode100024505", + "id": "astnode100024461", "name": "kind", "type": "Literal", "value": "penumbral" @@ -51077,14 +51015,14 @@ "comment": "", "meta": { "range": [ - 259929, - 259943 + 259345, + 259359 ], "filename": "astronomy.js", - "lineno": 6449, + "lineno": 6433, "columnno": 20, "code": { - "id": "astnode100024509", + "id": "astnode100024465", "name": "sd_total", "type": "Literal", "value": 0 @@ -51102,14 +51040,14 @@ "comment": "", "meta": { "range": [ - 259965, - 259981 + 259381, + 259397 ], "filename": "astronomy.js", - "lineno": 6450, + "lineno": 6434, "columnno": 20, "code": { - "id": "astnode100024513", + "id": "astnode100024469", "name": "sd_partial", "type": "Literal", "value": 0 @@ -51127,14 +51065,14 @@ "comment": "", "meta": { "range": [ - 260003, - 260091 + 259419, + 259507 ], "filename": "astronomy.js", - "lineno": 6451, + "lineno": 6435, "columnno": 20, "code": { - "id": "astnode100024517", + "id": "astnode100024473", "name": "sd_penum", "type": "CallExpression", "value": "" @@ -51152,14 +51090,14 @@ "comment": "", "meta": { "range": [ - 260240, - 260256 + 259656, + 259672 ], "filename": "astronomy.js", - "lineno": 6454, + "lineno": 6438, "columnno": 20, "code": { - "id": "astnode100024542", + "id": "astnode100024498", "name": "kind", "type": "Literal", "funcscope": "SearchLunarEclipse", @@ -51178,14 +51116,14 @@ "comment": "", "meta": { "range": [ - 260278, - 260371 + 259694, + 259787 ], "filename": "astronomy.js", - "lineno": 6455, + "lineno": 6439, "columnno": 20, "code": { - "id": "astnode100024546", + "id": "astnode100024502", "name": "sd_partial", "type": "CallExpression", "funcscope": "SearchLunarEclipse", @@ -51204,14 +51142,14 @@ "comment": "", "meta": { "range": [ - 260521, - 260535 + 259937, + 259951 ], "filename": "astronomy.js", - "lineno": 6458, + "lineno": 6442, "columnno": 24, "code": { - "id": "astnode100024571", + "id": "astnode100024527", "name": "kind", "type": "Literal", "funcscope": "SearchLunarEclipse", @@ -51230,14 +51168,14 @@ "comment": "", "meta": { "range": [ - 260561, - 260654 + 259977, + 260070 ], "filename": "astronomy.js", - "lineno": 6459, + "lineno": 6443, "columnno": 24, "code": { - "id": "astnode100024575", + "id": "astnode100024531", "name": "sd_total", "type": "CallExpression", "funcscope": "SearchLunarEclipse", @@ -51256,14 +51194,14 @@ "comment": "", "meta": { "range": [ - 260911, - 260940 + 260327, + 260356 ], "filename": "astronomy.js", - "lineno": 6466, + "lineno": 6450, "columnno": 8, "code": { - "id": "astnode100024599", + "id": "astnode100024555", "name": "fmtime", "type": "CallExpression", "funcscope": "SearchLunarEclipse", @@ -51282,14 +51220,14 @@ "comment": "", "meta": { "range": [ - 261106, - 261153 + 260522, + 260569 ], "filename": "astronomy.js", - "lineno": 6471, + "lineno": 6455, "columnno": 0, "code": { - "id": "astnode100024609", + "id": "astnode100024565", "name": "exports.SearchLunarEclipse", "type": "Identifier", "value": "SearchLunarEclipse", @@ -51306,14 +51244,14 @@ "comment": "/**\n @brief Reports the time and geographic location of the peak of a solar eclipse.\n\n Returned by {@link SearchGlobalSolarEclipse} or {@link NextGlobalSolarEclipse}\n to report information about a solar eclipse event.\n\n Field `peak` holds the date and time of the peak of the eclipse, defined as\n the instant when the axis of the Moon's shadow cone passes closest to the Earth's center.\n\n The eclipse is classified as partial, annular, or total, depending on the\n maximum amount of the Sun's disc obscured, as seen at the peak location\n on the surface of the Earth.\n\n The `kind` field thus holds one of the strings `\"partial\"`, `\"annular\"`, or `\"total\"`.\n A total eclipse is when the peak observer sees the Sun completely blocked by the Moon.\n An annular eclipse is like a total eclipse, but the Moon is too far from the Earth's surface\n to completely block the Sun; instead, the Sun takes on a ring-shaped appearance.\n A partial eclipse is when the Moon blocks part of the Sun's disc, but nobody on the Earth\n observes either a total or annular eclipse.\n\n If `kind` is `\"total\"` or `\"annular\"`, the `latitude` and `longitude`\n fields give the geographic coordinates of the center of the Moon's shadow projected\n onto the daytime side of the Earth at the instant of the eclipse's peak.\n If `kind` has any other value, `latitude` and `longitude` are undefined and should\n not be used.\n\n @property {string} kind\n One of the following string values: `\"partial\"`, `\"annular\"`, `\"total\"`.\n\n @property {AstroTime} peak\n The date and time of the peak of the eclipse, defined as the instant\n when the axis of the Moon's shadow cone passes closest to the Earth's center.\n\n @property {number} distance\n The distance in kilometers between the axis of the Moon's shadow cone\n and the center of the Earth at the time indicated by `peak`.\n\n @property {number | undefined} latitude\n If `kind` holds `\"total\"`, the geographic latitude in degrees\n where the center of the Moon's shadow falls on the Earth at the\n time indicated by `peak`; otherwise, `latitude` holds `undefined`.\n\n @property {number | undefined} longitude\n If `kind` holds `\"total\"`, the geographic longitude in degrees\n where the center of the Moon's shadow falls on the Earth at the\n time indicated by `peak`; otherwise, `longitude` holds `undefined`.\n*/", "meta": { "range": [ - 263611, - 263866 + 263027, + 263282 ], "filename": "astronomy.js", - "lineno": 6519, + "lineno": 6503, "columnno": 0, "code": { - "id": "astnode100024614", + "id": "astnode100024570", "name": "GlobalSolarEclipseInfo", "type": "ClassDeclaration", "paramnames": [ @@ -51392,14 +51330,14 @@ "comment": "", "meta": { "range": [ - 263646, - 263864 + 263062, + 263280 ], "filename": "astronomy.js", - "lineno": 6520, + "lineno": 6504, "columnno": 4, "code": { - "id": "astnode100024617", + "id": "astnode100024573", "name": "GlobalSolarEclipseInfo", "type": "MethodDefinition", "paramnames": [ @@ -51425,14 +51363,14 @@ "comment": "/**\n @brief Reports the time and geographic location of the peak of a solar eclipse.\n\n Returned by {@link SearchGlobalSolarEclipse} or {@link NextGlobalSolarEclipse}\n to report information about a solar eclipse event.\n\n Field `peak` holds the date and time of the peak of the eclipse, defined as\n the instant when the axis of the Moon's shadow cone passes closest to the Earth's center.\n\n The eclipse is classified as partial, annular, or total, depending on the\n maximum amount of the Sun's disc obscured, as seen at the peak location\n on the surface of the Earth.\n\n The `kind` field thus holds one of the strings `\"partial\"`, `\"annular\"`, or `\"total\"`.\n A total eclipse is when the peak observer sees the Sun completely blocked by the Moon.\n An annular eclipse is like a total eclipse, but the Moon is too far from the Earth's surface\n to completely block the Sun; instead, the Sun takes on a ring-shaped appearance.\n A partial eclipse is when the Moon blocks part of the Sun's disc, but nobody on the Earth\n observes either a total or annular eclipse.\n\n If `kind` is `\"total\"` or `\"annular\"`, the `latitude` and `longitude`\n fields give the geographic coordinates of the center of the Moon's shadow projected\n onto the daytime side of the Earth at the instant of the eclipse's peak.\n If `kind` has any other value, `latitude` and `longitude` are undefined and should\n not be used.\n\n @property {string} kind\n One of the following string values: `\"partial\"`, `\"annular\"`, `\"total\"`.\n\n @property {AstroTime} peak\n The date and time of the peak of the eclipse, defined as the instant\n when the axis of the Moon's shadow cone passes closest to the Earth's center.\n\n @property {number} distance\n The distance in kilometers between the axis of the Moon's shadow cone\n and the center of the Earth at the time indicated by `peak`.\n\n @property {number | undefined} latitude\n If `kind` holds `\"total\"`, the geographic latitude in degrees\n where the center of the Moon's shadow falls on the Earth at the\n time indicated by `peak`; otherwise, `latitude` holds `undefined`.\n\n @property {number | undefined} longitude\n If `kind` holds `\"total\"`, the geographic longitude in degrees\n where the center of the Moon's shadow falls on the Earth at the\n time indicated by `peak`; otherwise, `longitude` holds `undefined`.\n*/", "meta": { "range": [ - 263611, - 263866 + 263027, + 263282 ], "filename": "astronomy.js", - "lineno": 6519, + "lineno": 6503, "columnno": 0, "code": { - "id": "astnode100024614", + "id": "astnode100024570", "name": "GlobalSolarEclipseInfo", "type": "ClassDeclaration", "paramnames": [ @@ -51510,14 +51448,14 @@ "comment": "", "meta": { "range": [ - 263711, - 263727 + 263127, + 263143 ], "filename": "astronomy.js", - "lineno": 6521, + "lineno": 6505, "columnno": 8, "code": { - "id": "astnode100024627", + "id": "astnode100024583", "name": "this.kind", "type": "Identifier", "value": "kind", @@ -51535,14 +51473,14 @@ "comment": "", "meta": { "range": [ - 263737, - 263753 + 263153, + 263169 ], "filename": "astronomy.js", - "lineno": 6522, + "lineno": 6506, "columnno": 8, "code": { - "id": "astnode100024633", + "id": "astnode100024589", "name": "this.peak", "type": "Identifier", "value": "peak", @@ -51560,14 +51498,14 @@ "comment": "", "meta": { "range": [ - 263763, - 263787 + 263179, + 263203 ], "filename": "astronomy.js", - "lineno": 6523, + "lineno": 6507, "columnno": 8, "code": { - "id": "astnode100024639", + "id": "astnode100024595", "name": "this.distance", "type": "Identifier", "value": "distance", @@ -51585,14 +51523,14 @@ "comment": "", "meta": { "range": [ - 263797, - 263821 + 263213, + 263237 ], "filename": "astronomy.js", - "lineno": 6524, + "lineno": 6508, "columnno": 8, "code": { - "id": "astnode100024645", + "id": "astnode100024601", "name": "this.latitude", "type": "Identifier", "value": "latitude", @@ -51610,14 +51548,14 @@ "comment": "", "meta": { "range": [ - 263831, - 263857 + 263247, + 263273 ], "filename": "astronomy.js", - "lineno": 6525, + "lineno": 6509, "columnno": 8, "code": { - "id": "astnode100024651", + "id": "astnode100024607", "name": "this.longitude", "type": "Identifier", "value": "longitude", @@ -51635,14 +51573,14 @@ "comment": "", "meta": { "range": [ - 263867, - 263922 + 263283, + 263338 ], "filename": "astronomy.js", - "lineno": 6528, + "lineno": 6512, "columnno": 0, "code": { - "id": "astnode100024657", + "id": "astnode100024613", "name": "exports.GlobalSolarEclipseInfo", "type": "Identifier", "value": "GlobalSolarEclipseInfo", @@ -51659,14 +51597,14 @@ "comment": "", "meta": { "range": [ - 263924, - 264242 + 263340, + 263658 ], "filename": "astronomy.js", - "lineno": 6529, + "lineno": 6513, "columnno": 0, "code": { - "id": "astnode100024662", + "id": "astnode100024618", "name": "EclipseKindFromUmbra", "type": "FunctionDeclaration", "paramnames": [ @@ -51685,14 +51623,14 @@ "comment": "", "meta": { "range": [ - 264243, - 268347 + 263659, + 267763 ], "filename": "astronomy.js", - "lineno": 6535, + "lineno": 6519, "columnno": 0, "code": { - "id": "astnode100024673", + "id": "astnode100024629", "name": "GeoidIntersect", "type": "FunctionDeclaration", "paramnames": [ @@ -51744,14 +51682,14 @@ "comment": "", "meta": { "range": [ - 264285, - 264301 + 263701, + 263717 ], "filename": "astronomy.js", - "lineno": 6536, + "lineno": 6520, "columnno": 8, "code": { - "id": "astnode100024678", + "id": "astnode100024634", "name": "kind", "type": "Literal", "value": "partial" @@ -51769,14 +51707,14 @@ "comment": "", "meta": { "range": [ - 264311, - 264329 + 263727, + 263745 ], "filename": "astronomy.js", - "lineno": 6537, + "lineno": 6521, "columnno": 8, "code": { - "id": "astnode100024682", + "id": "astnode100024638", "name": "peak", "type": "MemberExpression", "value": "shadow.time" @@ -51794,14 +51732,14 @@ "comment": "", "meta": { "range": [ - 264339, - 264358 + 263755, + 263774 ], "filename": "astronomy.js", - "lineno": 6538, + "lineno": 6522, "columnno": 8, "code": { - "id": "astnode100024688", + "id": "astnode100024644", "name": "distance", "type": "MemberExpression", "value": "shadow.r" @@ -51819,14 +51757,14 @@ "comment": "", "meta": { "range": [ - 264368, - 264376 + 263784, + 263792 ], "filename": "astronomy.js", - "lineno": 6539, + "lineno": 6523, "columnno": 8, "code": { - "id": "astnode100024694", + "id": "astnode100024650", "name": "latitude" } }, @@ -51842,14 +51780,14 @@ "comment": "", "meta": { "range": [ - 264425, - 264434 + 263841, + 263850 ], "filename": "astronomy.js", - "lineno": 6540, + "lineno": 6524, "columnno": 8, "code": { - "id": "astnode100024697", + "id": "astnode100024653", "name": "longitude" } }, @@ -51865,14 +51803,14 @@ "comment": "", "meta": { "range": [ - 264764, - 264799 + 264180, + 264215 ], "filename": "astronomy.js", - "lineno": 6545, + "lineno": 6529, "columnno": 10, "code": { - "id": "astnode100024700", + "id": "astnode100024656", "name": "rot", "type": "CallExpression", "value": "" @@ -51890,14 +51828,14 @@ "comment": "", "meta": { "range": [ - 264811, - 264844 + 264227, + 264260 ], "filename": "astronomy.js", - "lineno": 6546, + "lineno": 6530, "columnno": 10, "code": { - "id": "astnode100024708", + "id": "astnode100024664", "name": "v", "type": "CallExpression", "value": "" @@ -51915,14 +51853,14 @@ "comment": "", "meta": { "range": [ - 264909, - 264945 + 264325, + 264361 ], "filename": "astronomy.js", - "lineno": 6547, + "lineno": 6531, "columnno": 10, "code": { - "id": "astnode100024717", + "id": "astnode100024673", "name": "e", "type": "CallExpression", "value": "" @@ -51940,14 +51878,14 @@ "comment": "", "meta": { "range": [ - 265290, - 265306 + 264706, + 264722 ], "filename": "astronomy.js", - "lineno": 6552, + "lineno": 6536, "columnno": 4, "code": { - "id": "astnode100024726", + "id": "astnode100024682", "name": "v.x", "type": "Identifier", "funcscope": "GeoidIntersect", @@ -51966,14 +51904,14 @@ "comment": "", "meta": { "range": [ - 265312, - 265328 + 264728, + 264744 ], "filename": "astronomy.js", - "lineno": 6553, + "lineno": 6537, "columnno": 4, "code": { - "id": "astnode100024732", + "id": "astnode100024688", "name": "v.y", "type": "Identifier", "funcscope": "GeoidIntersect", @@ -51992,14 +51930,14 @@ "comment": "", "meta": { "range": [ - 265334, - 265369 + 264750, + 264785 ], "filename": "astronomy.js", - "lineno": 6554, + "lineno": 6538, "columnno": 4, "code": { - "id": "astnode100024738", + "id": "astnode100024694", "name": "v.z", "type": "BinaryExpression", "funcscope": "GeoidIntersect", @@ -52018,14 +51956,14 @@ "comment": "", "meta": { "range": [ - 265375, - 265391 + 264791, + 264807 ], "filename": "astronomy.js", - "lineno": 6555, + "lineno": 6539, "columnno": 4, "code": { - "id": "astnode100024746", + "id": "astnode100024702", "name": "e.x", "type": "Identifier", "funcscope": "GeoidIntersect", @@ -52044,14 +51982,14 @@ "comment": "", "meta": { "range": [ - 265397, - 265413 + 264813, + 264829 ], "filename": "astronomy.js", - "lineno": 6556, + "lineno": 6540, "columnno": 4, "code": { - "id": "astnode100024752", + "id": "astnode100024708", "name": "e.y", "type": "Identifier", "funcscope": "GeoidIntersect", @@ -52070,14 +52008,14 @@ "comment": "", "meta": { "range": [ - 265419, - 265454 + 264835, + 264870 ], "filename": "astronomy.js", - "lineno": 6557, + "lineno": 6541, "columnno": 4, "code": { - "id": "astnode100024758", + "id": "astnode100024714", "name": "e.z", "type": "BinaryExpression", "funcscope": "GeoidIntersect", @@ -52096,14 +52034,14 @@ "comment": "", "meta": { "range": [ - 265614, - 265644 + 265030, + 265060 ], "filename": "astronomy.js", - "lineno": 6560, + "lineno": 6544, "columnno": 10, "code": { - "id": "astnode100024766", + "id": "astnode100024722", "name": "R", "type": "Identifier", "value": "EARTH_EQUATORIAL_RADIUS_KM" @@ -52121,14 +52059,14 @@ "comment": "", "meta": { "range": [ - 265656, - 265693 + 265072, + 265109 ], "filename": "astronomy.js", - "lineno": 6561, + "lineno": 6545, "columnno": 10, "code": { - "id": "astnode100024770", + "id": "astnode100024726", "name": "A", "type": "BinaryExpression", "value": "" @@ -52146,14 +52084,14 @@ "comment": "", "meta": { "range": [ - 265705, - 265751 + 265121, + 265167 ], "filename": "astronomy.js", - "lineno": 6562, + "lineno": 6546, "columnno": 10, "code": { - "id": "astnode100024796", + "id": "astnode100024752", "name": "B", "type": "BinaryExpression", "value": "" @@ -52171,14 +52109,14 @@ "comment": "", "meta": { "range": [ - 265763, - 265810 + 265179, + 265226 ], "filename": "astronomy.js", - "lineno": 6563, + "lineno": 6547, "columnno": 10, "code": { - "id": "astnode100024825", + "id": "astnode100024781", "name": "C", "type": "BinaryExpression", "value": "" @@ -52196,14 +52134,14 @@ "comment": "", "meta": { "range": [ - 265822, - 265847 + 265238, + 265263 ], "filename": "astronomy.js", - "lineno": 6564, + "lineno": 6548, "columnno": 10, "code": { - "id": "astnode100024855", + "id": "astnode100024811", "name": "radic", "type": "BinaryExpression", "value": "" @@ -52221,14 +52159,14 @@ "comment": "", "meta": { "range": [ - 266004, - 266041 + 265420, + 265457 ], "filename": "astronomy.js", - "lineno": 6568, + "lineno": 6552, "columnno": 14, "code": { - "id": "astnode100024872", + "id": "astnode100024828", "name": "u", "type": "BinaryExpression", "value": "" @@ -52246,14 +52184,14 @@ "comment": "", "meta": { "range": [ - 266135, - 266153 + 265551, + 265569 ], "filename": "astronomy.js", - "lineno": 6570, + "lineno": 6554, "columnno": 14, "code": { - "id": "astnode100024887", + "id": "astnode100024843", "name": "px", "type": "BinaryExpression", "value": "" @@ -52271,14 +52209,14 @@ "comment": "", "meta": { "range": [ - 266169, - 266187 + 265585, + 265603 ], "filename": "astronomy.js", - "lineno": 6571, + "lineno": 6555, "columnno": 14, "code": { - "id": "astnode100024899", + "id": "astnode100024855", "name": "py", "type": "BinaryExpression", "value": "" @@ -52296,14 +52234,14 @@ "comment": "", "meta": { "range": [ - 266203, - 266242 + 265619, + 265658 ], "filename": "astronomy.js", - "lineno": 6572, + "lineno": 6556, "columnno": 14, "code": { - "id": "astnode100024911", + "id": "astnode100024867", "name": "pz", "type": "BinaryExpression", "value": "" @@ -52321,14 +52259,14 @@ "comment": "", "meta": { "range": [ - 266333, - 266408 + 265749, + 265824 ], "filename": "astronomy.js", - "lineno": 6574, + "lineno": 6558, "columnno": 14, "code": { - "id": "astnode100024925", + "id": "astnode100024881", "name": "proj", "type": "BinaryExpression", "value": "" @@ -52346,14 +52284,14 @@ "comment": "", "meta": { "range": [ - 266449, - 266486 + 265865, + 265902 ], "filename": "astronomy.js", - "lineno": 6576, + "lineno": 6560, "columnno": 12, "code": { - "id": "astnode100024948", + "id": "astnode100024904", "name": "latitude", "type": "ConditionalExpression", "funcscope": "GeoidIntersect", @@ -52372,14 +52310,14 @@ "comment": "", "meta": { "range": [ - 266525, - 266566 + 265941, + 265982 ], "filename": "astronomy.js", - "lineno": 6579, + "lineno": 6563, "columnno": 12, "code": { - "id": "astnode100024960", + "id": "astnode100024916", "name": "latitude", "type": "BinaryExpression", "funcscope": "GeoidIntersect", @@ -52398,14 +52336,14 @@ "comment": "", "meta": { "range": [ - 266658, - 266684 + 266074, + 266100 ], "filename": "astronomy.js", - "lineno": 6582, + "lineno": 6566, "columnno": 14, "code": { - "id": "astnode100024972", + "id": "astnode100024928", "name": "gast", "type": "CallExpression", "value": "" @@ -52423,14 +52361,14 @@ "comment": "", "meta": { "range": [ - 266694, - 266758 + 266110, + 266174 ], "filename": "astronomy.js", - "lineno": 6583, + "lineno": 6567, "columnno": 8, "code": { - "id": "astnode100024978", + "id": "astnode100024934", "name": "longitude", "type": "BinaryExpression", "funcscope": "GeoidIntersect", @@ -52449,14 +52387,14 @@ "comment": "", "meta": { "range": [ - 266807, - 266825 + 266223, + 266241 ], "filename": "astronomy.js", - "lineno": 6585, + "lineno": 6569, "columnno": 12, "code": { - "id": "astnode100025001", + "id": "astnode100024957", "name": "longitude", "type": "Literal", "funcscope": "GeoidIntersect", @@ -52475,14 +52413,14 @@ "comment": "", "meta": { "range": [ - 266888, - 266906 + 266304, + 266322 ], "filename": "astronomy.js", - "lineno": 6588, + "lineno": 6572, "columnno": 12, "code": { - "id": "astnode100025011", + "id": "astnode100024967", "name": "longitude", "type": "Literal", "funcscope": "GeoidIntersect", @@ -52501,14 +52439,14 @@ "comment": "", "meta": { "range": [ - 267174, - 267200 + 266590, + 266616 ], "filename": "astronomy.js", - "lineno": 6593, + "lineno": 6577, "columnno": 14, "code": { - "id": "astnode100025015", + "id": "astnode100024971", "name": "inv", "type": "CallExpression", "value": "" @@ -52526,14 +52464,14 @@ "comment": "", "meta": { "range": [ - 267365, - 267440 + 266781, + 266856 ], "filename": "astronomy.js", - "lineno": 6596, + "lineno": 6580, "columnno": 12, "code": { - "id": "astnode100025021", + "id": "astnode100024977", "name": "o", "type": "NewExpression", "value": "" @@ -52551,14 +52489,14 @@ "comment": "", "meta": { "range": [ - 267522, - 267546 + 266938, + 266962 ], "filename": "astronomy.js", - "lineno": 6598, + "lineno": 6582, "columnno": 8, "code": { - "id": "astnode100025038", + "id": "astnode100024994", "name": "o", "type": "CallExpression", "funcscope": "GeoidIntersect", @@ -52577,14 +52515,14 @@ "comment": "", "meta": { "range": [ - 267616, - 267638 + 267032, + 267054 ], "filename": "astronomy.js", - "lineno": 6600, + "lineno": 6584, "columnno": 8, "code": { - "id": "astnode100025045", + "id": "astnode100025001", "name": "o.x", "type": "MemberExpression", "funcscope": "GeoidIntersect", @@ -52603,14 +52541,14 @@ "comment": "", "meta": { "range": [ - 267648, - 267670 + 267064, + 267086 ], "filename": "astronomy.js", - "lineno": 6601, + "lineno": 6585, "columnno": 8, "code": { - "id": "astnode100025055", + "id": "astnode100025011", "name": "o.y", "type": "MemberExpression", "funcscope": "GeoidIntersect", @@ -52629,14 +52567,14 @@ "comment": "", "meta": { "range": [ - 267680, - 267702 + 267096, + 267118 ], "filename": "astronomy.js", - "lineno": 6602, + "lineno": 6586, "columnno": 8, "code": { - "id": "astnode100025065", + "id": "astnode100025021", "name": "o.z", "type": "MemberExpression", "funcscope": "GeoidIntersect", @@ -52655,14 +52593,14 @@ "comment": "", "meta": { "range": [ - 267811, - 267881 + 267227, + 267297 ], "filename": "astronomy.js", - "lineno": 6604, + "lineno": 6588, "columnno": 14, "code": { - "id": "astnode100025075", + "id": "astnode100025031", "name": "surface", "type": "CallExpression", "value": "" @@ -52680,14 +52618,14 @@ "comment": "", "meta": { "range": [ - 268218, - 268256 + 267634, + 267672 ], "filename": "astronomy.js", - "lineno": 6610, + "lineno": 6594, "columnno": 8, "code": { - "id": "astnode100025108", + "id": "astnode100025064", "name": "kind", "type": "CallExpression", "funcscope": "GeoidIntersect", @@ -52706,14 +52644,14 @@ "comment": "/**\n * @brief Searches for the next lunar eclipse in a series.\n *\n * After using {@link SearchLunarEclipse} to find the first lunar eclipse\n * in a series, you can call this function to find the next consecutive lunar eclipse.\n * Pass in the `center` value from the {@link LunarEclipseInfo} returned by the\n * previous call to `SearchLunarEclipse` or `NextLunarEclipse`\n * to find the next lunar eclipse.\n *\n * @param {AstroTime} prevEclipseTime\n * A date and time near a full moon. Lunar eclipse search will start at the next full moon.\n *\n * @returns {LunarEclipseInfo}\n */", "meta": { "range": [ - 268929, - 269068 + 268345, + 268484 ], "filename": "astronomy.js", - "lineno": 6628, + "lineno": 6612, "columnno": 0, "code": { - "id": "astnode100025123", + "id": "astnode100025079", "name": "NextLunarEclipse", "type": "FunctionDeclaration", "paramnames": [ @@ -52761,14 +52699,14 @@ "comment": "", "meta": { "range": [ - 268984, - 269023 + 268400, + 268439 ], "filename": "astronomy.js", - "lineno": 6629, + "lineno": 6613, "columnno": 10, "code": { - "id": "astnode100025128", + "id": "astnode100025084", "name": "startTime", "type": "CallExpression", "value": "" @@ -52786,14 +52724,14 @@ "comment": "", "meta": { "range": [ - 269069, - 269112 + 268485, + 268528 ], "filename": "astronomy.js", - "lineno": 6632, + "lineno": 6616, "columnno": 0, "code": { - "id": "astnode100025140", + "id": "astnode100025096", "name": "exports.NextLunarEclipse", "type": "Identifier", "value": "NextLunarEclipse", @@ -52810,14 +52748,14 @@ "comment": "/**\n * @brief Searches for a solar eclipse visible anywhere on the Earth's surface.\n *\n * This function finds the first solar eclipse that occurs after `startTime`.\n * A solar eclipse may be partial, annular, or total.\n * See {@link GlobalSolarEclipseInfo} for more information.\n * To find a series of solar eclipses, call this function once,\n * then keep calling {@link NextGlobalSolarEclipse} as many times as desired,\n * passing in the `peak` value returned from the previous call.\n *\n * @param {AstroTime} startTime\n * The date and time for starting the search for a solar eclipse.\n *\n * @returns {GlobalSolarEclipseInfo}\n */", "meta": { "range": [ - 269749, - 271366 + 269165, + 270782 ], "filename": "astronomy.js", - "lineno": 6648, + "lineno": 6632, "columnno": 0, "code": { - "id": "astnode100025145", + "id": "astnode100025101", "name": "SearchGlobalSolarEclipse", "type": "FunctionDeclaration", "paramnames": [ @@ -52870,14 +52808,14 @@ "comment": "", "meta": { "range": [ - 269806, - 269825 + 269222, + 269241 ], "filename": "astronomy.js", - "lineno": 6649, + "lineno": 6633, "columnno": 10, "code": { - "id": "astnode100025150", + "id": "astnode100025106", "name": "PruneLatitude", "type": "Literal", "value": 1.8 @@ -52895,14 +52833,14 @@ "comment": "", "meta": { "range": [ - 270001, - 270019 + 269417, + 269435 ], "filename": "astronomy.js", - "lineno": 6651, + "lineno": 6635, "columnno": 8, "code": { - "id": "astnode100025154", + "id": "astnode100025110", "name": "nmtime", "type": "Identifier", "value": "startTime" @@ -52920,14 +52858,14 @@ "comment": "", "meta": { "range": [ - 270029, - 270036 + 269445, + 269452 ], "filename": "astronomy.js", - "lineno": 6652, + "lineno": 6636, "columnno": 8, "code": { - "id": "astnode100025158", + "id": "astnode100025114", "name": "nmcount" } }, @@ -52943,14 +52881,14 @@ "comment": "", "meta": { "range": [ - 270047, - 270058 + 269463, + 269474 ], "filename": "astronomy.js", - "lineno": 6653, + "lineno": 6637, "columnno": 9, "code": { - "id": "astnode100025161", + "id": "astnode100025117", "name": "nmcount", "type": "Literal", "funcscope": "SearchGlobalSolarEclipse", @@ -52969,14 +52907,14 @@ "comment": "", "meta": { "range": [ - 270171, - 270215 + 269587, + 269631 ], "filename": "astronomy.js", - "lineno": 6655, + "lineno": 6639, "columnno": 14, "code": { - "id": "astnode100025171", + "id": "astnode100025127", "name": "newmoon", "type": "CallExpression", "value": "" @@ -52994,14 +52932,14 @@ "comment": "", "meta": { "range": [ - 270398, - 270446 + 269814, + 269862 ], "filename": "astronomy.js", - "lineno": 6659, + "lineno": 6643, "columnno": 14, "code": { - "id": "astnode100025184", + "id": "astnode100025140", "name": "eclip_lat", "type": "CallExpression", "value": "" @@ -53019,14 +52957,14 @@ "comment": "", "meta": { "range": [ - 270686, - 270718 + 270102, + 270134 ], "filename": "astronomy.js", - "lineno": 6663, + "lineno": 6647, "columnno": 18, "code": { - "id": "astnode100025199", + "id": "astnode100025155", "name": "shadow", "type": "CallExpression", "value": "" @@ -53044,14 +52982,14 @@ "comment": "", "meta": { "range": [ - 271133, - 271163 + 270549, + 270579 ], "filename": "astronomy.js", - "lineno": 6671, + "lineno": 6655, "columnno": 8, "code": { - "id": "astnode100025220", + "id": "astnode100025176", "name": "nmtime", "type": "CallExpression", "funcscope": "SearchGlobalSolarEclipse", @@ -53070,14 +53008,14 @@ "comment": "", "meta": { "range": [ - 271367, - 271426 + 270783, + 270842 ], "filename": "astronomy.js", - "lineno": 6677, + "lineno": 6661, "columnno": 0, "code": { - "id": "astnode100025230", + "id": "astnode100025186", "name": "exports.SearchGlobalSolarEclipse", "type": "Identifier", "value": "SearchGlobalSolarEclipse", @@ -53094,14 +53032,14 @@ "comment": "/**\n * @brief Searches for the next global solar eclipse in a series.\n *\n * After using {@link SearchGlobalSolarEclipse} to find the first solar eclipse\n * in a series, you can call this function to find the next consecutive solar eclipse.\n * Pass in the `peak` value from the {@link GlobalSolarEclipseInfo} returned by the\n * previous call to `SearchGlobalSolarEclipse` or `NextGlobalSolarEclipse`\n * to find the next solar eclipse.\n *\n * @param {AstroTime} prevEclipseTime\n * A date and time near a new moon. Solar eclipse search will start at the next new moon.\n *\n * @returns {GlobalSolarEclipseInfo}\n */", "meta": { "range": [ - 272042, - 272195 + 271458, + 271611 ], "filename": "astronomy.js", - "lineno": 6692, + "lineno": 6676, "columnno": 0, "code": { - "id": "astnode100025235", + "id": "astnode100025191", "name": "NextGlobalSolarEclipse", "type": "FunctionDeclaration", "paramnames": [ @@ -53149,14 +53087,14 @@ "comment": "", "meta": { "range": [ - 272103, - 272144 + 271519, + 271560 ], "filename": "astronomy.js", - "lineno": 6693, + "lineno": 6677, "columnno": 10, "code": { - "id": "astnode100025240", + "id": "astnode100025196", "name": "startTime", "type": "CallExpression", "value": "" @@ -53174,14 +53112,14 @@ "comment": "", "meta": { "range": [ - 272196, - 272251 + 271612, + 271667 ], "filename": "astronomy.js", - "lineno": 6696, + "lineno": 6680, "columnno": 0, "code": { - "id": "astnode100025252", + "id": "astnode100025208", "name": "exports.NextGlobalSolarEclipse", "type": "Identifier", "value": "NextGlobalSolarEclipse", @@ -53198,14 +53136,14 @@ "comment": "/**\n * @brief Holds a time and the observed altitude of the Sun at that time.\n *\n * When reporting a solar eclipse observed at a specific location on the Earth\n * (a \"local\" solar eclipse), a series of events occur. In addition\n * to the time of each event, it is important to know the altitude of the Sun,\n * because each event may be invisible to the observer if the Sun is below\n * the horizon (i.e. it at night).\n *\n * If `altitude` is negative, the event is theoretical only; it would be\n * visible if the Earth were transparent, but the observer cannot actually see it.\n * If `altitude` is positive but less than a few degrees, visibility will be impaired by\n * atmospheric interference (sunrise or sunset conditions).\n *\n * @property {AstroTime} time\n * The date and time of the event.\n *\n * @property {number} altitude\n * The angular altitude of the center of the Sun above/below the horizon, at `time`,\n * corrected for atmospheric refraction and expressed in degrees.\n */", "meta": { "range": [ - 273250, - 273372 + 272666, + 272788 ], "filename": "astronomy.js", - "lineno": 6718, + "lineno": 6702, "columnno": 0, "code": { - "id": "astnode100025257", + "id": "astnode100025213", "name": "EclipseEvent", "type": "ClassDeclaration", "paramnames": [ @@ -53252,14 +53190,14 @@ "comment": "", "meta": { "range": [ - 273275, - 273370 + 272691, + 272786 ], "filename": "astronomy.js", - "lineno": 6719, + "lineno": 6703, "columnno": 4, "code": { - "id": "astnode100025260", + "id": "astnode100025216", "name": "EclipseEvent", "type": "MethodDefinition", "paramnames": [ @@ -53282,14 +53220,14 @@ "comment": "/**\n * @brief Holds a time and the observed altitude of the Sun at that time.\n *\n * When reporting a solar eclipse observed at a specific location on the Earth\n * (a \"local\" solar eclipse), a series of events occur. In addition\n * to the time of each event, it is important to know the altitude of the Sun,\n * because each event may be invisible to the observer if the Sun is below\n * the horizon (i.e. it at night).\n *\n * If `altitude` is negative, the event is theoretical only; it would be\n * visible if the Earth were transparent, but the observer cannot actually see it.\n * If `altitude` is positive but less than a few degrees, visibility will be impaired by\n * atmospheric interference (sunrise or sunset conditions).\n *\n * @property {AstroTime} time\n * The date and time of the event.\n *\n * @property {number} altitude\n * The angular altitude of the center of the Sun above/below the horizon, at `time`,\n * corrected for atmospheric refraction and expressed in degrees.\n */", "meta": { "range": [ - 273250, - 273372 + 272666, + 272788 ], "filename": "astronomy.js", - "lineno": 6718, + "lineno": 6702, "columnno": 0, "code": { - "id": "astnode100025257", + "id": "astnode100025213", "name": "EclipseEvent", "type": "ClassDeclaration", "paramnames": [ @@ -53335,14 +53273,14 @@ "comment": "", "meta": { "range": [ - 273313, - 273329 + 272729, + 272745 ], "filename": "astronomy.js", - "lineno": 6720, + "lineno": 6704, "columnno": 8, "code": { - "id": "astnode100025267", + "id": "astnode100025223", "name": "this.time", "type": "Identifier", "value": "time", @@ -53360,14 +53298,14 @@ "comment": "", "meta": { "range": [ - 273339, - 273363 + 272755, + 272779 ], "filename": "astronomy.js", - "lineno": 6721, + "lineno": 6705, "columnno": 8, "code": { - "id": "astnode100025273", + "id": "astnode100025229", "name": "this.altitude", "type": "Identifier", "value": "altitude", @@ -53385,14 +53323,14 @@ "comment": "", "meta": { "range": [ - 273373, - 273408 + 272789, + 272824 ], "filename": "astronomy.js", - "lineno": 6724, + "lineno": 6708, "columnno": 0, "code": { - "id": "astnode100025279", + "id": "astnode100025235", "name": "exports.EclipseEvent", "type": "Identifier", "value": "EclipseEvent", @@ -53409,14 +53347,14 @@ "comment": "/**\n * @brief Information about a solar eclipse as seen by an observer at a given time and geographic location.\n *\n * Returned by {@link SearchLocalSolarEclipse} or {@link NextLocalSolarEclipse}\n * to report information about a solar eclipse as seen at a given geographic location.\n *\n * When a solar eclipse is found, it is classified by setting `kind`\n * to `\"partial\"`, `\"annular\"`, or `\"total\"`.\n * A partial solar eclipse is when the Moon does not line up directly enough with the Sun\n * to completely block the Sun's light from reaching the observer.\n * An annular eclipse occurs when the Moon's disc is completely visible against the Sun\n * but the Moon is too far away to completely block the Sun's light; this leaves the\n * Sun with a ring-like appearance.\n * A total eclipse occurs when the Moon is close enough to the Earth and aligned with the\n * Sun just right to completely block all sunlight from reaching the observer.\n *\n * There are 5 \"event\" fields, each of which contains a time and a solar altitude.\n * Field `peak` holds the date and time of the center of the eclipse, when it is at its peak.\n * The fields `partial_begin` and `partial_end` are always set, and indicate when\n * the eclipse begins/ends. If the eclipse reaches totality or becomes annular,\n * `total_begin` and `total_end` indicate when the total/annular phase begins/ends.\n * When an event field is valid, the caller must also check its `altitude` field to\n * see whether the Sun is above the horizon at the time indicated by the `time` field.\n * See {@link EclipseEvent} for more information.\n *\n * @property {string} kind\n * The type of solar eclipse found: `\"partial\"`, `\"annular\"`, or `\"total\"`.\n *\n * @property {EclipseEvent} partial_begin\n * The time and Sun altitude at the beginning of the eclipse.\n *\n * @property {EclipseEvent | undefined} total_begin\n * If this is an annular or a total eclipse, the time and Sun altitude when annular/total phase begins; otherwise undefined.\n *\n * @property {EclipseEvent} peak\n * The time and Sun altitude when the eclipse reaches its peak.\n *\n * @property {EclipseEvent | undefined} total_end\n * If this is an annular or a total eclipse, the time and Sun altitude when annular/total phase ends; otherwise undefined.\n *\n * @property {EclipseEvent} partial_end\n * The time and Sun altitude at the end of the eclipse.\n */", "meta": { "range": [ - 275794, - 276125 + 275210, + 275541 ], "filename": "astronomy.js", - "lineno": 6768, + "lineno": 6752, "columnno": 0, "code": { - "id": "astnode100025284", + "id": "astnode100025240", "name": "LocalSolarEclipseInfo", "type": "ClassDeclaration", "paramnames": [ @@ -53505,14 +53443,14 @@ "comment": "", "meta": { "range": [ - 275828, - 276123 + 275244, + 275539 ], "filename": "astronomy.js", - "lineno": 6769, + "lineno": 6753, "columnno": 4, "code": { - "id": "astnode100025287", + "id": "astnode100025243", "name": "LocalSolarEclipseInfo", "type": "MethodDefinition", "paramnames": [ @@ -53539,14 +53477,14 @@ "comment": "/**\n * @brief Information about a solar eclipse as seen by an observer at a given time and geographic location.\n *\n * Returned by {@link SearchLocalSolarEclipse} or {@link NextLocalSolarEclipse}\n * to report information about a solar eclipse as seen at a given geographic location.\n *\n * When a solar eclipse is found, it is classified by setting `kind`\n * to `\"partial\"`, `\"annular\"`, or `\"total\"`.\n * A partial solar eclipse is when the Moon does not line up directly enough with the Sun\n * to completely block the Sun's light from reaching the observer.\n * An annular eclipse occurs when the Moon's disc is completely visible against the Sun\n * but the Moon is too far away to completely block the Sun's light; this leaves the\n * Sun with a ring-like appearance.\n * A total eclipse occurs when the Moon is close enough to the Earth and aligned with the\n * Sun just right to completely block all sunlight from reaching the observer.\n *\n * There are 5 \"event\" fields, each of which contains a time and a solar altitude.\n * Field `peak` holds the date and time of the center of the eclipse, when it is at its peak.\n * The fields `partial_begin` and `partial_end` are always set, and indicate when\n * the eclipse begins/ends. If the eclipse reaches totality or becomes annular,\n * `total_begin` and `total_end` indicate when the total/annular phase begins/ends.\n * When an event field is valid, the caller must also check its `altitude` field to\n * see whether the Sun is above the horizon at the time indicated by the `time` field.\n * See {@link EclipseEvent} for more information.\n *\n * @property {string} kind\n * The type of solar eclipse found: `\"partial\"`, `\"annular\"`, or `\"total\"`.\n *\n * @property {EclipseEvent} partial_begin\n * The time and Sun altitude at the beginning of the eclipse.\n *\n * @property {EclipseEvent | undefined} total_begin\n * If this is an annular or a total eclipse, the time and Sun altitude when annular/total phase begins; otherwise undefined.\n *\n * @property {EclipseEvent} peak\n * The time and Sun altitude when the eclipse reaches its peak.\n *\n * @property {EclipseEvent | undefined} total_end\n * If this is an annular or a total eclipse, the time and Sun altitude when annular/total phase ends; otherwise undefined.\n *\n * @property {EclipseEvent} partial_end\n * The time and Sun altitude at the end of the eclipse.\n */", "meta": { "range": [ - 275794, - 276125 + 275210, + 275541 ], "filename": "astronomy.js", - "lineno": 6768, + "lineno": 6752, "columnno": 0, "code": { - "id": "astnode100025284", + "id": "astnode100025240", "name": "LocalSolarEclipseInfo", "type": "ClassDeclaration", "paramnames": [ @@ -53634,14 +53572,14 @@ "comment": "", "meta": { "range": [ - 275914, - 275930 + 275330, + 275346 ], "filename": "astronomy.js", - "lineno": 6770, + "lineno": 6754, "columnno": 8, "code": { - "id": "astnode100025298", + "id": "astnode100025254", "name": "this.kind", "type": "Identifier", "value": "kind", @@ -53659,14 +53597,14 @@ "comment": "", "meta": { "range": [ - 275940, - 275974 + 275356, + 275390 ], "filename": "astronomy.js", - "lineno": 6771, + "lineno": 6755, "columnno": 8, "code": { - "id": "astnode100025304", + "id": "astnode100025260", "name": "this.partial_begin", "type": "Identifier", "value": "partial_begin", @@ -53684,14 +53622,14 @@ "comment": "", "meta": { "range": [ - 275984, - 276014 + 275400, + 275430 ], "filename": "astronomy.js", - "lineno": 6772, + "lineno": 6756, "columnno": 8, "code": { - "id": "astnode100025310", + "id": "astnode100025266", "name": "this.total_begin", "type": "Identifier", "value": "total_begin", @@ -53709,14 +53647,14 @@ "comment": "", "meta": { "range": [ - 276024, - 276040 + 275440, + 275456 ], "filename": "astronomy.js", - "lineno": 6773, + "lineno": 6757, "columnno": 8, "code": { - "id": "astnode100025316", + "id": "astnode100025272", "name": "this.peak", "type": "Identifier", "value": "peak", @@ -53734,14 +53672,14 @@ "comment": "", "meta": { "range": [ - 276050, - 276076 + 275466, + 275492 ], "filename": "astronomy.js", - "lineno": 6774, + "lineno": 6758, "columnno": 8, "code": { - "id": "astnode100025322", + "id": "astnode100025278", "name": "this.total_end", "type": "Identifier", "value": "total_end", @@ -53759,14 +53697,14 @@ "comment": "", "meta": { "range": [ - 276086, - 276116 + 275502, + 275532 ], "filename": "astronomy.js", - "lineno": 6775, + "lineno": 6759, "columnno": 8, "code": { - "id": "astnode100025328", + "id": "astnode100025284", "name": "this.partial_end", "type": "Identifier", "value": "partial_end", @@ -53784,14 +53722,14 @@ "comment": "", "meta": { "range": [ - 276126, - 276179 + 275542, + 275595 ], "filename": "astronomy.js", - "lineno": 6778, + "lineno": 6762, "columnno": 0, "code": { - "id": "astnode100025334", + "id": "astnode100025290", "name": "exports.LocalSolarEclipseInfo", "type": "Identifier", "value": "LocalSolarEclipseInfo", @@ -53808,14 +53746,14 @@ "comment": "", "meta": { "range": [ - 276181, - 276256 + 275597, + 275672 ], "filename": "astronomy.js", - "lineno": 6779, + "lineno": 6763, "columnno": 0, "code": { - "id": "astnode100025339", + "id": "astnode100025295", "name": "local_partial_distance", "type": "FunctionDeclaration", "paramnames": [ @@ -53834,14 +53772,14 @@ "comment": "", "meta": { "range": [ - 276257, - 276458 + 275673, + 275874 ], "filename": "astronomy.js", - "lineno": 6782, + "lineno": 6766, "columnno": 0, "code": { - "id": "astnode100025351", + "id": "astnode100025307", "name": "local_total_distance", "type": "FunctionDeclaration", "paramnames": [ @@ -53860,14 +53798,14 @@ "comment": "", "meta": { "range": [ - 276459, - 277583 + 275875, + 276999 ], "filename": "astronomy.js", - "lineno": 6787, + "lineno": 6771, "columnno": 0, "code": { - "id": "astnode100025367", + "id": "astnode100025323", "name": "LocalEclipse", "type": "FunctionDeclaration", "paramnames": [ @@ -53899,14 +53837,14 @@ "comment": "", "meta": { "range": [ - 276511, - 276531 + 275927, + 275947 ], "filename": "astronomy.js", - "lineno": 6788, + "lineno": 6772, "columnno": 10, "code": { - "id": "astnode100025373", + "id": "astnode100025329", "name": "PARTIAL_WINDOW", "type": "Literal", "value": 0.2 @@ -53924,14 +53862,14 @@ "comment": "", "meta": { "range": [ - 276543, - 276562 + 275959, + 275978 ], "filename": "astronomy.js", - "lineno": 6789, + "lineno": 6773, "columnno": 10, "code": { - "id": "astnode100025377", + "id": "astnode100025333", "name": "TOTAL_WINDOW", "type": "Literal", "value": 0.01 @@ -53949,14 +53887,14 @@ "comment": "", "meta": { "range": [ - 276574, - 276613 + 275990, + 276029 ], "filename": "astronomy.js", - "lineno": 6790, + "lineno": 6774, "columnno": 10, "code": { - "id": "astnode100025381", + "id": "astnode100025337", "name": "peak", "type": "CallExpression", "value": "" @@ -53974,14 +53912,14 @@ "comment": "", "meta": { "range": [ - 276623, - 276664 + 276039, + 276080 ], "filename": "astronomy.js", - "lineno": 6791, + "lineno": 6775, "columnno": 8, "code": { - "id": "astnode100025390", + "id": "astnode100025346", "name": "t1", "type": "CallExpression", "value": "" @@ -53999,14 +53937,14 @@ "comment": "", "meta": { "range": [ - 276674, - 276715 + 276090, + 276131 ], "filename": "astronomy.js", - "lineno": 6792, + "lineno": 6776, "columnno": 8, "code": { - "id": "astnode100025401", + "id": "astnode100025357", "name": "t2", "type": "CallExpression", "value": "" @@ -54024,14 +53962,14 @@ "comment": "", "meta": { "range": [ - 276727, - 276822 + 276143, + 276238 ], "filename": "astronomy.js", - "lineno": 6793, + "lineno": 6777, "columnno": 10, "code": { - "id": "astnode100025412", + "id": "astnode100025368", "name": "partial_begin", "type": "CallExpression", "value": "" @@ -54049,14 +53987,14 @@ "comment": "", "meta": { "range": [ - 276834, - 276927 + 276250, + 276343 ], "filename": "astronomy.js", - "lineno": 6794, + "lineno": 6778, "columnno": 10, "code": { - "id": "astnode100025425", + "id": "astnode100025381", "name": "partial_end", "type": "CallExpression", "value": "" @@ -54074,14 +54012,14 @@ "comment": "", "meta": { "range": [ - 276937, - 276948 + 276353, + 276364 ], "filename": "astronomy.js", - "lineno": 6795, + "lineno": 6779, "columnno": 8, "code": { - "id": "astnode100025438", + "id": "astnode100025394", "name": "total_begin" } }, @@ -54097,14 +54035,14 @@ "comment": "", "meta": { "range": [ - 276958, - 276967 + 276374, + 276383 ], "filename": "astronomy.js", - "lineno": 6796, + "lineno": 6780, "columnno": 8, "code": { - "id": "astnode100025441", + "id": "astnode100025397", "name": "total_end" } }, @@ -54120,14 +54058,14 @@ "comment": "", "meta": { "range": [ - 276977, - 276981 + 276393, + 276397 ], "filename": "astronomy.js", - "lineno": 6797, + "lineno": 6781, "columnno": 8, "code": { - "id": "astnode100025444", + "id": "astnode100025400", "name": "kind" } }, @@ -54143,14 +54081,14 @@ "comment": "", "meta": { "range": [ - 277094, - 277133 + 276510, + 276549 ], "filename": "astronomy.js", - "lineno": 6799, + "lineno": 6783, "columnno": 8, "code": { - "id": "astnode100025460", + "id": "astnode100025416", "name": "t1", "type": "CallExpression", "funcscope": "LocalEclipse", @@ -54169,14 +54107,14 @@ "comment": "", "meta": { "range": [ - 277143, - 277182 + 276559, + 276598 ], "filename": "astronomy.js", - "lineno": 6800, + "lineno": 6784, "columnno": 8, "code": { - "id": "astnode100025471", + "id": "astnode100025427", "name": "t2", "type": "CallExpression", "funcscope": "LocalEclipse", @@ -54195,14 +54133,14 @@ "comment": "", "meta": { "range": [ - 277192, - 277283 + 276608, + 276699 ], "filename": "astronomy.js", - "lineno": 6801, + "lineno": 6785, "columnno": 8, "code": { - "id": "astnode100025482", + "id": "astnode100025438", "name": "total_begin", "type": "CallExpression", "funcscope": "LocalEclipse", @@ -54221,14 +54159,14 @@ "comment": "", "meta": { "range": [ - 277293, - 277382 + 276709, + 276798 ], "filename": "astronomy.js", - "lineno": 6802, + "lineno": 6786, "columnno": 8, "code": { - "id": "astnode100025495", + "id": "astnode100025451", "name": "total_end", "type": "CallExpression", "funcscope": "LocalEclipse", @@ -54247,14 +54185,14 @@ "comment": "", "meta": { "range": [ - 277392, - 277429 + 276808, + 276845 ], "filename": "astronomy.js", - "lineno": 6803, + "lineno": 6787, "columnno": 8, "code": { - "id": "astnode100025508", + "id": "astnode100025464", "name": "kind", "type": "CallExpression", "funcscope": "LocalEclipse", @@ -54273,14 +54211,14 @@ "comment": "", "meta": { "range": [ - 277456, - 277472 + 276872, + 276888 ], "filename": "astronomy.js", - "lineno": 6806, + "lineno": 6790, "columnno": 8, "code": { - "id": "astnode100025517", + "id": "astnode100025473", "name": "kind", "type": "Literal", "funcscope": "LocalEclipse", @@ -54299,14 +54237,14 @@ "comment": "", "meta": { "range": [ - 277584, - 277946 + 277000, + 277362 ], "filename": "astronomy.js", - "lineno": 6810, + "lineno": 6794, "columnno": 0, "code": { - "id": "astnode100025529", + "id": "astnode100025485", "name": "LocalEclipseTransition", "type": "FunctionDeclaration", "paramnames": [ @@ -54333,14 +54271,14 @@ "comment": "", "meta": { "range": [ - 277657, - 277785 + 277073, + 277201 ], "filename": "astronomy.js", - "lineno": 6811, + "lineno": 6795, "columnno": 4, "code": { - "id": "astnode100025537", + "id": "astnode100025493", "name": "evaluate", "type": "FunctionDeclaration", "paramnames": [ @@ -54363,14 +54301,14 @@ "comment": "", "meta": { "range": [ - 277697, - 277737 + 277113, + 277153 ], "filename": "astronomy.js", - "lineno": 6812, + "lineno": 6796, "columnno": 14, "code": { - "id": "astnode100025542", + "id": "astnode100025498", "name": "shadow", "type": "CallExpression", "value": "" @@ -54388,14 +54326,14 @@ "comment": "", "meta": { "range": [ - 277796, - 277829 + 277212, + 277245 ], "filename": "astronomy.js", - "lineno": 6815, + "lineno": 6799, "columnno": 10, "code": { - "id": "astnode100025555", + "id": "astnode100025511", "name": "search", "type": "CallExpression", "value": "" @@ -54413,14 +54351,14 @@ "comment": "", "meta": { "range": [ - 277947, - 278080 + 277363, + 277496 ], "filename": "astronomy.js", - "lineno": 6820, + "lineno": 6804, "columnno": 0, "code": { - "id": "astnode100025572", + "id": "astnode100025528", "name": "CalcEvent", "type": "FunctionDeclaration", "paramnames": [ @@ -54443,14 +54381,14 @@ "comment": "", "meta": { "range": [ - 277994, - 278032 + 277410, + 277448 ], "filename": "astronomy.js", - "lineno": 6821, + "lineno": 6805, "columnno": 10, "code": { - "id": "astnode100025578", + "id": "astnode100025534", "name": "altitude", "type": "CallExpression", "value": "" @@ -54468,14 +54406,14 @@ "comment": "", "meta": { "range": [ - 278081, - 278277 + 277497, + 277693 ], "filename": "astronomy.js", - "lineno": 6824, + "lineno": 6808, "columnno": 0, "code": { - "id": "astnode100025589", + "id": "astnode100025545", "name": "SunAltitude", "type": "FunctionDeclaration", "paramnames": [ @@ -54499,14 +54437,14 @@ "comment": "", "meta": { "range": [ - 278130, - 278181 + 277546, + 277597 ], "filename": "astronomy.js", - "lineno": 6825, + "lineno": 6809, "columnno": 10, "code": { - "id": "astnode100025595", + "id": "astnode100025551", "name": "equ", "type": "CallExpression", "value": "" @@ -54524,14 +54462,14 @@ "comment": "", "meta": { "range": [ - 278193, - 278249 + 277609, + 277665 ], "filename": "astronomy.js", - "lineno": 6826, + "lineno": 6810, "columnno": 10, "code": { - "id": "astnode100025607", + "id": "astnode100025563", "name": "hor", "type": "CallExpression", "value": "" @@ -54549,14 +54487,14 @@ "comment": "/**\n * @brief Searches for a solar eclipse visible at a specific location on the Earth's surface.\n *\n * This function finds the first solar eclipse that occurs after `startTime`.\n * A solar eclipse may be partial, annular, or total.\n * See {@link LocalSolarEclipseInfo} for more information.\n *\n * To find a series of solar eclipses, call this function once,\n * then keep calling {@link NextLocalSolarEclipse} as many times as desired,\n * passing in the `peak` value returned from the previous call.\n *\n * IMPORTANT: An eclipse reported by this function might be partly or\n * completely invisible to the observer due to the time of day.\n * See {@link LocalSolarEclipseInfo} for more information about this topic.\n *\n * @param {AstroTime} startTime\n * The date and time for starting the search for a solar eclipse.\n *\n * @param {Observer} observer\n * The geographic location of the observer.\n *\n * @returns {LocalSolarEclipseInfo}\n */", "meta": { "range": [ - 279222, - 280930 + 278638, + 280346 ], "filename": "astronomy.js", - "lineno": 6852, + "lineno": 6836, "columnno": 0, "code": { - "id": "astnode100025624", + "id": "astnode100025580", "name": "SearchLocalSolarEclipse", "type": "FunctionDeclaration", "paramnames": [ @@ -54619,14 +54557,14 @@ "comment": "", "meta": { "range": [ - 279318, - 279337 + 278734, + 278753 ], "filename": "astronomy.js", - "lineno": 6854, + "lineno": 6838, "columnno": 10, "code": { - "id": "astnode100025634", + "id": "astnode100025590", "name": "PruneLatitude", "type": "Literal", "value": 1.8 @@ -54644,14 +54582,14 @@ "comment": "", "meta": { "range": [ - 279519, - 279537 + 278935, + 278953 ], "filename": "astronomy.js", - "lineno": 6856, + "lineno": 6840, "columnno": 8, "code": { - "id": "astnode100025638", + "id": "astnode100025594", "name": "nmtime", "type": "Identifier", "value": "startTime" @@ -54669,14 +54607,14 @@ "comment": "", "meta": { "range": [ - 279641, - 279685 + 279057, + 279101 ], "filename": "astronomy.js", - "lineno": 6859, + "lineno": 6843, "columnno": 14, "code": { - "id": "astnode100025644", + "id": "astnode100025600", "name": "newmoon", "type": "CallExpression", "value": "" @@ -54694,14 +54632,14 @@ "comment": "", "meta": { "range": [ - 279876, - 279924 + 279292, + 279340 ], "filename": "astronomy.js", - "lineno": 6863, + "lineno": 6847, "columnno": 14, "code": { - "id": "astnode100025657", + "id": "astnode100025613", "name": "eclip_lat", "type": "CallExpression", "value": "" @@ -54719,14 +54657,14 @@ "comment": "", "meta": { "range": [ - 280159, - 280206 + 279575, + 279622 ], "filename": "astronomy.js", - "lineno": 6867, + "lineno": 6851, "columnno": 18, "code": { - "id": "astnode100025672", + "id": "astnode100025628", "name": "shadow", "type": "CallExpression", "value": "" @@ -54744,14 +54682,14 @@ "comment": "", "meta": { "range": [ - 280350, - 280390 + 279766, + 279806 ], "filename": "astronomy.js", - "lineno": 6870, + "lineno": 6854, "columnno": 22, "code": { - "id": "astnode100025688", + "id": "astnode100025644", "name": "eclipse", "type": "CallExpression", "value": "" @@ -54769,14 +54707,14 @@ "comment": "", "meta": { "range": [ - 280891, - 280921 + 280307, + 280337 ], "filename": "astronomy.js", - "lineno": 6879, + "lineno": 6863, "columnno": 8, "code": { - "id": "astnode100025713", + "id": "astnode100025669", "name": "nmtime", "type": "CallExpression", "funcscope": "SearchLocalSolarEclipse", @@ -54795,14 +54733,14 @@ "comment": "", "meta": { "range": [ - 280931, - 280988 + 280347, + 280404 ], "filename": "astronomy.js", - "lineno": 6882, + "lineno": 6866, "columnno": 0, "code": { - "id": "astnode100025721", + "id": "astnode100025677", "name": "exports.SearchLocalSolarEclipse", "type": "Identifier", "value": "SearchLocalSolarEclipse", @@ -54819,14 +54757,14 @@ "comment": "/**\n * @brief Searches for the next local solar eclipse in a series.\n *\n * After using {@link SearchLocalSolarEclipse} to find the first solar eclipse\n * in a series, you can call this function to find the next consecutive solar eclipse.\n * Pass in the `peak` value from the {@link LocalSolarEclipseInfo} returned by the\n * previous call to `SearchLocalSolarEclipse` or `NextLocalSolarEclipse`\n * to find the next solar eclipse.\n * This function finds the first solar eclipse that occurs after `startTime`.\n * A solar eclipse may be partial, annular, or total.\n * See {@link LocalSolarEclipseInfo} for more information.\n *\n * @param {AstroTime} prevEclipseTime\n * The date and time for starting the search for a solar eclipse.\n *\n * @param {Observer} observer\n * The geographic location of the observer.\n *\n * @returns {LocalSolarEclipseInfo}\n */", "meta": { "range": [ - 281847, - 282018 + 281263, + 281434 ], "filename": "astronomy.js", - "lineno": 6903, + "lineno": 6887, "columnno": 0, "code": { - "id": "astnode100025726", + "id": "astnode100025682", "name": "NextLocalSolarEclipse", "type": "FunctionDeclaration", "paramnames": [ @@ -54884,14 +54822,14 @@ "comment": "", "meta": { "range": [ - 281917, - 281958 + 281333, + 281374 ], "filename": "astronomy.js", - "lineno": 6904, + "lineno": 6888, "columnno": 10, "code": { - "id": "astnode100025732", + "id": "astnode100025688", "name": "startTime", "type": "CallExpression", "value": "" @@ -54909,14 +54847,14 @@ "comment": "", "meta": { "range": [ - 282019, - 282072 + 281435, + 281488 ], "filename": "astronomy.js", - "lineno": 6907, + "lineno": 6891, "columnno": 0, "code": { - "id": "astnode100025745", + "id": "astnode100025701", "name": "exports.NextLocalSolarEclipse", "type": "Identifier", "value": "NextLocalSolarEclipse", @@ -54933,14 +54871,14 @@ "comment": "/**\n * @brief Information about a transit of Mercury or Venus, as seen from the Earth.\n *\n * Returned by {@link SearchTransit} or {@link NextTransit} to report\n * information about a transit of Mercury or Venus.\n * A transit is when Mercury or Venus passes between the Sun and Earth so that\n * the other planet is seen in silhouette against the Sun.\n *\n * The calculations are performed from the point of view of a geocentric observer.\n *\n * @property {AstroTime} start\n * The date and time at the beginning of the transit.\n * This is the moment the planet first becomes visible against the Sun in its background.\n *\n * @property {AstroTime} peak\n * When the planet is most aligned with the Sun, as seen from the Earth.\n *\n * @property {AstroTime} finish\n * The date and time at the end of the transit.\n * This is the moment the planet is last seen against the Sun in its background.\n *\n * @property {number} separation\n * The minimum angular separation, in arcminutes, between the centers of the Sun and the planet.\n * This angle pertains to the time stored in `peak`.\n */", "meta": { "range": [ - 283183, - 283383 + 282599, + 282799 ], "filename": "astronomy.js", - "lineno": 6933, + "lineno": 6917, "columnno": 0, "code": { - "id": "astnode100025750", + "id": "astnode100025706", "name": "TransitInfo", "type": "ClassDeclaration", "paramnames": [ @@ -55007,14 +54945,14 @@ "comment": "", "meta": { "range": [ - 283207, - 283381 + 282623, + 282797 ], "filename": "astronomy.js", - "lineno": 6934, + "lineno": 6918, "columnno": 4, "code": { - "id": "astnode100025753", + "id": "astnode100025709", "name": "TransitInfo", "type": "MethodDefinition", "paramnames": [ @@ -55039,14 +54977,14 @@ "comment": "/**\n * @brief Information about a transit of Mercury or Venus, as seen from the Earth.\n *\n * Returned by {@link SearchTransit} or {@link NextTransit} to report\n * information about a transit of Mercury or Venus.\n * A transit is when Mercury or Venus passes between the Sun and Earth so that\n * the other planet is seen in silhouette against the Sun.\n *\n * The calculations are performed from the point of view of a geocentric observer.\n *\n * @property {AstroTime} start\n * The date and time at the beginning of the transit.\n * This is the moment the planet first becomes visible against the Sun in its background.\n *\n * @property {AstroTime} peak\n * When the planet is most aligned with the Sun, as seen from the Earth.\n *\n * @property {AstroTime} finish\n * The date and time at the end of the transit.\n * This is the moment the planet is last seen against the Sun in its background.\n *\n * @property {number} separation\n * The minimum angular separation, in arcminutes, between the centers of the Sun and the planet.\n * This angle pertains to the time stored in `peak`.\n */", "meta": { "range": [ - 283183, - 283383 + 282599, + 282799 ], "filename": "astronomy.js", - "lineno": 6933, + "lineno": 6917, "columnno": 0, "code": { - "id": "astnode100025750", + "id": "astnode100025706", "name": "TransitInfo", "type": "ClassDeclaration", "paramnames": [ @@ -55112,14 +55050,14 @@ "comment": "", "meta": { "range": [ - 283262, - 283280 + 282678, + 282696 ], "filename": "astronomy.js", - "lineno": 6935, + "lineno": 6919, "columnno": 8, "code": { - "id": "astnode100025762", + "id": "astnode100025718", "name": "this.start", "type": "Identifier", "value": "start", @@ -55137,14 +55075,14 @@ "comment": "", "meta": { "range": [ - 283290, - 283306 + 282706, + 282722 ], "filename": "astronomy.js", - "lineno": 6936, + "lineno": 6920, "columnno": 8, "code": { - "id": "astnode100025768", + "id": "astnode100025724", "name": "this.peak", "type": "Identifier", "value": "peak", @@ -55162,14 +55100,14 @@ "comment": "", "meta": { "range": [ - 283316, - 283336 + 282732, + 282752 ], "filename": "astronomy.js", - "lineno": 6937, + "lineno": 6921, "columnno": 8, "code": { - "id": "astnode100025774", + "id": "astnode100025730", "name": "this.finish", "type": "Identifier", "value": "finish", @@ -55187,14 +55125,14 @@ "comment": "", "meta": { "range": [ - 283346, - 283374 + 282762, + 282790 ], "filename": "astronomy.js", - "lineno": 6938, + "lineno": 6922, "columnno": 8, "code": { - "id": "astnode100025780", + "id": "astnode100025736", "name": "this.separation", "type": "Identifier", "value": "separation", @@ -55212,14 +55150,14 @@ "comment": "", "meta": { "range": [ - 283384, - 283417 + 282800, + 282833 ], "filename": "astronomy.js", - "lineno": 6941, + "lineno": 6925, "columnno": 0, "code": { - "id": "astnode100025786", + "id": "astnode100025742", "name": "exports.TransitInfo", "type": "Identifier", "value": "TransitInfo", @@ -55236,14 +55174,14 @@ "comment": "", "meta": { "range": [ - 283419, - 283602 + 282835, + 283018 ], "filename": "astronomy.js", - "lineno": 6942, + "lineno": 6926, "columnno": 0, "code": { - "id": "astnode100025791", + "id": "astnode100025747", "name": "PlanetShadowBoundary", "type": "FunctionDeclaration", "paramnames": [ @@ -55268,14 +55206,14 @@ "comment": "", "meta": { "range": [ - 283502, - 283553 + 282918, + 282969 ], "filename": "astronomy.js", - "lineno": 6943, + "lineno": 6927, "columnno": 10, "code": { - "id": "astnode100025799", + "id": "astnode100025755", "name": "shadow", "type": "CallExpression", "value": "" @@ -55293,14 +55231,14 @@ "comment": "", "meta": { "range": [ - 283603, - 283973 + 283019, + 283389 ], "filename": "astronomy.js", - "lineno": 6946, + "lineno": 6930, "columnno": 0, "code": { - "id": "astnode100025816", + "id": "astnode100025772", "name": "PlanetTransitBoundary", "type": "FunctionDeclaration", "paramnames": [ @@ -55327,14 +55265,14 @@ "comment": "", "meta": { "range": [ - 283795, - 283887 + 283211, + 283303 ], "filename": "astronomy.js", - "lineno": 6948, + "lineno": 6932, "columnno": 10, "code": { - "id": "astnode100025825", + "id": "astnode100025781", "name": "tx", "type": "CallExpression", "value": "" @@ -55352,14 +55290,14 @@ "comment": "/**\n * @brief Searches for the first transit of Mercury or Venus after a given date.\n *\n * Finds the first transit of Mercury or Venus after a specified date.\n * A transit is when an inferior planet passes between the Sun and the Earth\n * so that the silhouette of the planet is visible against the Sun in the background.\n * To continue the search, pass the `finish` time in the returned structure to\n * {@link NextTransit}.\n *\n * @param {Body} body\n * The planet whose transit is to be found. Must be `\"Mercury\"` or `\"Venus\"`.\n *\n * @param {AstroTime} startTime\n * The date and time for starting the search for a transit.\n *\n * @returns {TransitInfo}\n */", "meta": { "range": [ - 284640, - 286832 + 284056, + 286248 ], "filename": "astronomy.js", - "lineno": 6970, + "lineno": 6954, "columnno": 0, "code": { - "id": "astnode100025846", + "id": "astnode100025802", "name": "SearchTransit", "type": "FunctionDeclaration", "paramnames": [ @@ -55428,14 +55366,14 @@ "comment": "", "meta": { "range": [ - 284692, - 284713 + 284108, + 284129 ], "filename": "astronomy.js", - "lineno": 6971, + "lineno": 6955, "columnno": 10, "code": { - "id": "astnode100025852", + "id": "astnode100025808", "name": "threshold_angle", "type": "Literal", "value": 0.4 @@ -55453,14 +55391,14 @@ "comment": "", "meta": { "range": [ - 284786, - 284799 + 284202, + 284215 ], "filename": "astronomy.js", - "lineno": 6972, + "lineno": 6956, "columnno": 10, "code": { - "id": "astnode100025856", + "id": "astnode100025812", "name": "dt_days", "type": "Literal", "value": 1 @@ -55478,14 +55416,14 @@ "comment": "", "meta": { "range": [ - 284862, - 284878 + 284278, + 284294 ], "filename": "astronomy.js", - "lineno": 6974, + "lineno": 6958, "columnno": 8, "code": { - "id": "astnode100025860", + "id": "astnode100025816", "name": "planet_radius_km" } }, @@ -55501,14 +55439,14 @@ "comment": "", "meta": { "range": [ - 284939, - 284964 + 284355, + 284380 ], "filename": "astronomy.js", - "lineno": 6977, + "lineno": 6961, "columnno": 12, "code": { - "id": "astnode100025869", + "id": "astnode100025825", "name": "planet_radius_km", "type": "Literal", "funcscope": "SearchTransit", @@ -55527,14 +55465,14 @@ "comment": "", "meta": { "range": [ - 285022, - 285047 + 284438, + 284463 ], "filename": "astronomy.js", - "lineno": 6980, + "lineno": 6964, "columnno": 12, "code": { - "id": "astnode100025878", + "id": "astnode100025834", "name": "planet_radius_km", "type": "Literal", "funcscope": "SearchTransit", @@ -55553,14 +55491,14 @@ "comment": "", "meta": { "range": [ - 285142, - 285165 + 284558, + 284581 ], "filename": "astronomy.js", - "lineno": 6985, + "lineno": 6969, "columnno": 8, "code": { - "id": "astnode100025889", + "id": "astnode100025845", "name": "search_time", "type": "Identifier", "value": "startTime" @@ -55578,14 +55516,14 @@ "comment": "", "meta": { "range": [ - 285399, - 285453 + 284815, + 284869 ], "filename": "astronomy.js", - "lineno": 6990, + "lineno": 6974, "columnno": 14, "code": { - "id": "astnode100025895", + "id": "astnode100025851", "name": "conj", "type": "CallExpression", "value": "" @@ -55603,14 +55541,14 @@ "comment": "", "meta": { "range": [ - 285556, - 285598 + 284972, + 285014 ], "filename": "astronomy.js", - "lineno": 6992, + "lineno": 6976, "columnno": 14, "code": { - "id": "astnode100025903", + "id": "astnode100025859", "name": "conj_separation", "type": "CallExpression", "value": "" @@ -55628,14 +55566,14 @@ "comment": "", "meta": { "range": [ - 285930, - 285985 + 285346, + 285401 ], "filename": "astronomy.js", - "lineno": 6998, + "lineno": 6982, "columnno": 18, "code": { - "id": "astnode100025915", + "id": "astnode100025871", "name": "shadow", "type": "CallExpression", "value": "" @@ -55653,14 +55591,14 @@ "comment": "", "meta": { "range": [ - 286176, - 286219 + 285592, + 285635 ], "filename": "astronomy.js", - "lineno": 7001, + "lineno": 6985, "columnno": 22, "code": { - "id": "astnode100025932", + "id": "astnode100025888", "name": "time_before", "type": "CallExpression", "value": "" @@ -55678,14 +55616,14 @@ "comment": "", "meta": { "range": [ - 286243, - 286328 + 285659, + 285744 ], "filename": "astronomy.js", - "lineno": 7002, + "lineno": 6986, "columnno": 22, "code": { - "id": "astnode100025943", + "id": "astnode100025899", "name": "start", "type": "CallExpression", "value": "" @@ -55703,14 +55641,14 @@ "comment": "", "meta": { "range": [ - 286352, - 286394 + 285768, + 285810 ], "filename": "astronomy.js", - "lineno": 7003, + "lineno": 6987, "columnno": 22, "code": { - "id": "astnode100025956", + "id": "astnode100025912", "name": "time_after", "type": "CallExpression", "value": "" @@ -55728,14 +55666,14 @@ "comment": "", "meta": { "range": [ - 286418, - 286503 + 285834, + 285919 ], "filename": "astronomy.js", - "lineno": 7004, + "lineno": 6988, "columnno": 22, "code": { - "id": "astnode100025967", + "id": "astnode100025923", "name": "finish", "type": "CallExpression", "value": "" @@ -55753,14 +55691,14 @@ "comment": "", "meta": { "range": [ - 286527, - 286582 + 285943, + 285998 ], "filename": "astronomy.js", - "lineno": 7005, + "lineno": 6989, "columnno": 22, "code": { - "id": "astnode100025980", + "id": "astnode100025936", "name": "min_separation", "type": "BinaryExpression", "value": "" @@ -55778,14 +55716,14 @@ "comment": "", "meta": { "range": [ - 286791, - 286823 + 286207, + 286239 ], "filename": "astronomy.js", - "lineno": 7010, + "lineno": 6994, "columnno": 8, "code": { - "id": "astnode100026000", + "id": "astnode100025956", "name": "search_time", "type": "CallExpression", "funcscope": "SearchTransit", @@ -55804,14 +55742,14 @@ "comment": "", "meta": { "range": [ - 286833, - 286870 + 286249, + 286286 ], "filename": "astronomy.js", - "lineno": 7013, + "lineno": 6997, "columnno": 0, "code": { - "id": "astnode100026008", + "id": "astnode100025964", "name": "exports.SearchTransit", "type": "Identifier", "value": "SearchTransit", @@ -55828,14 +55766,14 @@ "comment": "/**\n * @brief Searches for the next transit of Mercury or Venus in a series.\n *\n * After calling {@link SearchTransit} to find a transit of Mercury or Venus,\n * this function finds the next transit after that.\n * Keep calling this function as many times as you want to keep finding more transits.\n *\n * @param {Body} body\n * The planet whose transit is to be found. Must be `\"Mercury\"` or `\"Venus\"`.\n *\n * @param {AstroTime} prevTransitTime\n * A date and time near the previous transit.\n *\n * @returns {TransitInfo}\n */", "meta": { "range": [ - 287402, - 287546 + 286818, + 286962 ], "filename": "astronomy.js", - "lineno": 7029, + "lineno": 7013, "columnno": 0, "code": { - "id": "astnode100026013", + "id": "astnode100025969", "name": "NextTransit", "type": "FunctionDeclaration", "paramnames": [ @@ -55893,14 +55831,14 @@ "comment": "", "meta": { "range": [ - 287458, - 287500 + 286874, + 286916 ], "filename": "astronomy.js", - "lineno": 7030, + "lineno": 7014, "columnno": 10, "code": { - "id": "astnode100026019", + "id": "astnode100025975", "name": "startTime", "type": "CallExpression", "value": "" @@ -55918,14 +55856,14 @@ "comment": "", "meta": { "range": [ - 287547, - 287580 + 286963, + 286996 ], "filename": "astronomy.js", - "lineno": 7033, + "lineno": 7017, "columnno": 0, "code": { - "id": "astnode100026032", + "id": "astnode100025988", "name": "exports.NextTransit", "type": "Identifier", "value": "NextTransit",