@gemini-hlsw/lucuma-core 0.210.3 → 0.210.5
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/main.d.ts +77 -0
- package/main.js +21979 -21501
- package/main.js.map +4 -4
- package/package.json +1 -1
package/main.d.ts
CHANGED
|
@@ -21,3 +21,80 @@ export declare function parseStandardRoleId(maybeStandardRoleId: string): string
|
|
|
21
21
|
export declare function parseTargetId(maybeTargetId: string): string | undefined;
|
|
22
22
|
export declare function parseUserId(maybeUserId: string): string | undefined;
|
|
23
23
|
export declare function parseVisitId(maybeVisitId: string): string | undefined;
|
|
24
|
+
|
|
25
|
+
export declare function parseDmsString(maybeDms: string): string | undefined;
|
|
26
|
+
export declare function parseHmsString(maybeHms: string): string | undefined;
|
|
27
|
+
export declare function parseEpochString(maybeEpoch: string): string | undefined;
|
|
28
|
+
|
|
29
|
+
export declare function toRightAscension(coord: number): RightAscension;
|
|
30
|
+
export declare function toDeclination(coord: number): Declination;
|
|
31
|
+
export declare function toAngle(coord: number): Angle;
|
|
32
|
+
export declare function toProperMotion(pmRa: number, pmDec: number): ProperMotion;
|
|
33
|
+
|
|
34
|
+
type RightAscension = {
|
|
35
|
+
/** Right Ascension (RA) in degrees */
|
|
36
|
+
readonly degrees: string | number;
|
|
37
|
+
/** Right Ascension (RA) in HH:MM:SS.SSS format */
|
|
38
|
+
readonly hms: string;
|
|
39
|
+
/** Right Ascension (RA) in hours */
|
|
40
|
+
readonly hours: string | number;
|
|
41
|
+
/** Right Ascension (RA) in µs */
|
|
42
|
+
readonly microseconds: bigint;
|
|
43
|
+
};
|
|
44
|
+
|
|
45
|
+
type Declination = {
|
|
46
|
+
/** Declination in signed degrees */
|
|
47
|
+
readonly degrees: string | number;
|
|
48
|
+
/** Declination in DD:MM:SS.SS format */
|
|
49
|
+
readonly dms: string;
|
|
50
|
+
/** Declination in signed µas */
|
|
51
|
+
readonly microarcseconds: bigint;
|
|
52
|
+
};
|
|
53
|
+
|
|
54
|
+
type Angle = {
|
|
55
|
+
/** Angle in amin */
|
|
56
|
+
readonly arcminutes: string | number;
|
|
57
|
+
/** Angle in asec */
|
|
58
|
+
readonly arcseconds: string | number;
|
|
59
|
+
/** Angle in deg */
|
|
60
|
+
readonly degrees: string | number;
|
|
61
|
+
/** Angle in DD:MM:SS */
|
|
62
|
+
readonly dms: string;
|
|
63
|
+
/** Angle in HH:MM:SS */
|
|
64
|
+
readonly hms: string;
|
|
65
|
+
/** Angle in hrs */
|
|
66
|
+
readonly hours: string | number;
|
|
67
|
+
/** Angle in µas */
|
|
68
|
+
readonly microarcseconds: bigint;
|
|
69
|
+
/** Angle in µs */
|
|
70
|
+
readonly microseconds: string | number;
|
|
71
|
+
/** Angle in mas */
|
|
72
|
+
readonly milliarcseconds: string | number;
|
|
73
|
+
/** Angle in ms */
|
|
74
|
+
readonly milliseconds: string | number;
|
|
75
|
+
/** Angle in min */
|
|
76
|
+
readonly minutes: string | number;
|
|
77
|
+
/** Angle in sec */
|
|
78
|
+
readonly seconds: string | number;
|
|
79
|
+
};
|
|
80
|
+
|
|
81
|
+
type ProperMotion = {
|
|
82
|
+
/** Proper motion in declination */
|
|
83
|
+
readonly dec: ProperMotionDeclination;
|
|
84
|
+
/** Proper motion in RA */
|
|
85
|
+
readonly ra: ProperMotionRA;
|
|
86
|
+
};
|
|
87
|
+
|
|
88
|
+
type ProperMotionDeclination = {
|
|
89
|
+
/** Proper motion in properMotion μas/year */
|
|
90
|
+
readonly microarcsecondsPerYear: bigint;
|
|
91
|
+
/** Proper motion in properMotion mas/year */
|
|
92
|
+
readonly milliarcsecondsPerYear: string | number;
|
|
93
|
+
};
|
|
94
|
+
|
|
95
|
+
type ProperMotionRA = {
|
|
96
|
+
/** Proper motion in properMotion μas/year */
|
|
97
|
+
readonly microarcsecondsPerYear: bigint;
|
|
98
|
+
/** Proper motion in properMotion mas/year */
|
|
99
|
+
readonly milliarcsecondsPerYear: string | number;
|
|
100
|
+
};
|