Section8 | R Documentation |
Functions related to DeltaT and tidal acceleration
swe_deltat_ex(jd_ut, ephe_flag)
swe_deltat(jd_ut)
swe_set_tid_acc(t_acc)
swe_get_tid_acc()
swe_set_delta_t_userdef(delta_t)
jd_ut |
Julian day number (UT) as numeric vector (day) |
ephe_flag |
ephemeris flag as integer (SE$FLG_JPLEPH=1, SE$FLG_SWIEPH=2 or SE$FLG_MOSEPH=4) |
t_acc |
Tidal acceleration as double (arcsec/century^2) |
delta_t |
DeltaT (day) |
Determine DeltaT from Julian day number for a specific ephemeris.
Determine DeltaT from Julian day number for a used ephemeris. This function is only safe if:
your software consistently uses the same ephemeris flag
if software consistently uses the same ephemeris files (with SE$FLG_SWIEPH and SE$FLG_MOSEPH)
if swe_set_ephe_path() is first called (with SE$FLG_SWIEPH) and swe_set_jpl_file() (with SE$FLG_JPLEPH)
Set the tidal acceleration.
Get the present configured tidal acceleration.
Allows the user to set a fixed DeltaT value that will be returned by swe_deltat() or swe_deltat_ex().
swe_deltat_ex
returns a list with named entries: deltat
for DeltaT as double (day)
and serr
for error message as string.
swe_deltat
returns the DeltaT as double (day)
swe_get_tid_acc
returns the tidal acceleration as double (arcsec/century^2)
Section 8 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_deltat_ex(1234.567, SE$FLG_MOSEPH)
swe_deltat(1234.567)
swe_set_tid_acc(1.23)
swe_get_tid_acc()
swe_set_delta_t_userdef(0.23)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.