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)
armc | right ascension of the MC as double (deg) |
---|---|
geolat | geographic latitude as double (deg) |
eps | ecliptic obliquity as double (deg) |
hsys | house method, one-letter case sensitive as char |
xpin | longitude and latitude of the given body as numeric vector (deg) |
jd_ut | UT Julian day number as double (day) |
ipl | Body/planet as integer ( |
starname | Star name as string ( |
ephe_flag | Ephemeris flag as integer ( |
imeth | Gauquelin method as integer (0, 1, 2, 3, 4 or 5) |
geopos | position as numeric vector (longitude, latitude, height) |
atpress | Atmospheric pressure as double (hPa) |
attemp | 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!
#> $return #> [1] 9.435262 #> #> $serr #> [1] "" #>#> $return #> [1] 0 #> #> $dgsect #> [1] 31.41367 #> #> $serr #> [1] "" #>