Code covered by the BSD License
-
aberat (pos1, ve, tlight)
this function corrects position vector for aberration of light.
-
angles (pos)
this function converts a vector to angular quantities
-
anmp (a)
-
applan (tjd, l, n)
geocentric place of the sun, moon and planets
-
apstar (tjd, n, rai, deci, pm...
apparent place of a star
-
catran ...
this function transforms a star's catalog quantities for
-
celpol (tjd, itype, dpole1, d...
this function allows for the specification of celestial pole
-
celter (tjdh, tjdl, xp, yp, v...
this function rotates a vector from the celestial to the
-
ciobas (tjd, racio, k)
this function returns the orthonormal basis vectors, with
-
cioloc (tjd)
this function returns the location of the celestial
-
ciotio
-
dlight (pos1, pe)
this function returns the difference in light-time, for a star,
-
eceq (tjd, icoord, pos1)
this function converts an ecliptic position vector to
-
eect2000 (date1, date2)
equation of the equinoxes complementary terms, consistent with
-
eqec (tjd, icoord, pos1)
this function converts an equatorial position vector to
-
eqecl (tjd, icoord, ra, dec)
this function converts right ascension and declination
-
eqinox
-
eqxra (tjd, k)
this function computes the intermediate right ascension
-
erot (date1, date2)
this function returns the value of the earth rotation angle
-
etilt (tjd)
this function computes quantities related to the orientation
-
etilt1 (tjd)
this function computes quantities related to the orientation
-
frame (pos1, k)
this function transforms a vector from the dynamical reference
-
funarg (t)
this function computes fundamental arguments (mean elements)
-
gdate (jdate)
convert Julian date to Gregorian (calendar) date
-
geocen (pos1, pe)
this function moves the origin of coordinates from the
-
geopos (tjd, locatn, observ)
this function computes the geocentric position and velocity
-
getdt
this entry returns the current value of delta-t
-
getmod
this function returns the 'mode' value, which
-
grvd (pos1, pobs, pbody, rmas...
this function corrects position vector for the deflection
-
grvdef (tjd, loc, pos1, pobs)
this function computes the total gravitational deflection of
-
hiacc
-
idss_novas (name)
this function returns the id number of a solar system body
-
jd2str(jdate)
convert Julian date to string equivalent
-
julian (month, day, year)
Julian date
-
limang (pos1, poso)
this function determines the angle of an object above or below
-
littim (tjd, idbody, pose, tl...
this function computes the position of a solar system body,
-
loacc
-
nod (t)
this function returns the values for nutation in longitude and
-
novas_times (tdbjd)
this function computes the terrestrial time (tt) julian date
-
nut2000_lp (t)
low precison nutation based on iau 2000a
-
nut2000a (date1, date2)
nutation based on iau 2000a theory
-
nut2000k (date1, date2)
nutation based on the iau 2000k theory
-
nutate (tjd, pos1)
this function nutates equatorial rectangular coordinates from
-
obliq(t)
function to compute mean obliquity of the ecliptic in arcseconds
-
place (tjd, object, locatn, i...
this function computes the apparent direction of a star or solar
-
preces (tjd1, pos1, tjd2)
this function precesses equatorial rectangular coordinates from
-
propmo (tjd1, pos1, vel1, tjd...
this function applies proper motion, including foreshortening
-
radvl (pos, vel, velobs, star...
this function predicts the radial velocity of the observed
-
resume
-
setdt (delt)
this function allows for the specification of the delta-t value
-
setmod (mode)
this function allows the user to specify the 'mode' value,
-
sidtim (tjdh, tjdl, k)
this function computes the greenwich sidereal time
-
sidtim1 (tjdh, tjdl, k)
this function computes the greenwich sidereal time
-
solsys (tjd, body, origin)
purpose
-
spin (angl, pos1)
this function transforms a vector from one coordinate system
-
tercel (tjdh, tjdl, xp, yp, v...
this function rotates a vector from the terrestrial to the
-
terra (glon, glat, ht, st)
this function computes the position and velocity vectors of
-
times_novas (tdbjd)
this function computes the terrestrial time (tt) julian date
-
tpplan (ujd, ttjd, object, gl...
topocentric place of the sun, moon or planet
-
tpstar (ujd, ttjd, glon, glat...
topocentric place of a star
-
vectrs (ra, dec, pmra, pmdec,...
this function converts angular quantities related to a star's
-
wobble (tjd, x, y, pos1)
this function corrects a vector in the itrs (a rotating earth-
-
View all files
from
MATLAB Versions of NOVAS
by David Eagle
Several NOVAS Fortran subroutines have been ported to MATLAB.
|
| anmp (a)
|
function w = anmp (a)
% normalize angle into the range -pi <= a < +pi.
% ported from NOVAS 3.0
%%%%%%%%%%%%%%%%%%%%%%%
w = mod(a, 2.0 * pi);
if (abs(w) >= pi)
w = w - sign(a) * (2.0 * pi);
end
|
|
Contact us