swetest(1) | General Commands Manual | swetest(1) |
swetest - swetest.c
swetest Swiss Ephemeris test program.
Swetest computes a complete set of geocentric planetary positions, for a given date or a sequence of dates. Input can either be a date or an absolute julian day number. 0:00 (midnight). With the proper options, swetest can be used to output a printed ephemeris and transfer the data into other programs like spreadsheets for graphical display.
The Swiss Ephemeris did not arise in the UNIX/Gnu Linux world and hence the people at Astrodienst did not create UNIX/Gnu Linux style manpage for swetest. Please consult the following files:
/usr/share/doc/libswe-doc/swephprg.pdf
/usr/share/doc/libswe-doc/swisseph.pdf
/usr/share/doc/libswe-doc/swephprg.html
/usr/share/doc/libswe-doc/swisseph.html
This documentation can also be found on line on astrodienst's web pages.
However, below is the result of "swetest -h".
Command line options:
type 2 = heliacal setting
type 3 = evening first
type 4 = morning last
type 0 or missing = all four events are listed.
-partial partial eclipse (only with -solecl, -lunecl)
-annular annular eclipse (only with -solecl)
-anntot annular-total (hybrid) eclipse (only with -solecl)
-penumbral penumbral lunar eclipse (only with -lunecl)
-central central eclipse (only with -solecl, nonlocal)
-noncentral non-central eclipse (only with -solecl, nonlocal)
-disccenter find rise of disc center (with option -rise)
temperature in degrees Celsius
relative humidity in %
visual range, interpreted as follows:
1>visr>0 : total atmospheric coefficient (ktot)
= 0 : calculated from press, temp, rhum
0 monocular or 1 binocular
telescope magnification
optical aperture in mm
optical transmission
Default values: -opt36,1,1,1,0,0 (naked eye)
-rise rising and setting of a planet or star. Use -geopos[long,lat,elev] to specify geographical position.
-metr southern and northern meridian transit of a planet of star Use -geopos[long,lat,elev] to specify geographical position.
-partial partial eclipse (only with -solecl, -lunecl)
-annular annular eclipse (only with -solecl)
-anntot annular-total (hybrid) eclipse (only with -solecl)
-penumbral penumbral lunar eclipse (only with -lunecl)
-central central eclipse (only with -solecl, nonlocal)
-noncentral non-central eclipse (only with -solecl, nonlocal)
-disccenter find rise of disc center (with option -rise)
-hindu hindu version of sunrise (with option -rise)
temperature in degrees Celsius
relative humidity in %
visual range, interpreted as follows:
1>visr>0 : total atmospheric coefficient (ktot)
= 0 : calculated from press, temp, rhum
0 monocular or 1 binocular
telescope magnification
optical aperture in mm
optical transmission
Default values: -opt36,1,1,1,0,0 (naked eye)
Planet selection letters:
p main factors as above, plus main asteroids DEFGHI
h ficticious factors J..X
a all factors
single planet letters:
1 Moon (character 1)
2 Mercury
....
9 Pluto
m mean lunar node
t true lunar node
n nutation
q delta t
A mean lunar apogee (Lilith, Black Moon)
B osculating lunar apogee
c intp. lunar apogee
g intp. lunar perigee
C Earth (in heliocentric or barycentric calculation)
9 Pluto
E Pholus
G Pallas
H Juno
I Vesta
s minor planet, with MPC number given in -xs
f -xfSirius Sirius
K Hades
L Zeus
M Kronos
N Apollon
O Admetos
P Vulkanus
Q Poseidon
R Isis (Sevin)
S Nibiru (Sitchin)
T Harrington
U Leverrier's Neptune
V Adams' Neptune
W Lowell's Pluto
X Pickering's Pluto
Y Vulcan
Z White Moon
w Waldemath's dark Moon
z hypothetical body, with number given in -xz
e print a line of labels
Y year.fraction_of_year
p planet index
P planet name
J absolute juldate
T date formatted like 23.02.1992
t date formatted like 920223 for 1992 february 23
L longitude in degree ddd mm'ss"
l longitude decimal
Z longitude ddsignmm'ss"
S speed in longitude in degree ddd:mm:ss per day
SS speed for all values specified in fmt
s speed longitude decimal (degrees/day)
ss speed for all values specified in fmt
B latitude degree
b latitude decimal
R distance decimal in AU
r distance decimal in AU, Moon in seconds parallax
relative distance (1000=nearest, 0=furthest)
A right ascension in hh:mm:ss
a right ascension hours decimal
D declination degree
d declination decimal
I Azimuth degree
i Azimuth decimal
H Height degree
h Height decimal
K Height (with refraction) degree
k Height (with refraction) decimal
G house position in degrees
g house position in degrees decimal
j house number 1.0 - 12.99999
X x-, y-, and z-coordinates ecliptical
x x-, y-, and z-coordinates equatorial
U unit vector ecliptical
u unit vector equatorial
Q l, b, r, dl, db, dr, a, d, da, dd
n nodes (mean): ascending/descending (Me - Ne); longitude decimal
N nodes (osculating): ascending/descending, longitude; decimal
f apsides (mean): perihel, aphel, second focal point; longitude dec.
F apsides (osc.): perihel, aphel, second focal point; longitude dec.
+ phase angle
- phase
* elongation
/ apparent diameter of disc (without refraction)
= magnitude
v (reserved)
V (reserved)
Date entry: In the interactive mode, when you are asked for a start date, you can enter data in one of the following formats:
1.2.1991 three integers separated by a nondigit character for
day month year. Dates are interpreted as Gregorian
after 4.10.1582 and as Julian Calendar before.
Time is always set to midnight.
If the three letters jul are appended to the date,
the Julian calendar is used even after 1582.
If the four letters greg are appended to the date,
the Gregorian calendar is used even before 1582.
j2400123.67 the letter j followed by a real number, for
the absolute Julian daynumber of the start date.
Fraction .5 indicates midnight, fraction .0
indicates noon, other times of the day can be
chosen accordingly.
<RETURN> repeat the last entry
. stop the program
+20 advance the date by 20 days
-10 go back in time 10 days
swetest -p2 -b1.12.1900 -n15 -s2
ephemeris of Mercury (-p2) starting on 1 Dec 1900,
15 positions (-n15) in two-day steps (-s2)
swetest -p2 -b1.12.1900 -n15 -s2 -fTZ -roundsec -g, -head
same, but output format = date and zodiacal position (-fTZ),
separated by comma (-g,) and rounded to seconds (-roundsec),
without header (-head).
swetest -ps -xs433 -b1.12.1900
position of asteroid 433 Eros (-ps -xs433)
swetest -pf -xfAldebaran -b1.1.2000
position of fixed star Aldebaran
swetest -p1 -d0 -b1.12.1900 -n10 -fPTl -head
angular distance of moon (-p1) from sun (-d0) for 10
consecutive days (-n10).
swetest -p6 -DD -b1.12.1900 -n100 -s5 -fPTZ -head -roundmin
Midpoints between Saturn (-p6) and Chiron (-DD) for 100
consecutive steps (-n100) with 5‐day steps (-s5) with
longitude in degree‐sign format (-f..Z) rounded to minutes (-roundmin)
swetest -b5.1.2002 -p -house12.05,49.50,k -ut12:30
Koch houses for a location in Germany at a given date and time
The Swiss Ephemeris and swetest were written by Dieter Koch and Alois Treindl of Astrodienst.
This manual page was transcribed by Paul Elliott <pelliott@blackpatchpanel.com> using the results of "swetest -h", for the Debian project (and may be used by others).
August 10, 2011 |