sweph 2.10.3-4 → 2.10.3-6
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/README.md +7 -4
- package/binding.gyp +2 -1
- package/index.d.ts +163 -87
- package/index.js +16 -7
- package/index.mjs +113 -102
- package/package.json +11 -7
- package/prebuilds/darwin-arm64/sweph.node +0 -0
- package/prebuilds/linux-arm64/sweph.node +0 -0
- package/prebuilds/linux-x64/sweph.node +0 -0
- package/prebuilds/win32-x64/sweph.node +0 -0
- package/src/functions/deg_midp.cpp +19 -0
- package/src/functions/difrad2n.cpp +19 -0
- package/src/functions/rad_midp.cpp +19 -0
- package/src/functions/set_lapse_rate.cpp +14 -0
- package/src/sweph.cpp +4 -0
- package/src/sweph.h +5 -1
- package/swisseph/swecl.c +19 -21
- package/swisseph/swehel.c +5 -16
- package/swisseph/swehouse.c +6 -3
- package/swisseph/swejpl.c +7 -1
- package/swisseph/swemmoon.c +6 -6
- package/swisseph/sweodef.h +0 -19
- package/swisseph/sweph.c +7 -7
- package/swisseph/sweph.h +14 -14
- package/swisseph/swephexp.h +3 -8
- package/swisseph/swephlib.c +16 -8
package/README.md
CHANGED
|
@@ -38,6 +38,9 @@ This library is version locked to the Swiss Ephemeris in addition to its own rev
|
|
|
38
38
|
|
|
39
39
|
Updates to this library will be released under new revisions, while updates to Swiss Ephemeris will be released under matching SemVer versions.
|
|
40
40
|
|
|
41
|
+
**Current Version: 2.10.3-6**
|
|
42
|
+
**Equivalent to Swiss Ephemeris version: 2.10.03 revision 6**
|
|
43
|
+
|
|
41
44
|
## Documentation
|
|
42
45
|
|
|
43
46
|
This library is fully typed and documented via intellisense. To access its documentation simply hover over its functions in your favorite code editor:
|
|
@@ -46,7 +49,7 @@ This library is fully typed and documented via intellisense. To access its docum
|
|
|
46
49
|
|
|
47
50
|
## Ephemeris files
|
|
48
51
|
|
|
49
|
-
Ephemeris files are required to enable high precision calculations for planets and asteroids. This library does not include any ephemeris files by default, but you can download them from the official Swiss Ephemeris Github repository (main planets only) or the official Astrodienst
|
|
52
|
+
Ephemeris files are required to enable high precision calculations for planets and asteroids. This library does not include any ephemeris files by default, but you can download them from the official Swiss Ephemeris Github repository (main planets only) or the official Astrodienst Dropbox folder (all files):
|
|
50
53
|
|
|
51
54
|
* Swiss Ephemeris Github: [https://github.com/aloistr/swisseph/tree/master/ephe](https://github.com/aloistr/swisseph/tree/master/ephe)
|
|
52
55
|
* Astrodienst Dropbox [https://www.dropbox.com/scl/fo/y3naz62gy6f6qfrhquu7u/h?rlkey=ejltdhb262zglm7eo6yfj2940&dl=0](https://www.dropbox.com/scl/fo/y3naz62gy6f6qfrhquu7u/h?rlkey=ejltdhb262zglm7eo6yfj2940&dl=0)
|
|
@@ -79,10 +82,10 @@ If you find any inaccuracy or bug in this library, or if you find an upstream up
|
|
|
79
82
|
|
|
80
83
|
* While worker_threads are supported, the underlying C library is single threaded and contains process-wide settings. Functions such as `set_ephe_path()` or `set_sid_mode()` will affect the entire process, including all worker_threads. While you can still use worker_threads as long as you don't change settings from other threads in the middle of calculations, true thread-safe multithreading can only be achieved using child_process.
|
|
81
84
|
|
|
82
|
-
* This library is a C/C++ add-on designed for Node.JS only, it will not work in browsers, other JS engines or in any other environment that does not support native C/C++ add-ons made with Node's N-API.
|
|
85
|
+
* This library is a C/C++ add-on designed for Node.JS only, it will not work in browsers, other JS engines or in any other environment that does not support native C/C++ add-ons made with Node's N-API. Prebuilt binaries are included for supported platforms. If no matching prebuild is available for the target system, installation falls back to a native build and requires the necessary build tools, such as `python`, `make` and `gcc` on Linux, `xcode` on Mac, `visual c++ build tools` on Windows, and/or other equivalent solutions.
|
|
83
86
|
|
|
84
87
|
## Copyright
|
|
85
88
|
|
|
86
|
-
Copyright © 2021-
|
|
89
|
+
Copyright © 2021-2026, Timotej Valentin Rojko
|
|
87
90
|
|
|
88
|
-
This library is offered free of charge for any type of use, including commercial use
|
|
91
|
+
This library is offered free of charge for any type of use, including commercial use. If you rely on it in personal or commercial projects, consider sponsoring the project to help fund maintenance, updates, and support.
|
package/binding.gyp
CHANGED
package/index.d.ts
CHANGED
|
@@ -2098,13 +2098,13 @@ declare module "sweph" {
|
|
|
2098
2098
|
* ```
|
|
2099
2099
|
* string
|
|
2100
2100
|
* ```
|
|
2101
|
-
* ### Example
|
|
2102
|
-
* ```
|
|
2103
|
-
* const time = cs2timestr(2345464, ":", true); // "
|
|
2104
|
-
* ```
|
|
2105
|
-
*
|
|
2106
|
-
*/
|
|
2107
|
-
export function cs2timestr(csec: number, sep: string, suppresszero: boolean): string;
|
|
2101
|
+
* ### Example
|
|
2102
|
+
* ```
|
|
2103
|
+
* const time = cs2timestr(2345464, ":", true); // "06:30:55"
|
|
2104
|
+
* ```
|
|
2105
|
+
*
|
|
2106
|
+
*/
|
|
2107
|
+
export function cs2timestr(csec: number, sep: string, suppresszero: boolean): string;
|
|
2108
2108
|
|
|
2109
2109
|
/**
|
|
2110
2110
|
* ### Description
|
|
@@ -2242,15 +2242,16 @@ declare module "sweph" {
|
|
|
2242
2242
|
* Object {
|
|
2243
2243
|
* error: string // Warning message if any
|
|
2244
2244
|
* data: number // Delta T value
|
|
2245
|
-
* }
|
|
2246
|
-
* ```
|
|
2247
|
-
* ### Example
|
|
2248
|
-
* ```
|
|
2249
|
-
* const
|
|
2250
|
-
*
|
|
2251
|
-
*
|
|
2252
|
-
|
|
2253
|
-
|
|
2245
|
+
* }
|
|
2246
|
+
* ```
|
|
2247
|
+
* ### Example
|
|
2248
|
+
* ```
|
|
2249
|
+
* const result = deltat_ex(2431232, constants.SEFLG_MOSEPH);
|
|
2250
|
+
* console.log(result.data); // 0.0003093125751840641
|
|
2251
|
+
* ```
|
|
2252
|
+
*
|
|
2253
|
+
*/
|
|
2254
|
+
export function deltat_ex(tjd: number, ephe: number): DeltaT;
|
|
2254
2255
|
|
|
2255
2256
|
/**
|
|
2256
2257
|
* ### Description
|
|
@@ -2261,15 +2262,15 @@ declare module "sweph" {
|
|
|
2261
2262
|
* ```
|
|
2262
2263
|
* ### Returns
|
|
2263
2264
|
* ```
|
|
2264
|
-
* number // Delta T value
|
|
2265
|
-
* ```
|
|
2266
|
-
* ### Example
|
|
2267
|
-
* ```
|
|
2268
|
-
* const deltaT = deltat(2431232); // 0.
|
|
2269
|
-
* ```
|
|
2270
|
-
*
|
|
2271
|
-
*/
|
|
2272
|
-
export function deltat(tjd: number): number;
|
|
2265
|
+
* number // Delta T value
|
|
2266
|
+
* ```
|
|
2267
|
+
* ### Example
|
|
2268
|
+
* ```
|
|
2269
|
+
* const deltaT = deltat(2431232); // 0.0003093386847061279
|
|
2270
|
+
* ```
|
|
2271
|
+
*
|
|
2272
|
+
*/
|
|
2273
|
+
export function deltat(tjd: number): number;
|
|
2273
2274
|
|
|
2274
2275
|
/**
|
|
2275
2276
|
* ### Description
|
|
@@ -2333,7 +2334,67 @@ declare module "sweph" {
|
|
|
2333
2334
|
|
|
2334
2335
|
/**
|
|
2335
2336
|
* ### Description
|
|
2336
|
-
* Arc distance between two points in
|
|
2337
|
+
* Arc distance between two points in radians normalized to the range -PI to PI
|
|
2338
|
+
* ### Params
|
|
2339
|
+
* ```
|
|
2340
|
+
* • rad1: number // First point in radians
|
|
2341
|
+
* • rad2: number // Second point in radians
|
|
2342
|
+
* ```
|
|
2343
|
+
* ### Returns
|
|
2344
|
+
* ```
|
|
2345
|
+
* number // Distance in radians from -PI to PI
|
|
2346
|
+
* ```
|
|
2347
|
+
* ### Example
|
|
2348
|
+
* ```
|
|
2349
|
+
* const distance = difrad2n(Math.PI / 2, 0); // 1.5707963267948966
|
|
2350
|
+
* ```
|
|
2351
|
+
*
|
|
2352
|
+
*/
|
|
2353
|
+
export function difrad2n(rad1: number, rad2: number): number;
|
|
2354
|
+
|
|
2355
|
+
/**
|
|
2356
|
+
* ### Description
|
|
2357
|
+
* Midpoint between two points in degrees
|
|
2358
|
+
* ### Params
|
|
2359
|
+
* ```
|
|
2360
|
+
* • deg1: number // First point in degrees
|
|
2361
|
+
* • deg2: number // Second point in degrees
|
|
2362
|
+
* ```
|
|
2363
|
+
* ### Returns
|
|
2364
|
+
* ```
|
|
2365
|
+
* number // Midpoint in degrees
|
|
2366
|
+
* ```
|
|
2367
|
+
* ### Example
|
|
2368
|
+
* ```
|
|
2369
|
+
* const mid = deg_midp(10, 350); // 0
|
|
2370
|
+
* ```
|
|
2371
|
+
*
|
|
2372
|
+
*/
|
|
2373
|
+
export function deg_midp(deg1: number, deg2: number): number;
|
|
2374
|
+
|
|
2375
|
+
/**
|
|
2376
|
+
* ### Description
|
|
2377
|
+
* Midpoint between two points in radians
|
|
2378
|
+
* ### Params
|
|
2379
|
+
* ```
|
|
2380
|
+
* • rad1: number // First point in radians
|
|
2381
|
+
* • rad2: number // Second point in radians
|
|
2382
|
+
* ```
|
|
2383
|
+
* ### Returns
|
|
2384
|
+
* ```
|
|
2385
|
+
* number // Midpoint in radians
|
|
2386
|
+
* ```
|
|
2387
|
+
* ### Example
|
|
2388
|
+
* ```
|
|
2389
|
+
* const mid = rad_midp(0.1, 6.2); // 0.00840734641020724
|
|
2390
|
+
* ```
|
|
2391
|
+
*
|
|
2392
|
+
*/
|
|
2393
|
+
export function rad_midp(rad1: number, rad2: number): number;
|
|
2394
|
+
|
|
2395
|
+
/**
|
|
2396
|
+
* ### Description
|
|
2397
|
+
* Arc distance between two points in degrees in a single direction
|
|
2337
2398
|
* ### Params
|
|
2338
2399
|
* ```
|
|
2339
2400
|
* • deg1: number // First point in degrees
|
|
@@ -2365,15 +2426,15 @@ declare module "sweph" {
|
|
|
2365
2426
|
* error: string, // Error message in case of ERR
|
|
2366
2427
|
* name: string, // The name of the matched star from the sefstars.txt file
|
|
2367
2428
|
* data: number // The star's magnitude value
|
|
2368
|
-
* }
|
|
2369
|
-
* ```
|
|
2370
|
-
* ### Example
|
|
2371
|
-
* ```
|
|
2372
|
-
* const result =
|
|
2373
|
-
* if(result.flag !== constants.OK) { throw new Error(result.error); }
|
|
2374
|
-
* console.log(`
|
|
2375
|
-
* Star: ${result.name}
|
|
2376
|
-
* Magnitude: ${result.data}
|
|
2429
|
+
* }
|
|
2430
|
+
* ```
|
|
2431
|
+
* ### Example
|
|
2432
|
+
* ```
|
|
2433
|
+
* const result = fixstar_mag("Aldebaran");
|
|
2434
|
+
* if(result.flag !== constants.OK) { throw new Error(result.error); }
|
|
2435
|
+
* console.log(`
|
|
2436
|
+
* Star: ${result.name}
|
|
2437
|
+
* Magnitude: ${result.data}
|
|
2377
2438
|
* `)
|
|
2378
2439
|
* ```
|
|
2379
2440
|
*
|
|
@@ -2474,15 +2535,15 @@ declare module "sweph" {
|
|
|
2474
2535
|
* error: string, // Error message in case of ERR
|
|
2475
2536
|
* name: string, // The name of the matched star from the sefstars.txt file
|
|
2476
2537
|
* data: number // The star's magnitude value
|
|
2477
|
-
* }
|
|
2478
|
-
* ```
|
|
2479
|
-
* ### Example
|
|
2480
|
-
* ```
|
|
2481
|
-
* const result =
|
|
2482
|
-
* if(result.flag !== constants.OK) { throw new Error(result.error); }
|
|
2483
|
-
* console.log(`
|
|
2484
|
-
* Star: ${result.name}
|
|
2485
|
-
* Magnitude: ${result.data}
|
|
2538
|
+
* }
|
|
2539
|
+
* ```
|
|
2540
|
+
* ### Example
|
|
2541
|
+
* ```
|
|
2542
|
+
* const result = fixstar2_mag("Aldebaran");
|
|
2543
|
+
* if(result.flag !== constants.OK) { throw new Error(result.error); }
|
|
2544
|
+
* console.log(`
|
|
2545
|
+
* Star: ${result.name}
|
|
2546
|
+
* Magnitude: ${result.data}
|
|
2486
2547
|
* `)
|
|
2487
2548
|
* ```
|
|
2488
2549
|
*
|
|
@@ -3302,16 +3363,16 @@ declare module "sweph" {
|
|
|
3302
3363
|
* hour: number; // Hour (0-23)
|
|
3303
3364
|
* minute: number; // Minute (0-59)
|
|
3304
3365
|
* second: number; // Second including fraction (0-59.99999)
|
|
3305
|
-
* }
|
|
3306
|
-
* ```
|
|
3307
|
-
* ### Example
|
|
3308
|
-
* ```
|
|
3309
|
-
* const date = jdet_to_utc(2415423, constants.
|
|
3310
|
-
* console.log(date);
|
|
3311
|
-
* ```
|
|
3312
|
-
*
|
|
3313
|
-
*/
|
|
3314
|
-
export function jdet_to_utc(tjd_et: number, gregflag: number): DateObject2;
|
|
3366
|
+
* }
|
|
3367
|
+
* ```
|
|
3368
|
+
* ### Example
|
|
3369
|
+
* ```
|
|
3370
|
+
* const date = jdet_to_utc(2415423, constants.SE_GREG_CAL);
|
|
3371
|
+
* console.log(date);
|
|
3372
|
+
* ```
|
|
3373
|
+
*
|
|
3374
|
+
*/
|
|
3375
|
+
export function jdet_to_utc(tjd_et: number, gregflag: number): DateObject2;
|
|
3315
3376
|
|
|
3316
3377
|
/**
|
|
3317
3378
|
* ### Description
|
|
@@ -3330,16 +3391,16 @@ declare module "sweph" {
|
|
|
3330
3391
|
* hour: number; // Hour (0-23)
|
|
3331
3392
|
* minute: number; // Minute (0-59)
|
|
3332
3393
|
* second: number; // Second including fraction (0-59.99999)
|
|
3333
|
-
* }
|
|
3334
|
-
* ```
|
|
3335
|
-
* ### Example
|
|
3336
|
-
* ```
|
|
3337
|
-
* const date = jdut1_to_utc(2415423, constants.
|
|
3338
|
-
* console.log(date);
|
|
3339
|
-
* ```
|
|
3340
|
-
*
|
|
3341
|
-
*/
|
|
3342
|
-
export function jdut1_to_utc(tjd_ut: number, gregflag: number): DateObject2;
|
|
3394
|
+
* }
|
|
3395
|
+
* ```
|
|
3396
|
+
* ### Example
|
|
3397
|
+
* ```
|
|
3398
|
+
* const date = jdut1_to_utc(2415423, constants.SE_GREG_CAL);
|
|
3399
|
+
* console.log(date);
|
|
3400
|
+
* ```
|
|
3401
|
+
*
|
|
3402
|
+
*/
|
|
3403
|
+
export function jdut1_to_utc(tjd_ut: number, gregflag: number): DateObject2;
|
|
3343
3404
|
|
|
3344
3405
|
/**
|
|
3345
3406
|
* ### Description
|
|
@@ -4052,9 +4113,9 @@ declare module "sweph" {
|
|
|
4052
4113
|
*/
|
|
4053
4114
|
export function radnorm(drad: number): number;
|
|
4054
4115
|
|
|
4055
|
-
/**
|
|
4056
|
-
* ### Description
|
|
4057
|
-
* Calculate true altitude from the apparent altitude or apparent altitude from true altitude
|
|
4116
|
+
/**
|
|
4117
|
+
* ### Description
|
|
4118
|
+
* Calculate true altitude from the apparent altitude or apparent altitude from true altitude
|
|
4058
4119
|
* Extended function also supports negative heights and more
|
|
4059
4120
|
* ### Params
|
|
4060
4121
|
* ```
|
|
@@ -4188,17 +4249,17 @@ declare module "sweph" {
|
|
|
4188
4249
|
* flag: number, // OK, ERR or -2 if circumpolar object
|
|
4189
4250
|
* error: string, // Error message if any
|
|
4190
4251
|
* data: number // Transit time in julian days in universal time
|
|
4191
|
-
* }
|
|
4192
|
-
* ```
|
|
4193
|
-
* ### Example
|
|
4194
|
-
* ```
|
|
4195
|
-
* const result =
|
|
4196
|
-
* if(result.flag !== constants.OK) { console.log(result.error); }
|
|
4197
|
-
* console.log(result.data);
|
|
4198
|
-
* ```
|
|
4199
|
-
*
|
|
4200
|
-
*/
|
|
4201
|
-
export function rise_trans(tjd_ut: number, ipl: number, starname: string | null, epheflag: number, rsmi: number, geopos: [longitude: number, latitude: number, elevation: number], atpress: number, attemp: number): RiseTrans;
|
|
4252
|
+
* }
|
|
4253
|
+
* ```
|
|
4254
|
+
* ### Example
|
|
4255
|
+
* ```
|
|
4256
|
+
* const result = rise_trans(2555555, constants.SE_MOON, null, constants.SEFLG_SWIEPH, constants.SE_CALC_RISE, [95,40,200], 0, 0);
|
|
4257
|
+
* if(result.flag !== constants.OK) { console.log(result.error); }
|
|
4258
|
+
* console.log(result.data);
|
|
4259
|
+
* ```
|
|
4260
|
+
*
|
|
4261
|
+
*/
|
|
4262
|
+
export function rise_trans(tjd_ut: number, ipl: number, starname: string | null, epheflag: number, rsmi: number, geopos: [longitude: number, latitude: number, elevation: number], atpress: number, attemp: number): RiseTrans;
|
|
4202
4263
|
|
|
4203
4264
|
/**
|
|
4204
4265
|
* ### Description
|
|
@@ -4293,6 +4354,21 @@ declare module "sweph" {
|
|
|
4293
4354
|
*/
|
|
4294
4355
|
export function set_tid_acc(t_acc: number): void;
|
|
4295
4356
|
|
|
4357
|
+
/**
|
|
4358
|
+
* ### Description
|
|
4359
|
+
* Set the atmospheric lapse rate used by the extended refraction calculations
|
|
4360
|
+
* ### Params
|
|
4361
|
+
* ```
|
|
4362
|
+
* • lapse_rate: number // Lapse rate [°K/m]
|
|
4363
|
+
* ```
|
|
4364
|
+
* ### Example
|
|
4365
|
+
* ```
|
|
4366
|
+
* set_lapse_rate(0.0065);
|
|
4367
|
+
* ```
|
|
4368
|
+
*
|
|
4369
|
+
*/
|
|
4370
|
+
export function set_lapse_rate(lapse_rate: number): void;
|
|
4371
|
+
|
|
4296
4372
|
/**
|
|
4297
4373
|
* ### Description
|
|
4298
4374
|
* Set geographic coordinates for topocentric mode
|
|
@@ -4725,15 +4801,15 @@ declare module "sweph" {
|
|
|
4725
4801
|
* Get current swisseph version
|
|
4726
4802
|
* ### Returns
|
|
4727
4803
|
* ```
|
|
4728
|
-
* string // Swisseph version
|
|
4729
|
-
* ```
|
|
4730
|
-
* ### Example
|
|
4731
|
-
* ```
|
|
4732
|
-
* const
|
|
4733
|
-
* ```
|
|
4734
|
-
*
|
|
4735
|
-
*/
|
|
4736
|
-
export function version(): string;
|
|
4804
|
+
* string // Swisseph version
|
|
4805
|
+
* ```
|
|
4806
|
+
* ### Example
|
|
4807
|
+
* ```
|
|
4808
|
+
* const currentVersion = version(); // "2.10.03"
|
|
4809
|
+
* ```
|
|
4810
|
+
*
|
|
4811
|
+
*/
|
|
4812
|
+
export function version(): string;
|
|
4737
4813
|
|
|
4738
4814
|
/**
|
|
4739
4815
|
* ### Description
|
package/index.js
CHANGED
|
@@ -1,7 +1,16 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
1
|
+
/// <reference path="index.d.ts"/>
|
|
2
|
+
"use strict";
|
|
3
|
+
|
|
4
|
+
/** @type {Omit<import("sweph"), "constants" | "sweph" | "default">} */
|
|
5
|
+
// @ts-ignore
|
|
6
|
+
const s = require("node-gyp-build")(__dirname);
|
|
7
|
+
const c = require("./constants.js");
|
|
8
|
+
|
|
9
|
+
const sweph = {
|
|
10
|
+
...s,
|
|
11
|
+
constants: c,
|
|
12
|
+
sweph: s,
|
|
13
|
+
default: s
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
module.exports = sweph;
|
package/index.mjs
CHANGED
|
@@ -1,109 +1,120 @@
|
|
|
1
1
|
import { createRequire } from "module";
|
|
2
|
+
import { fileURLToPath } from "url";
|
|
2
3
|
import c from "./constants.js";
|
|
3
4
|
|
|
5
|
+
const __dirname = fileURLToPath(new URL(".", import.meta.url));
|
|
4
6
|
const require = createRequire(import.meta.url);
|
|
5
|
-
export const sweph = require("./build/Release/sweph.node");
|
|
6
7
|
|
|
7
|
-
sweph
|
|
8
|
-
|
|
9
|
-
|
|
8
|
+
/** @type {Omit<import("sweph"), "constants" | "sweph" | "default">} */
|
|
9
|
+
const s = require("node-gyp-build")(__dirname);
|
|
10
|
+
|
|
11
|
+
export const sweph = {
|
|
12
|
+
...s,
|
|
13
|
+
constants: c,
|
|
14
|
+
sweph: s,
|
|
15
|
+
default: s
|
|
16
|
+
}
|
|
10
17
|
|
|
11
18
|
export default sweph;
|
|
12
|
-
export const constants =
|
|
13
|
-
export const close =
|
|
14
|
-
export const set_delta_t_userdef =
|
|
15
|
-
export const set_ephe_path =
|
|
16
|
-
export const set_jpl_file =
|
|
17
|
-
export const
|
|
18
|
-
export const
|
|
19
|
-
export const
|
|
20
|
-
export const
|
|
21
|
-
export const
|
|
22
|
-
export const
|
|
23
|
-
export const
|
|
24
|
-
export const
|
|
25
|
-
export const
|
|
26
|
-
export const
|
|
27
|
-
export const
|
|
28
|
-
export const
|
|
29
|
-
export const
|
|
30
|
-
export const
|
|
31
|
-
export const
|
|
32
|
-
export const
|
|
33
|
-
export const
|
|
34
|
-
export const
|
|
35
|
-
export const
|
|
36
|
-
export const
|
|
37
|
-
export const
|
|
38
|
-
export const
|
|
39
|
-
export const
|
|
40
|
-
export const
|
|
41
|
-
export const
|
|
42
|
-
export const
|
|
43
|
-
export const
|
|
44
|
-
export const
|
|
45
|
-
export const
|
|
46
|
-
export const
|
|
47
|
-
export const
|
|
48
|
-
export const
|
|
49
|
-
export const
|
|
50
|
-
export const
|
|
51
|
-
export const
|
|
52
|
-
export const
|
|
53
|
-
export const
|
|
54
|
-
export const
|
|
55
|
-
export const
|
|
56
|
-
export const
|
|
57
|
-
export const
|
|
58
|
-
export const
|
|
59
|
-
export const
|
|
60
|
-
export const
|
|
61
|
-
export const
|
|
62
|
-
export const
|
|
63
|
-
export const
|
|
64
|
-
export const
|
|
65
|
-
export const
|
|
66
|
-
export const
|
|
67
|
-
export const
|
|
68
|
-
export const
|
|
69
|
-
export const
|
|
70
|
-
export const
|
|
71
|
-
export const
|
|
72
|
-
export const
|
|
73
|
-
export const
|
|
74
|
-
export const
|
|
75
|
-
export const
|
|
76
|
-
export const
|
|
77
|
-
export const
|
|
78
|
-
export const
|
|
79
|
-
export const
|
|
80
|
-
export const
|
|
81
|
-
export const
|
|
82
|
-
export const
|
|
83
|
-
export const
|
|
84
|
-
export const
|
|
85
|
-
export const
|
|
86
|
-
export const
|
|
87
|
-
export const
|
|
88
|
-
export const
|
|
89
|
-
export const
|
|
90
|
-
export const
|
|
91
|
-
export const
|
|
92
|
-
export const
|
|
93
|
-
export const
|
|
94
|
-
export const
|
|
95
|
-
export const
|
|
96
|
-
export const
|
|
97
|
-
export const
|
|
98
|
-
export const
|
|
99
|
-
export const
|
|
100
|
-
export const
|
|
101
|
-
export const
|
|
102
|
-
export const
|
|
103
|
-
export const
|
|
104
|
-
export const
|
|
105
|
-
export const
|
|
106
|
-
export const
|
|
107
|
-
export const
|
|
108
|
-
export const
|
|
109
|
-
export const
|
|
19
|
+
export const constants = c;
|
|
20
|
+
export const close = s.close;
|
|
21
|
+
export const set_delta_t_userdef = s.set_delta_t_userdef;
|
|
22
|
+
export const set_ephe_path = s.set_ephe_path;
|
|
23
|
+
export const set_jpl_file = s.set_jpl_file;
|
|
24
|
+
export const set_lapse_rate = s.set_lapse_rate;
|
|
25
|
+
export const set_sid_mode = s.set_sid_mode;
|
|
26
|
+
export const set_tid_acc = s.set_tid_acc;
|
|
27
|
+
export const set_topo = s.set_topo;
|
|
28
|
+
export const version = s.version;
|
|
29
|
+
export const get_library_path = s.get_library_path;
|
|
30
|
+
export const get_tid_acc = s.get_tid_acc;
|
|
31
|
+
export const get_planet_name = s.get_planet_name;
|
|
32
|
+
export const get_current_file_data = s.get_current_file_data;
|
|
33
|
+
export const get_orbital_elements = s.get_orbital_elements;
|
|
34
|
+
export const get_ayanamsa_name = s.get_ayanamsa_name;
|
|
35
|
+
export const get_ayanamsa_ex_ut = s.get_ayanamsa_ex_ut;
|
|
36
|
+
export const get_ayanamsa_ex = s.get_ayanamsa_ex;
|
|
37
|
+
export const get_ayanamsa_ut = s.get_ayanamsa_ut;
|
|
38
|
+
export const get_ayanamsa = s.get_ayanamsa;
|
|
39
|
+
export const calc = s.calc;
|
|
40
|
+
export const calc_ut = s.calc_ut;
|
|
41
|
+
export const calc_pctr = s.calc_pctr;
|
|
42
|
+
export const fixstar = s.fixstar;
|
|
43
|
+
export const fixstar_ut = s.fixstar_ut;
|
|
44
|
+
export const fixstar_mag = s.fixstar_mag;
|
|
45
|
+
export const fixstar2 = s.fixstar2;
|
|
46
|
+
export const fixstar2_ut = s.fixstar2_ut;
|
|
47
|
+
export const fixstar2_mag = s.fixstar2_mag;
|
|
48
|
+
export const nod_aps = s.nod_aps;
|
|
49
|
+
export const nod_aps_ut = s.nod_aps_ut;
|
|
50
|
+
export const orbit_max_min_true_distance = s.orbit_max_min_true_distance;
|
|
51
|
+
export const sol_eclipse_when_loc = s.sol_eclipse_when_loc;
|
|
52
|
+
export const sol_eclipse_when_glob = s.sol_eclipse_when_glob;
|
|
53
|
+
export const sol_eclipse_how = s.sol_eclipse_how;
|
|
54
|
+
export const sol_eclipse_where = s.sol_eclipse_where;
|
|
55
|
+
export const lun_occult_when_loc = s.lun_occult_when_loc;
|
|
56
|
+
export const lun_occult_when_glob = s.lun_occult_when_glob;
|
|
57
|
+
export const lun_occult_where = s.lun_occult_where;
|
|
58
|
+
export const lun_eclipse_when_loc = s.lun_eclipse_when_loc;
|
|
59
|
+
export const lun_eclipse_when = s.lun_eclipse_when;
|
|
60
|
+
export const lun_eclipse_how = s.lun_eclipse_how;
|
|
61
|
+
export const rise_trans = s.rise_trans;
|
|
62
|
+
export const rise_trans_true_hor = s.rise_trans_true_hor;
|
|
63
|
+
export const pheno = s.pheno;
|
|
64
|
+
export const pheno_ut = s.pheno_ut;
|
|
65
|
+
export const azalt = s.azalt;
|
|
66
|
+
export const azalt_rev = s.azalt_rev;
|
|
67
|
+
export const refrac = s.refrac;
|
|
68
|
+
export const refrac_extended = s.refrac_extended;
|
|
69
|
+
export const heliacal_ut = s.heliacal_ut;
|
|
70
|
+
export const vis_limit_mag = s.vis_limit_mag;
|
|
71
|
+
export const heliacal_pheno_ut = s.heliacal_pheno_ut;
|
|
72
|
+
export const julday = s.julday;
|
|
73
|
+
export const date_conversion = s.date_conversion;
|
|
74
|
+
export const revjul = s.revjul;
|
|
75
|
+
export const utc_time_zone = s.utc_time_zone;
|
|
76
|
+
export const utc_to_jd = s.utc_to_jd;
|
|
77
|
+
export const jdet_to_utc = s.jdet_to_utc;
|
|
78
|
+
export const jdut1_to_utc = s.jdut1_to_utc;
|
|
79
|
+
export const time_equ = s.time_equ;
|
|
80
|
+
export const lmt_to_lat = s.lmt_to_lat;
|
|
81
|
+
export const lat_to_lmt = s.lat_to_lmt;
|
|
82
|
+
export const deltat = s.deltat;
|
|
83
|
+
export const deltat_ex = s.deltat_ex;
|
|
84
|
+
export const house_name = s.house_name;
|
|
85
|
+
export const houses = s.houses;
|
|
86
|
+
export const houses_armc = s.houses_armc;
|
|
87
|
+
export const houses_armc_ex2 = s.houses_armc_ex2;
|
|
88
|
+
export const houses_ex = s.houses_ex;
|
|
89
|
+
export const houses_ex2 = s.houses_ex2;
|
|
90
|
+
export const house_pos = s.house_pos;
|
|
91
|
+
export const gauquelin_sector = s.gauquelin_sector;
|
|
92
|
+
export const sidtime = s.sidtime;
|
|
93
|
+
export const sidtime0 = s.sidtime0;
|
|
94
|
+
export const cotrans = s.cotrans;
|
|
95
|
+
export const cotrans_sp = s.cotrans_sp;
|
|
96
|
+
export const degnorm = s.degnorm;
|
|
97
|
+
export const radnorm = s.radnorm;
|
|
98
|
+
export const split_deg = s.split_deg;
|
|
99
|
+
export const csnorm = s.csnorm;
|
|
100
|
+
export const difcsn = s.difcsn;
|
|
101
|
+
export const difdegn = s.difdegn;
|
|
102
|
+
export const difcs2n = s.difcs2n;
|
|
103
|
+
export const difdeg2n = s.difdeg2n;
|
|
104
|
+
export const difrad2n = s.difrad2n;
|
|
105
|
+
export const deg_midp = s.deg_midp;
|
|
106
|
+
export const rad_midp = s.rad_midp;
|
|
107
|
+
export const csroundsec = s.csroundsec;
|
|
108
|
+
export const d2l = s.d2l;
|
|
109
|
+
export const day_of_week = s.day_of_week;
|
|
110
|
+
export const cs2timestr = s.cs2timestr;
|
|
111
|
+
export const cs2lonlatstr = s.cs2lonlatstr;
|
|
112
|
+
export const cs2degstr = s.cs2degstr;
|
|
113
|
+
export const solcross = s.solcross;
|
|
114
|
+
export const solcross_ut = s.solcross_ut;
|
|
115
|
+
export const mooncross = s.mooncross;
|
|
116
|
+
export const mooncross_ut = s.mooncross_ut;
|
|
117
|
+
export const mooncross_node = s.mooncross_node;
|
|
118
|
+
export const mooncross_node_ut = s.mooncross_node_ut;
|
|
119
|
+
export const helio_cross = s.helio_cross;
|
|
120
|
+
export const helio_cross_ut = s.helio_cross_ut;
|