@swisseph/node 1.0.1 → 1.0.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/binding.gyp +10 -10
- package/libswe/CMakeLists.txt +63 -0
- package/libswe/sefstars.txt +1590 -0
- package/libswe/seleapsec.txt +6 -0
- package/libswe/seorbel.txt +95 -0
- package/libswe/sweasp.c +1881 -0
- package/libswe/swecl.c +6430 -0
- package/libswe/sweclips.c +905 -0
- package/libswe/swedate.c +588 -0
- package/libswe/swedate.h +81 -0
- package/libswe/swedll.h +403 -0
- package/libswe/swedllst.c +690 -0
- package/libswe/sweephe4.c +694 -0
- package/libswe/sweephe4.h +239 -0
- package/libswe/swehel.c +3522 -0
- package/libswe/swehouse.c +3140 -0
- package/libswe/swehouse.h +98 -0
- package/libswe/swejpl.c +952 -0
- package/libswe/swejpl.h +103 -0
- package/libswe/swemini.c +73 -0
- package/libswe/swemmoon.c +1930 -0
- package/libswe/swemplan.c +967 -0
- package/libswe/swemptab.h +10640 -0
- package/libswe/swenut2000a.h +2819 -0
- package/libswe/sweodef.h +345 -0
- package/libswe/sweph.c +8615 -0
- package/libswe/sweph.h +849 -0
- package/libswe/swephexp.h +1025 -0
- package/libswe/swephgen4.c +309 -0
- package/libswe/swephlib.c +4634 -0
- package/libswe/swephlib.h +189 -0
- package/libswe/swetest.c +4079 -0
- package/libswe/swevents.c +2936 -0
- package/libswe/swevents.h +118 -0
- package/package.json +10 -7
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
# This file contains the dates of leap seconds to be taken into account
|
|
2
|
+
# by the Swiss Ephemeris.
|
|
3
|
+
# For each new leap second add the date of its insertion in the format
|
|
4
|
+
# yyyymmdd, e.g. "20081231" for 31 december 2008.
|
|
5
|
+
# The leap second is inserted at the end of the day.
|
|
6
|
+
20081231
|
|
@@ -0,0 +1,95 @@
|
|
|
1
|
+
# Orbital elements of ficticious planets
|
|
2
|
+
# 27 Jan. 2000
|
|
3
|
+
#
|
|
4
|
+
# This file is part of the Swiss Ephemeris, from Version 1.52 on.
|
|
5
|
+
#
|
|
6
|
+
# Warning! These planets do not exist!
|
|
7
|
+
#
|
|
8
|
+
# The user can add his or her own elements.
|
|
9
|
+
# 960 is the maximum number of ficticious planets.
|
|
10
|
+
#
|
|
11
|
+
# The elements order is as follows:
|
|
12
|
+
# 1. epoch of elements (Julian day)
|
|
13
|
+
# 2. equinox (Julian day or "J1900" or "B1950" or "J2000")
|
|
14
|
+
# 3. mean anomaly at epoch
|
|
15
|
+
# 4. semi-axis
|
|
16
|
+
# 5. eccentricity
|
|
17
|
+
# 6. argument of perihelion (ang. distance of perihelion from node)
|
|
18
|
+
# 7. ascending node
|
|
19
|
+
# 8. inclination
|
|
20
|
+
# 9. name of planet
|
|
21
|
+
#
|
|
22
|
+
# use '#' for comments
|
|
23
|
+
# to compute a body with swe_calc(), use planet number
|
|
24
|
+
# ipl = SE_FICT_OFFSET_1 + number_of_elements_set,
|
|
25
|
+
# e.g. number of Kronos is ipl = 39 + 4 = 43
|
|
26
|
+
#
|
|
27
|
+
# Witte/Sieggruen planets, refined by James Neely
|
|
28
|
+
J1900, J1900, 163.7409, 40.99837, 0.00460, 171.4333, 129.8325, 1.0833, Cupido # 1
|
|
29
|
+
J1900, J1900, 27.6496, 50.66744, 0.00245, 148.1796, 161.3339, 1.0500, Hades # 2
|
|
30
|
+
J1900, J1900, 165.1232, 59.21436, 0.00120, 299.0440, 0.0000, 0.0000, Zeus # 3
|
|
31
|
+
J1900, J1900, 169.0193, 64.81690, 0.00305, 208.8801, 0.0000, 0.0000, Kronos # 4
|
|
32
|
+
J1900, J1900, 138.0533, 70.29949, 0.00000, 0.0000, 0.0000, 0.0000, Apollon # 5
|
|
33
|
+
J1900, J1900, 351.3350, 73.62765, 0.00000, 0.0000, 0.0000, 0.0000, Admetos # 6
|
|
34
|
+
J1900, J1900, 55.8983, 77.25568, 0.00000, 0.0000, 0.0000, 0.0000, Vulcanus # 7
|
|
35
|
+
J1900, J1900, 165.5163, 83.66907, 0.00000, 0.0000, 0.0000, 0.0000, Poseidon # 8
|
|
36
|
+
#
|
|
37
|
+
# Isis-Transpluto; elements from "Die Sterne" 3/1952, p. 70ff.
|
|
38
|
+
# Strubell does not give an equinox. 1945 is taken in order to
|
|
39
|
+
# reproduce the as best as ASTRON ephemeris. (This is a strange
|
|
40
|
+
# choice, though.)
|
|
41
|
+
# The epoch according to Strubell is 1772.76.
|
|
42
|
+
# 1772 is a leap year!
|
|
43
|
+
# The fraction is counted from 1 Jan. 1772
|
|
44
|
+
2368547.66, 2431456.5, 0.0, 77.775, 0.3, 0.7, 0, 0, Isis-Transpluto # 9
|
|
45
|
+
# Nibiru, elements from Christian Woeltge, Hannover
|
|
46
|
+
1856113.380954, 1856113.380954, 0.0, 234.8921, 0.981092, 103.966, -44.567, 158.708, Nibiru # 10
|
|
47
|
+
# Harrington, elements from Astronomical Journal 96(4), Oct. 1988
|
|
48
|
+
2374696.5, J2000, 0.0, 101.2, 0.411, 208.5, 275.4, 32.4, Harrington # 11
|
|
49
|
+
# according to W.G. Hoyt, "Planets X and Pluto", Tucson 1980, p. 63
|
|
50
|
+
2395662.5, 2395662.5, 34.05, 36.15, 0.10761, 284.75, 0, 0, Leverrier (Neptune) # 12
|
|
51
|
+
2395662.5, 2395662.5, 24.28, 37.25, 0.12062, 299.11, 0, 0, Adams (Neptune) # 13
|
|
52
|
+
2425977.5, 2425977.5, 281, 43.0, 0.202, 204.9, 0, 0, Lowell (Pluto) # 14
|
|
53
|
+
2425977.5, 2425977.5, 48.95, 55.1, 0.31, 280.1, 100, 15, Pickering (Pluto) # 15
|
|
54
|
+
# intramercurian hypothetical Vulcan acc. to L.H. Weston
|
|
55
|
+
J1900,JDATE, 252.8987988 + 707550.7341 * T, 0.13744, 0.019, 322.212069+1670.056*T, 47.787931-1670.056*T, 7.5, Vulcan # 16
|
|
56
|
+
# Selena/White Moon
|
|
57
|
+
J2000,JDATE, 242.2205555 + 5143.5418158 * T, 0.05280098949, 0.0, 0.0, 0.0, 0.0, Selena/White Moon, geo # 17
|
|
58
|
+
# Hypothetical planet Proserpina, according to http://www.geocities.com/Hollywood/Academy/7519/proserpina.html
|
|
59
|
+
# J1900, 170.73 + 51.05 * T
|
|
60
|
+
J1900,JDATE, 170.73, 79.225630, 0, 0, 0, 0, Proserpina #18
|
|
61
|
+
# Waldemath's Second Earth Moon
|
|
62
|
+
# Elements were derived by D.Koch from Waldemaths original elements as given in
|
|
63
|
+
# David Walters' book on Vulcan. They differ from Solar Fire (Graham Dawsons)
|
|
64
|
+
# elements, which are based on the assumption that the "mean longitude" given
|
|
65
|
+
# by Waldemath is an observation (a true longitude)
|
|
66
|
+
# Neither Swisseph nor Solar fire elements agree with Delphine Jay's ephemeris,
|
|
67
|
+
# which is obviously wrong.
|
|
68
|
+
2414290.95827875,2414290.95827875, 70.3407215 + 109023.2634989 * T, 0.0068400705250028, 0.1587, 8.14049594 + 2393.47417444 * T, 136.24878256 - 1131.71719709 * T, 2.5, Waldemath, geo # 19
|
|
69
|
+
# Colin R. Nicholl's Comet, according to "The Great Christ Comet", p. 223.
|
|
70
|
+
1719500.7, J2000, 0.0, 1190.0, 0.9999, 9.47, 200.08, 178.3, Christ Comet # 20
|
|
71
|
+
# Planet 9, according to: Fienga & alii, Constraints on the location of a
|
|
72
|
+
# possible 9th planet, Astronomy & Astrophysics no. FiengaLaskar2016R5. The
|
|
73
|
+
# authors provide true anomaly 117.8. Mean anomaly derived by D. Koch
|
|
74
|
+
2457388.5,J2000,45.5272966,700,0.6,150,113,30,Planet_9 # 21
|
|
75
|
+
# Comet Halley 12 BCE, only good near 12 BCE;
|
|
76
|
+
# Yeomans/Kiang, Mon. Not. R. astr. Soc. (1981), 197, p. 643
|
|
77
|
+
# http://adsabs.harvard.edu/full/1981MNRAS.197..633Y
|
|
78
|
+
1717323.34852, B1950, 0.0, 17.99261849, 0.9673664, 92.54399, 35.19064, 163.58392, Comet Halley 12 BCE # 22
|
|
79
|
+
# 2015 RR245
|
|
80
|
+
2457600.5,J2000,322.50413,81.2891975,0.5852663,261.41753,211.67680,7.57643,2015 RR245 # 23
|
|
81
|
+
# Koré apres Aureas
|
|
82
|
+
#2415021.5,JDATE, 345.632, 52.0, 0,0,0, 0, Korè #24, adapted to fit 9°19 8.7.1923
|
|
83
|
+
2415021.5,JDATE, 345.67, 52.0014913, 0,0,0, 0, Korè #24
|
|
84
|
+
# Comet Halley 1198 BCE, only good near 1198 BCE
|
|
85
|
+
# Yeomans/Kiang, Mon. Not. R. astr. Soc. (1981), 197, p. 643
|
|
86
|
+
# http://adsabs.harvard.edu/full/1981MNRAS.197..633Y
|
|
87
|
+
1283983.73252, B1950, 0.0, 16.80480637, 0.9625705, 74.46894, 14.66132, 162.95968, Comet Halley 1198 BCE # 25
|
|
88
|
+
#
|
|
89
|
+
# The following elements are for test only
|
|
90
|
+
# (Selena without T)
|
|
91
|
+
J2000,JDATE, 242.2205555, 0.05279142865925, 0.0, 0.0, 0.0, 0.0, Selena/White Moon, geo # 17
|
|
92
|
+
# (Selena with T, gives exactly the same position)
|
|
93
|
+
J2000,JDATE, 242.2205555 + 5143.5418158 * T, 0.05279142865925, 0.0, 0.0, 0.0, 0.0, Selena/White Moon with T Terms, geo # 17
|
|
94
|
+
J2000, JDATE, 174.794787 + 149472.5157715 * T, 0.38709831, 0.20563175 + 0.000020406 * T, 29.125226 + 0.3702885 * T, 48.330893 + 1.186189 * T, 7.004986 + 0.0018215 * T, Mercury elem. for equ. of date # 18
|
|
95
|
+
J2000, J2000, 174.794787 + 149472.5157715 * T, 0.38709831, 0.20563175 + 0.000020406 * T, 29.125226 + 0.2842872 * T, 48.330893 - 0.1254229 * T, 7.004986 - 0.0059516 * T, Mercury Test J2000 Elements# 18
|