powered by
Computing positions of planets, asteroids, lunar nodes and apogees using Swiss Ephemeris.
swe_calc_ut(jd_ut, ipl, iflag)swe_calc(jd_et, ipl, iflag)
swe_calc(jd_et, ipl, iflag)
swe_calc_ut returns a list with named entries: return status flag as integer,
swe_calc_ut
return
xx information on planet position, and serr error message as string.
xx
serr
swe_calc returns a list with named entries: return status flag as integer,
swe_calc
xx updated star name as string and serr error message as string.
UT Julian day number as double (day)
Body/planet as integer (SE$SUN=0, SE$Moon=1, ... SE$PLUTO=9)
Computation flag as integer, many options possible (section 2.3.1)
ET Julian day number as double (day)
It compute positions using UT.
It compute positions using ET.
Section 2 in http://www.astro.com/swisseph/swephprg.htm. Remember that array indices start in R at 1, while in C they start at 0!
data(SE) swe_calc_ut(2458346.82639, SE$MOON, SE$FLG_MOSEPH) swe_calc(2458346.82639, SE$MOON, SE$FLG_MOSEPH)
Run the code above in your browser using DataLab