powered by
Functions to support the determination of sidereal information
swe_set_sid_mode(sid_mode, t0, ayan_t0)swe_get_ayanamsa_name(sid_mode)swe_get_ayanamsa_ex_ut(jd_ut, iflag)swe_get_ayanamsa_ex(jd_et, iflag)
swe_get_ayanamsa_name(sid_mode)
swe_get_ayanamsa_ex_ut(jd_ut, iflag)
swe_get_ayanamsa_ex(jd_et, iflag)
swe_get_ayanamsa_name returns name of ayanamsa method as string
swe_get_ayanamsa_name
swe_get_ayanamsa_ex_ut returns a list with named entries: return status flag as integer,
swe_get_ayanamsa_ex_ut
return
daya ayanamsa value as double and serr error message as string
daya
serr
swe_get_ayanamsa_ex returns a list with named entries: return status flag as integer,
swe_get_ayanamsa_ex
Sidereal mode as integer
Reference date as double (day)
The initial latitude value of the ayanamsa as double (deg)
UT Julian day number as double (day)
Computation flag as integer, many options possible (section 2.3)
ET Julian day number as double (day)
Set the mode for sidereal computations.
Get the mode name for sidereal computations.
It computes ayanamsa using UT.
It computes ayanamsa using ET.
Section 10 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_set_sid_mode(SE$SIDM_FAGAN_BRADLEY,0,0) swe_get_ayanamsa_name(SE$SIDM_FAGAN_BRADLEY) swe_get_ayanamsa_ex_ut(2458346.82639,SE$FLG_MOSEPH) swe_get_ayanamsa_ex(2458346.82639,SE$FLG_MOSEPH)
Run the code above in your browser using DataLab