powered by
Calculate house position of a given body.
swe_house_pos(armc, geolat, eps, hsys, xpin)swe_gauquelin_sector(jd_ut, ipl, starname, ephe_flag, imeth, geopos, atpress, attemp)
swe_gauquelin_sector(jd_ut, ipl, starname, ephe_flag, imeth, geopos, atpress, attemp)
swe_house_pos returns a list with named entries: return how far from body's cusp as double, and serr error message as string.
swe_house_pos
return
serr
swe_gauquelin_sector returns a list with named entries: return status flag as integer,
swe_gauquelin_sector
dgsect for Gauquelin sector as double and serr error message as string
dgsect
right ascension of the MC as double (deg)
geographic latitude as double (deg)
ecliptic obliquity as double (deg)
house method, one-letter case sensitive as char
longitude and latitude of the given body as numeric vector (deg)
UT Julian day number as double (day)
Body/planet as integer (SE$SUN=0, SE$MOON=1, ... SE$PLUTO=9)
SE$SUN=0
SE$MOON=1
SE$PLUTO=9
Star name as string ("" for no star)
""
Ephemeris flag as integer (SE$FLG_JPLEPH=1, SE$FLG_SWIEPH=2 or SE$FLG_MOSEPH=4)
SE$FLG_JPLEPH=1
SE$FLG_SWIEPH=2
SE$FLG_MOSEPH=4
Gauquelin method as integer (0, 1, 2, 3, 4 or 5)
position as numeric vector (longitude, latitude, height)
Atmospheric pressure as double (hPa)
Atmospheric temperature as double (Celsius)
Calculate house position of given body.
Compute the Gauquelin sector position of a planet or star.
Section 14 in http://www.astro.com/swisseph/swephprg.htm. Remember that array indices start in R at 1, while in C they start at 0!
swe_house_pos(12, 53, 23, 'B', c(0,0)) data(SE) swe_gauquelin_sector(1234567.5,SE$VENUS,"",SE$FLG_MOSEPH,0,c(0,50,10),1013.25,15)
Run the code above in your browser using DataLab