trait ImprovedSkyCalcMethods extends AnyRef
- Alphabetic
- By Inheritance
- ImprovedSkyCalcMethods
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- val DELTS: Array[Double]
- Attributes
- protected
- val XFORM_DOAPPAR: Int
- Attributes
- protected
- val XFORM_FROMSTD: Int
- Attributes
- protected
- val XFORM_JUSTPRE: Int
- Attributes
- protected
- val XFORM_TOSTDEP: Int
- Attributes
- protected
- def aberrate(epoch: Double, vec: Array[Double], from_std: Int): Unit
corrects celestial unit vector for aberration due to earth's motion.
corrects celestial unit vector for aberration due to earth's motion. Uses accurate sun position ... replace with crude one for more speed if needed.
- Attributes
- protected
- def accumoon(jd0: Double, geolat: Double, lst: Double, elevsea: Double, geora: DoubleRef, geodec: DoubleRef, geodist: DoubleRef, topora: DoubleRef, topodec: DoubleRef, topodist: DoubleRef): Unit
- Attributes
- protected
- def accusun(jd0: Double, lst: Double, geolat: Double, ra: DoubleRef, dec: DoubleRef, dist: DoubleRef, topora: DoubleRef, topodec: DoubleRef, x: DoubleRef, y: DoubleRef, z: DoubleRef): Unit
implemenataion of Jean Meeus' more accurate solar ephemeris.
implemenataion of Jean Meeus' more accurate solar ephemeris. For ultimate use in helio correction! From Astronomical Formulae for Calculators, pp. 79 ff. This gives sun's position wrt *mean* equinox of date, not apparent*. Accuracy is << 1 arcmin. Positions given are geocentric ... parallax due to observer's position on earth is ignored. This is up to 8 arcsec; routine is usually a little better than that. // -- topocentric correction *is* included now. -- // Light travel time is apparently taken into account for the ra and dec, but I don't know if aberration is and I don't know if distance is simlarly antedated.
x, y, and z are heliocentric equatorial coordinates of the EARTH, referred to mean equator and equinox of date.
- Attributes
- protected
- def adj_time(x0: Double): Double
adjusts a time (decimal hours) to be between -12 and 12, generally used for hour angles.
adjusts a time (decimal hours) to be between -12 and 12, generally used for hour angles.
- Attributes
- protected
- def altit(dec0: Double, ha0: Double, lat0: Double, az: DoubleRef, parang: DoubleRef): Double
returns altitude(degr) for dec, ha, lat (decimal degr, hr, degr); also computes and returns azimuth through pointer argument, and as an extra added bonus returns parallactic angle (decimal degr) through another pointer argument.
returns altitude(degr) for dec, ha, lat (decimal degr, hr, degr); also computes and returns azimuth through pointer argument, and as an extra added bonus returns parallactic angle (decimal degr) through another pointer argument.
- returns
the parallactic angle in degrees
- Attributes
- protected
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def atan_circ(x: Double, y: Double): Double
returns radian angle 0 to 2pi for coords x, y -- get that quadrant right !!
returns radian angle 0 to 2pi for coords x, y -- get that quadrant right !!
- Attributes
- protected
- def circulo(x: Double): Double
assuming x is an angle in degrees, returns modulo 360 degrees.
assuming x is an angle in degrees, returns modulo 360 degrees.
- Attributes
- protected
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native() @IntrinsicCandidate()
- def cooxform(rin: Double, din: Double, std_epoch: Double, date_epoch: Double, rout: DoubleRef, dout: DoubleRef, just_precess: Int, from_std: Int): Unit
- Attributes
- protected
- def eclrot(jd: Double, x: DoubleRef, y: DoubleRef, z: DoubleRef): Unit
- Attributes
- protected
- def eclrot(jd: Double, y: DoubleRef, z: DoubleRef): Unit
rotates ecliptic rectangular coords x, y, z to equatorial (all assumed of date.)
rotates ecliptic rectangular coords x, y, z to equatorial (all assumed of date.)
- Attributes
- protected
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def etcorr(jd: Double): Double
Given a julian date in 1900-2100, returns the correction delta t which is: TDT - UT (after 1983 and before 1998) ET - UT (before 1983) an extrapolated guess (after 1998).
Given a julian date in 1900-2100, returns the correction delta t which is: TDT - UT (after 1983 and before 1998) ET - UT (before 1983) an extrapolated guess (after 1998).
For dates in the past (<= 1998 and after 1900) the value is linearly interpolated on 5-year intervals; for dates after the present, an extrapolation is used, because the true value of delta t cannot be predicted precisely. Note that TDT is essentially the modern version of ephemeris time with a slightly cleaner definition.
Where the algorithm shifts there is an approximately 0.1 second discontinuity. Also, the 5-year linear interpolation scheme can lead to errors as large as 0.5 seconds in some cases, though usually rather smaller.
- Attributes
- protected
- def geocent(geolong0: Double, geolat0: Double, height: Double, x_geo: DoubleRef, y_geo: DoubleRef, z_geo: DoubleRef): Unit
computes the geocentric coordinates from the geodetic (standard map-type) longitude, latitude, and height.
computes the geocentric coordinates from the geodetic (standard map-type) longitude, latitude, and height. These are assumed to be in decimal hours, decimal degrees, and meters respectively. Notation generally follows 1992 Astr Almanac, p. K11
- Attributes
- protected
- def getAirmass(alt: Double): Double
Return the airmass for the given altitude in degrees.
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @IntrinsicCandidate()
- def getLst(lstHours: Double, instant: Instant): ZonedDateTime
Return the LST time as a ZonedDateTime object for the given instant.
Return the LST time as a ZonedDateTime object for the given instant.
- Attributes
- protected
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @IntrinsicCandidate()
- def instant_to_jd(instant: Instant): Double
- Attributes
- protected
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def lst(jd: Double, longit: Double): Double
returns the local MEAN sidereal time (dec hrs) at julian date jd at west longitude long (decimal hours).
returns the local MEAN sidereal time (dec hrs) at julian date jd at west longitude long (decimal hours). Follows definitions in 1992 Astronomical Almanac, pp. B7 and L2. Expression for GMST at 0h ut referenced to Aoki et al, A&A 105, p.359, 1982. On workstations, accuracy (numerical only!) is about a millisecond in the 1990s.
- Attributes
- protected
- def lunskybright(alpha0: Double, rho: Double, kzen: Double, altmoon: Double, alt: Double, moondist0: Double): Double
- Attributes
- protected
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @IntrinsicCandidate()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @IntrinsicCandidate()
- def nutation_params(date_epoch: Double, del_psi: DoubleRef, del_ep: DoubleRef): Unit
computes the nutation parameters delta psi and delta epsilon at julian epoch (in years) using approximate formulae given by Jean Meeus, Astronomical Formulae for Calculators, Willman-Bell, 1985, pp.
computes the nutation parameters delta psi and delta epsilon at julian epoch (in years) using approximate formulae given by Jean Meeus, Astronomical Formulae for Calculators, Willman-Bell, 1985, pp. 69-70. Accuracy appears to be a few hundredths of an arcsec or better and numerics have been checked against his example. Nutation parameters are returned in radians.
- Attributes
- protected
- def sb(mpa: Double, mdist: Double, mZD: Double, ZD: Double, sZD: Double, moondist0: Double): Double
- mpa
moon phase angle (alpha in lunskybright)
- mdist
Moon target distance (rho in lunskybright)
- mZD
moon zenith distance
- ZD
object zenith distance
- sZD
Sun zenith distance
- Attributes
- protected
- def secant_z(alt: Double): Double
Computes the secant of z, assuming the object is not too low to the horizon; returns 100.
Computes the secant of z, assuming the object is not too low to the horizon; returns 100. if the object is low but above the horizon, -100. if the object is just below the horizon.
- Attributes
- protected
- def setup_time_place(instant: Instant, longit: Double, jdut: DoubleRef, sid: DoubleRef, curepoch: DoubleRef): Short
This takes the date (which contains the time), and the site parameters, and prints out a banner giving the various dates and times; also computes and returns various jd's, the sidereal time, and the epoch.
This takes the date (which contains the time), and the site parameters, and prints out a banner giving the various dates and times; also computes and returns various jd's, the sidereal time, and the epoch. Returns negative number to signal error if date is out of range of validity of algorithms, or if you specify a bad time during daylight-time change; returns zero if successful.
- Attributes
- protected
- def subtend(ra01: Double, dec01: Double, ra02: Double, dec02: Double): Double
- Attributes
- protected
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- def true_airmass(secz: Double): Double
returns the true airmass for a given secant z.
returns the true airmass for a given secant z. The expression used is based on a tabulation of the mean KPNO atmosphere given by C. M. Snell & A. M. Heiser, 1968, PASP, 80, 336. They tabulated the airmass at 5 degr intervals from z = 60 to 85 degrees; I fit the data with a fourth order poly for (secz - airmass) as a function of (secz - 1) using the IRAF curfit routine, then adjusted the zeroth order term to force (secz - airmass) to zero at z = 0. The poly fit is very close to the tabulated points (largest difference is 3.2e-4) and appears smooth. This 85-degree point is at secz = 11.47, so for secz > 12 I just return secz - 1.5 ... about the largest offset properly determined.
- Attributes
- protected
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- def xair(z: Double): Double
- Attributes
- protected
- def xyz_cel(x0: Double, y0: Double, z0: Double, ra: DoubleRef, dec: DoubleRef): Unit
A much cleaner rewrite of the original skycalc code for this, which was transcribed from a PL/I routine ....
A much cleaner rewrite of the original skycalc code for this, which was transcribed from a PL/I routine ....
- Attributes
- protected
- def ztwilight(alt: Double): Double
- Attributes
- protected