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
)
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
)
Star name as string (""
for no star)
Ephemeris flag as integer (SE$FLG_JPLEPH=1
, SE$FLG_SWIEPH=2
or 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)
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_gauquelin_sector
returns a list with named entries: return
status flag as integer,
dgsect
for Gauquelin sector as double and serr
error message as string
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!