open-space-toolkit-physics 6.0.4__py311-none-manylinux2014_aarch64.whl → 11.3.0__py311-none-manylinux2014_aarch64.whl

Sign up to get free protection for your applications and to get access to all the features.
Files changed (51) hide show
  1. {open_space_toolkit_physics-6.0.4.dist-info → open_space_toolkit_physics-11.3.0.dist-info}/METADATA +5 -6
  2. {open_space_toolkit_physics-6.0.4.dist-info → open_space_toolkit_physics-11.3.0.dist-info}/RECORD +50 -26
  3. {open_space_toolkit_physics-6.0.4.dist-info → open_space_toolkit_physics-11.3.0.dist-info}/WHEEL +1 -1
  4. ostk/physics/OpenSpaceToolkitPhysicsPy.cpython-311-aarch64-linux-gnu.so +0 -0
  5. ostk/physics/__init__.pyi +488 -0
  6. ostk/physics/coordinate/__init__.pyi +1002 -0
  7. ostk/physics/coordinate/frame/__init__.pyi +30 -0
  8. ostk/physics/coordinate/frame/provider/__init__.pyi +77 -0
  9. ostk/physics/coordinate/frame/provider/iau.pyi +64 -0
  10. ostk/physics/coordinate/frame/provider/iers.pyi +584 -0
  11. ostk/physics/coordinate/spherical.pyi +421 -0
  12. ostk/physics/data/__init__.pyi +459 -0
  13. ostk/physics/data/provider.pyi +21 -0
  14. ostk/physics/environment/__init__.pyi +108 -0
  15. ostk/physics/environment/atmospheric/__init__.pyi +181 -0
  16. ostk/physics/environment/atmospheric/earth.pyi +552 -0
  17. ostk/physics/environment/gravitational/__init__.pyi +559 -0
  18. ostk/physics/environment/gravitational/earth.pyi +56 -0
  19. ostk/physics/environment/magnetic/__init__.pyi +171 -0
  20. ostk/physics/environment/magnetic/earth.pyi +56 -0
  21. ostk/physics/environment/object/__init__.pyi +430 -0
  22. ostk/physics/environment/object/celestial/__init__.pyi +248 -0
  23. ostk/physics/environment/object/celestial/moon.pyi +2 -0
  24. ostk/physics/environment/object/celestial/sun.pyi +2 -0
  25. ostk/physics/libopen-space-toolkit-physics.so.11 +0 -0
  26. ostk/physics/py.typed +0 -0
  27. ostk/physics/test/coordinate/frame/provider/iers/test_manager.py +0 -11
  28. ostk/physics/test/coordinate/spherical/test_lla.py +56 -4
  29. ostk/physics/test/coordinate/test_position.py +129 -134
  30. ostk/physics/test/data/conftest.py +3 -1
  31. ostk/physics/test/data/provider/test_provider.py +34 -0
  32. ostk/physics/test/data/test_manifest.py +4 -1
  33. ostk/physics/test/data/test_manifest_manager.py +6 -8
  34. ostk/physics/test/data/test_scalar.py +2 -2
  35. ostk/physics/test/data/test_vector.py +2 -2
  36. ostk/physics/test/environment/atmospheric/earth/test_manager.py +0 -14
  37. ostk/physics/test/environment/gravitational/earth/test_manager.py +0 -25
  38. ostk/physics/test/environment/gravitational/test_earth.py +8 -0
  39. ostk/physics/test/environment/magnetic/earth/test_manager.py +0 -20
  40. ostk/physics/test/test_environment.py +58 -40
  41. ostk/physics/test/time/test_duration.py +0 -7
  42. ostk/physics/test/time/test_instant.py +16 -0
  43. ostk/physics/test/time/test_interval.py +177 -10
  44. ostk/physics/test/time/test_time.py +80 -136
  45. ostk/physics/test/unit/derived/test_angle.py +1 -1
  46. ostk/physics/test/unit/test_derived.py +36 -0
  47. ostk/physics/time.pyi +1744 -0
  48. ostk/physics/unit.pyi +1590 -0
  49. ostk/physics/libopen-space-toolkit-physics.so.6 +0 -0
  50. {open_space_toolkit_physics-6.0.4.dist-info → open_space_toolkit_physics-11.3.0.dist-info}/top_level.txt +0 -0
  51. {open_space_toolkit_physics-6.0.4.dist-info → open_space_toolkit_physics-11.3.0.dist-info}/zip-safe +0 -0
ostk/physics/time.pyi ADDED
@@ -0,0 +1,1744 @@
1
+ from __future__ import annotations
2
+ import datetime
3
+ import ostk.core.type
4
+ import ostk.mathematics.object
5
+ import ostk.physics.unit
6
+ import typing
7
+ __all__ = ['Date', 'DateTime', 'Duration', 'Instant', 'Interval', 'Scale', 'Time']
8
+ class Date:
9
+ """
10
+
11
+ Date as year, month and day.
12
+
13
+ """
14
+ class Format:
15
+ """
16
+ Members:
17
+
18
+ Undefined :
19
+ Undefined date format.
20
+
21
+
22
+ Standard :
23
+ Standard date format (YYYY-MM-DD).
24
+
25
+
26
+ STK :
27
+ STK date format (d Mon YYYY).
28
+
29
+ """
30
+ STK: typing.ClassVar[Date.Format] # value = <Format.STK: 2>
31
+ Standard: typing.ClassVar[Date.Format] # value = <Format.Standard: 1>
32
+ Undefined: typing.ClassVar[Date.Format] # value = <Format.Undefined: 0>
33
+ __members__: typing.ClassVar[dict[str, Date.Format]] # value = {'Undefined': <Format.Undefined: 0>, 'Standard': <Format.Standard: 1>, 'STK': <Format.STK: 2>}
34
+ @staticmethod
35
+ def _pybind11_conduit_v1_(*args, **kwargs):
36
+ ...
37
+ def __eq__(self, other: typing.Any) -> bool:
38
+ ...
39
+ def __getstate__(self) -> int:
40
+ ...
41
+ def __hash__(self) -> int:
42
+ ...
43
+ def __index__(self) -> int:
44
+ ...
45
+ def __init__(self, value: int) -> None:
46
+ ...
47
+ def __int__(self) -> int:
48
+ ...
49
+ def __ne__(self, other: typing.Any) -> bool:
50
+ ...
51
+ def __repr__(self) -> str:
52
+ ...
53
+ def __setstate__(self, state: int) -> None:
54
+ ...
55
+ def __str__(self) -> str:
56
+ ...
57
+ @property
58
+ def name(self) -> str:
59
+ ...
60
+ @property
61
+ def value(self) -> int:
62
+ ...
63
+ __hash__: typing.ClassVar[None] = None
64
+ @staticmethod
65
+ def GPS_epoch() -> Date:
66
+ """
67
+ GPS epoch (1980-01-06).
68
+
69
+ .. reference:: http://tycho.usno.navy.mil/gpstt.html
70
+
71
+ Returns:
72
+ Date: GPS epoch.
73
+ """
74
+ @staticmethod
75
+ def J2000() -> Date:
76
+ """
77
+ J2000 epoch (2000-01-01).
78
+
79
+ .. reference:: https://en.wikipedia.org/wiki/Epoch_(astronomy)#Julian_years_and_J2000
80
+
81
+ Returns:
82
+ Date: J2000 epoch.
83
+ """
84
+ @staticmethod
85
+ def _pybind11_conduit_v1_(*args, **kwargs):
86
+ ...
87
+ @staticmethod
88
+ def modified_julian_date_epoch() -> Date:
89
+ """
90
+ Modified julian dates epoch (1858-11-17).
91
+
92
+ .. reference:: https://en.wikipedia.org/wiki/Julian_day
93
+
94
+ Returns:
95
+ Date: Modified Julian epoch.
96
+ """
97
+ @staticmethod
98
+ def parse(aString: ostk.core.type.String, aFormat: Date.Format = ...) -> Date:
99
+ ...
100
+ @staticmethod
101
+ def undefined() -> Date:
102
+ """
103
+ Create an undefined date.
104
+
105
+ Returns:
106
+ Date: Undefined date.
107
+ """
108
+ @staticmethod
109
+ def unix_epoch() -> Date:
110
+ """
111
+ Unix epoch (1970-01-01).
112
+
113
+ .. reference:: https://en.wikipedia.org/wiki/Unix_time
114
+
115
+ Returns:
116
+ Date: Unix epoch.
117
+ """
118
+ def __eq__(self, arg0: Date) -> bool:
119
+ ...
120
+ def __init__(self, arg0: int, arg1: int, arg2: int) -> None:
121
+ ...
122
+ def __ne__(self, arg0: Date) -> bool:
123
+ ...
124
+ def __repr__(self) -> str:
125
+ ...
126
+ def __str__(self) -> str:
127
+ ...
128
+ def get_day(self) -> int:
129
+ """
130
+ Get day (1 - 31).
131
+
132
+ Returns:
133
+ int: Day.
134
+ """
135
+ def get_month(self) -> int:
136
+ """
137
+ Get month (1 - 12).
138
+
139
+ Returns:
140
+ int: Month.
141
+ """
142
+ def get_year(self) -> int:
143
+ """
144
+ Get year (1400 - 9999).
145
+
146
+ Returns:
147
+ int: Year.
148
+ """
149
+ def is_defined(self) -> bool:
150
+ """
151
+ Check if the date is defined.
152
+
153
+ Returns:
154
+ bool: True if defined.
155
+ """
156
+ def set_day(self, arg0: int) -> None:
157
+ """
158
+ Set day.
159
+
160
+ Args:
161
+ day (int): Day (1 - 31).
162
+ """
163
+ def set_month(self, arg0: int) -> None:
164
+ """
165
+ Set month.
166
+
167
+ Args:
168
+ month (int): Month (1 - 12).
169
+ """
170
+ def set_year(self, arg0: int) -> None:
171
+ """
172
+ Set year.
173
+
174
+ Args:
175
+ year (int): Year (1400 - 9999).
176
+ """
177
+ @typing.overload
178
+ def to_string(self, arg0: ...) -> ostk.core.type.String:
179
+ """
180
+ Get string representation of date.
181
+
182
+ Args:
183
+ format (Date.Format): Date format.
184
+
185
+ Returns:
186
+ str: String representation of date.
187
+ """
188
+ @typing.overload
189
+ def to_string(self) -> ostk.core.type.String:
190
+ ...
191
+ @typing.overload
192
+ def to_string(self, arg0: ...) -> ostk.core.type.String:
193
+ ...
194
+ class DateTime:
195
+ """
196
+
197
+ Date-time.
198
+
199
+ """
200
+ class Format:
201
+ """
202
+ Members:
203
+
204
+ Undefined :
205
+ Undefined format.
206
+
207
+
208
+ Standard :
209
+ Standard format (YYYY:MM:DD hh:mm:ss.sss.sss.sss).
210
+
211
+
212
+ ISO8601 :
213
+ ISO 8601 format (YYYY-MM-DDThh:mm:ss.ssssss).
214
+
215
+
216
+ STK :
217
+ STK format (d Mon YYYY hh:mm:ss.ssssss).
218
+
219
+ """
220
+ ISO8601: typing.ClassVar[DateTime.Format] # value = <Format.ISO8601: 2>
221
+ STK: typing.ClassVar[DateTime.Format] # value = <Format.STK: 3>
222
+ Standard: typing.ClassVar[DateTime.Format] # value = <Format.Standard: 1>
223
+ Undefined: typing.ClassVar[DateTime.Format] # value = <Format.Undefined: 0>
224
+ __members__: typing.ClassVar[dict[str, DateTime.Format]] # value = {'Undefined': <Format.Undefined: 0>, 'Standard': <Format.Standard: 1>, 'ISO8601': <Format.ISO8601: 2>, 'STK': <Format.STK: 3>}
225
+ @staticmethod
226
+ def _pybind11_conduit_v1_(*args, **kwargs):
227
+ ...
228
+ def __eq__(self, other: typing.Any) -> bool:
229
+ ...
230
+ def __getstate__(self) -> int:
231
+ ...
232
+ def __hash__(self) -> int:
233
+ ...
234
+ def __index__(self) -> int:
235
+ ...
236
+ def __init__(self, value: int) -> None:
237
+ ...
238
+ def __int__(self) -> int:
239
+ ...
240
+ def __ne__(self, other: typing.Any) -> bool:
241
+ ...
242
+ def __repr__(self) -> str:
243
+ ...
244
+ def __setstate__(self, state: int) -> None:
245
+ ...
246
+ def __str__(self) -> str:
247
+ ...
248
+ @property
249
+ def name(self) -> str:
250
+ ...
251
+ @property
252
+ def value(self) -> int:
253
+ ...
254
+ __hash__: typing.ClassVar[None] = None
255
+ @staticmethod
256
+ def GPS_epoch() -> DateTime:
257
+ """
258
+ GPS epoch (1980-01-06 00:00:00.000.000.000).
259
+
260
+ Returns:
261
+ DateTime: Date-time at GPS epoch.
262
+ """
263
+ @staticmethod
264
+ def J2000() -> DateTime:
265
+ """
266
+ J2000 epoch (2000-01-01 12:00:00.000.000.00).
267
+
268
+ Returns:
269
+ DateTime: J2000 date-time.
270
+ """
271
+ @staticmethod
272
+ def _pybind11_conduit_v1_(*args, **kwargs):
273
+ ...
274
+ @staticmethod
275
+ def julian_date(julian_date: ostk.core.type.Real) -> DateTime:
276
+ """
277
+ Date-time from Julian Date.
278
+
279
+ Args:
280
+ julian_date (float): A Julian Date.
281
+
282
+ Returns:
283
+ DateTime: Date-time.
284
+ """
285
+ @staticmethod
286
+ def modified_julian_date(modified_julian_date: ostk.core.type.Real) -> DateTime:
287
+ """
288
+ Date-time from Modified Julian Date.
289
+
290
+ Args:
291
+ modified_julian_date (float): A Modified Julian Date.
292
+
293
+ Returns:
294
+ DateTime: Date-time.
295
+ """
296
+ @staticmethod
297
+ def modified_julian_date_epoch() -> DateTime:
298
+ """
299
+ Modified Julian Date epoch (1858-11-17 00:00:00.000.000.000).
300
+
301
+ Returns:
302
+ Date-time: Date-time at Modified Julian Date epoch.
303
+ """
304
+ @staticmethod
305
+ def parse(string: ostk.core.type.String, format: DateTime.Format = ...) -> DateTime:
306
+ ...
307
+ @staticmethod
308
+ def undefined() -> DateTime:
309
+ """
310
+ Create an undefined date-time.
311
+
312
+ Returns:
313
+ DateTime: Undefined date-time.
314
+ """
315
+ @staticmethod
316
+ def unix_epoch() -> DateTime:
317
+ """
318
+ Unix epoch (1970-01-01 00:00:00.000.000.000).
319
+
320
+ Returns:
321
+ DateTime: Date-time at Unix epoch.
322
+ """
323
+ def __eq__(self, arg0: DateTime) -> bool:
324
+ ...
325
+ @typing.overload
326
+ def __init__(self, date: ..., time: ...) -> None:
327
+ """
328
+ Constructor.
329
+
330
+ Args:
331
+ date (Date): A date
332
+ time (Time): A time
333
+ """
334
+ @typing.overload
335
+ def __init__(self, year: int, month: int, day: int, hour: int = 0, minute: int = 0, second: int = 0, millisecond: int = 0, microsecond: int = 0, nanosecond: int = 0) -> None:
336
+ """
337
+ Constructor.
338
+
339
+ Args:
340
+ year (int): Year
341
+ month (int): Month
342
+ day (int): Day
343
+ hour (int): Hour
344
+ minute (int): Minute
345
+ second (int): Second
346
+ millisecond (int): Millisecond
347
+ microsecond (int): Microsecond
348
+ nanosecond (int): Nanosecond
349
+ """
350
+ def __ne__(self, arg0: DateTime) -> bool:
351
+ ...
352
+ def __repr__(self) -> str:
353
+ ...
354
+ def __str__(self) -> str:
355
+ ...
356
+ def get_date(self) -> ...:
357
+ """
358
+ Get date.
359
+
360
+ Returns:
361
+ Date: Date.
362
+ """
363
+ def get_julian_date(self) -> ostk.core.type.Real:
364
+ """
365
+ Get Julian date.
366
+
367
+ Returns:
368
+ float: Julian date.
369
+ """
370
+ def get_modified_julian_date(self) -> ostk.core.type.Real:
371
+ """
372
+ Get Modified Julian date.
373
+
374
+ Returns:
375
+ float: Modified Julian date.
376
+ """
377
+ def get_time(self) -> ...:
378
+ """
379
+ Get time.
380
+
381
+ Returns:
382
+ Time: Time.
383
+ """
384
+ def is_defined(self) -> bool:
385
+ """
386
+ Check if the date-time is defined.
387
+
388
+ Returns:
389
+ bool: True if defined.
390
+ """
391
+ @typing.overload
392
+ def to_string(self) -> ostk.core.type.String:
393
+ ...
394
+ @typing.overload
395
+ def to_string(self, arg0: ...) -> ostk.core.type.String:
396
+ ...
397
+ class Duration:
398
+ """
399
+
400
+ Duration format.
401
+
402
+ """
403
+ class Format:
404
+ """
405
+ Members:
406
+
407
+ Undefined :
408
+ Undefined format.
409
+
410
+
411
+ Standard :
412
+ Standard format (d hh:mm:ss.mmm.uuu.nnn)
413
+
414
+
415
+ ISO8601 :
416
+ ISO 8601 format (PnDTnHnMnS)
417
+
418
+ """
419
+ ISO8601: typing.ClassVar[Duration.Format] # value = <Format.ISO8601: 2>
420
+ Standard: typing.ClassVar[Duration.Format] # value = <Format.Standard: 1>
421
+ Undefined: typing.ClassVar[Duration.Format] # value = <Format.Undefined: 0>
422
+ __members__: typing.ClassVar[dict[str, Duration.Format]] # value = {'Undefined': <Format.Undefined: 0>, 'Standard': <Format.Standard: 1>, 'ISO8601': <Format.ISO8601: 2>}
423
+ @staticmethod
424
+ def _pybind11_conduit_v1_(*args, **kwargs):
425
+ ...
426
+ def __eq__(self, other: typing.Any) -> bool:
427
+ ...
428
+ def __getstate__(self) -> int:
429
+ ...
430
+ def __hash__(self) -> int:
431
+ ...
432
+ def __index__(self) -> int:
433
+ ...
434
+ def __init__(self, value: int) -> None:
435
+ ...
436
+ def __int__(self) -> int:
437
+ ...
438
+ def __ne__(self, other: typing.Any) -> bool:
439
+ ...
440
+ def __repr__(self) -> str:
441
+ ...
442
+ def __setstate__(self, state: int) -> None:
443
+ ...
444
+ def __str__(self) -> str:
445
+ ...
446
+ @property
447
+ def name(self) -> str:
448
+ ...
449
+ @property
450
+ def value(self) -> int:
451
+ ...
452
+ __hash__: typing.ClassVar[None] = None
453
+ @staticmethod
454
+ def _pybind11_conduit_v1_(*args, **kwargs):
455
+ ...
456
+ @staticmethod
457
+ def between(arg0: ..., arg1: ...) -> Duration:
458
+ """
459
+ Constructs a duration between two instants
460
+
461
+ Returns:
462
+ Duration: Duration between two instants.
463
+ """
464
+ @staticmethod
465
+ def days(arg0: ostk.core.type.Real) -> Duration:
466
+ """
467
+ Create a duration in days.
468
+
469
+ Returns:
470
+ Duration: Duration in days.
471
+ """
472
+ @staticmethod
473
+ def hours(arg0: ostk.core.type.Real) -> Duration:
474
+ """
475
+ Create a duration in hours.
476
+
477
+ Returns:
478
+ Duration: Duration in hours.
479
+ """
480
+ @staticmethod
481
+ def microseconds(arg0: ostk.core.type.Real) -> Duration:
482
+ """
483
+ Create a duration in microseconds.
484
+
485
+ Returns:
486
+ Duration: Duration in microseconds.
487
+ """
488
+ @staticmethod
489
+ def milliseconds(arg0: ostk.core.type.Real) -> Duration:
490
+ """
491
+ Create a duration in milliseconds.
492
+
493
+ Returns:
494
+ Duration: Duration in milliseconds.
495
+ """
496
+ @staticmethod
497
+ def minutes(arg0: ostk.core.type.Real) -> Duration:
498
+ """
499
+ Create a duration in minutes.
500
+
501
+ Returns:
502
+ Duration: Duration in minutes.
503
+ """
504
+ @staticmethod
505
+ def nanoseconds(arg0: ostk.core.type.Real) -> Duration:
506
+ """
507
+ Create a duration in nanoseconds.
508
+
509
+ Returns:
510
+ Duration: Duration in nanoseconds.
511
+ """
512
+ @staticmethod
513
+ def parse(string: ostk.core.type.String, format: Duration.Format = ...) -> Duration:
514
+ ...
515
+ @staticmethod
516
+ def seconds(arg0: ostk.core.type.Real) -> Duration:
517
+ """
518
+ Create a duration in seconds.
519
+
520
+ Returns:
521
+ Duration: Duration in seconds.
522
+ """
523
+ @staticmethod
524
+ def undefined() -> Duration:
525
+ """
526
+ Create an undefined duration.
527
+
528
+ Returns:
529
+ Duration: Undefined duration.
530
+ """
531
+ @staticmethod
532
+ def weeks(arg0: ostk.core.type.Real) -> Duration:
533
+ """
534
+ Create a duration in weeks.
535
+
536
+ Returns:
537
+ Duration: Duration in weeks.
538
+ """
539
+ @staticmethod
540
+ def zero() -> Duration:
541
+ """
542
+ Create a zero duration.
543
+
544
+ Returns:
545
+ Duration: Zero duration.
546
+ """
547
+ def __add__(self, arg0: Duration) -> Duration:
548
+ ...
549
+ def __eq__(self, arg0: Duration) -> bool:
550
+ ...
551
+ def __ge__(self, arg0: Duration) -> bool:
552
+ ...
553
+ def __gt__(self, arg0: Duration) -> bool:
554
+ ...
555
+ def __iadd__(self, arg0: Duration) -> Duration:
556
+ ...
557
+ def __imul__(self, arg0: float) -> Duration:
558
+ ...
559
+ def __init__(self, arg0: datetime.timedelta) -> None:
560
+ """
561
+ Constructor.
562
+ Args:
563
+ count (int): A nanosecond count.
564
+ """
565
+ def __isub__(self, arg0: Duration) -> Duration:
566
+ ...
567
+ def __itruediv__(self, arg0: float) -> Duration:
568
+ ...
569
+ def __le__(self, arg0: Duration) -> bool:
570
+ ...
571
+ def __lt__(self, arg0: Duration) -> bool:
572
+ ...
573
+ def __mul__(self, arg0: float) -> Duration:
574
+ ...
575
+ def __ne__(self, arg0: Duration) -> bool:
576
+ ...
577
+ def __repr__(self) -> str:
578
+ ...
579
+ def __str__(self) -> str:
580
+ ...
581
+ def __sub__(self, arg0: Duration) -> Duration:
582
+ ...
583
+ def __truediv__(self, arg0: float) -> Duration:
584
+ ...
585
+ def get_absolute(self) -> Duration:
586
+ """
587
+ Get the absolute duration.
588
+
589
+ Returns:
590
+ Duration: Absolute duration.
591
+ """
592
+ def get_days(self) -> ostk.core.type.Integer:
593
+ """
594
+ Get the day count.
595
+
596
+ Returns:
597
+ int: Day count.
598
+ """
599
+ def get_hours(self) -> ostk.core.type.Integer:
600
+ """
601
+ Get the hour count.
602
+
603
+ Returns:
604
+ int: Hour count.
605
+ """
606
+ def get_microseconds(self) -> ostk.core.type.Integer:
607
+ """
608
+ Get the microsecond count.
609
+
610
+ Returns:
611
+ int: Microsecond count.
612
+ """
613
+ def get_milliseconds(self) -> ostk.core.type.Integer:
614
+ """
615
+ Get the millisecond count.
616
+
617
+ Returns:
618
+ int: Millisecond count.
619
+ """
620
+ def get_minutes(self) -> ostk.core.type.Integer:
621
+ """
622
+ Get the minute count.
623
+
624
+ Returns:
625
+ int: Minute count.
626
+ """
627
+ def get_nanoseconds(self) -> ostk.core.type.Integer:
628
+ """
629
+ Get the nanosecond count.
630
+
631
+ Returns:
632
+ int: Nanosecond count.
633
+ """
634
+ def get_seconds(self) -> ostk.core.type.Integer:
635
+ """
636
+ Get the second count.
637
+
638
+ Returns:
639
+ int: Second count.
640
+ """
641
+ def get_weeks(self) -> ostk.core.type.Integer:
642
+ """
643
+ Get the week count.
644
+
645
+ Returns:
646
+ int: Week count.
647
+ """
648
+ def in_days(self) -> ostk.core.type.Real:
649
+ """
650
+ Get the duration in days.
651
+
652
+ Returns:
653
+ float: Duration in days.
654
+ """
655
+ def in_hours(self) -> ostk.core.type.Real:
656
+ """
657
+ Get the duration in hours.
658
+
659
+ Returns:
660
+ float: Duration in hours.
661
+ """
662
+ def in_microseconds(self) -> ostk.core.type.Real:
663
+ """
664
+ Get the duration in microseconds.
665
+
666
+ Returns:
667
+ float: Duration in microseconds.
668
+ """
669
+ def in_milliseconds(self) -> ostk.core.type.Real:
670
+ """
671
+ Get the duration in milliseconds.
672
+
673
+ Returns:
674
+ float: Duration in milliseconds.
675
+ """
676
+ def in_minutes(self) -> ostk.core.type.Real:
677
+ """
678
+ Get the duration in minutes.
679
+
680
+ Returns:
681
+ float: Duration in minutes.
682
+ """
683
+ def in_nanoseconds(self) -> ostk.core.type.Real:
684
+ """
685
+ Get the duration in nanoseconds.
686
+
687
+ Returns:
688
+ float: Duration in nanoseconds.
689
+ """
690
+ def in_seconds(self) -> ostk.core.type.Real:
691
+ """
692
+ Get the duration in seconds.
693
+
694
+ Returns:
695
+ float: Duration in seconds.
696
+ """
697
+ def in_unit(self, arg0: ostk.physics.unit.Time.Unit) -> ostk.core.type.Real:
698
+ """
699
+ Get the duration in a unit.
700
+
701
+ Returns:
702
+ float: Duration in unit.
703
+ """
704
+ def in_weeks(self) -> ostk.core.type.Real:
705
+ """
706
+ Get the duration in weeks.
707
+
708
+ Returns:
709
+ float: Duration in weeks.
710
+ """
711
+ def is_defined(self) -> bool:
712
+ """
713
+ Check if the duration is defined.
714
+
715
+ Returns:
716
+ bool: True if defined.
717
+ """
718
+ def is_near(self, duration: Duration, tolerance: Duration) -> bool:
719
+ """
720
+ Check if the duration is near another duration.
721
+
722
+ Args:
723
+ duration (Duration): Duration to compare with.
724
+ tolerance (Duration): Tolerance.
725
+
726
+ Returns:
727
+ bool: True if near.
728
+ """
729
+ def is_positive(self) -> bool:
730
+ """
731
+ Check if the duration is positive.
732
+
733
+ Returns:
734
+ bool: True if positive.
735
+ """
736
+ def is_strictly_positive(self) -> bool:
737
+ """
738
+ Check if the duration is strictly positive.
739
+
740
+ Returns:
741
+ bool: True if strictly positive.
742
+ """
743
+ def is_zero(self) -> bool:
744
+ """
745
+ Check if the duration is zero.
746
+
747
+ Returns:
748
+ bool: True if zero.
749
+ """
750
+ @typing.overload
751
+ def to_string(self) -> ostk.core.type.String:
752
+ ...
753
+ @typing.overload
754
+ def to_string(self, arg0: ...) -> ostk.core.type.String:
755
+ ...
756
+ def to_timedelta(self) -> datetime.timedelta:
757
+ ...
758
+ class Instant:
759
+ """
760
+
761
+ Point in time.
762
+
763
+ """
764
+ __hash__: typing.ClassVar[None] = None
765
+ @staticmethod
766
+ def GPS_epoch() -> Instant:
767
+ """
768
+ Get the GPS epoch instant.
769
+
770
+ Returns:
771
+ Instant: GPS epoch instant.
772
+ """
773
+ @staticmethod
774
+ def J2000() -> Instant:
775
+ """
776
+ Get J2000 instant.
777
+
778
+ Returns:
779
+ Instant: J2000 instant.
780
+ """
781
+ @staticmethod
782
+ def _pybind11_conduit_v1_(*args, **kwargs):
783
+ ...
784
+ @staticmethod
785
+ def date_time(arg0: DateTime, arg1: Scale) -> Instant:
786
+ """
787
+ Create an instant from a date-time.
788
+
789
+ Args:
790
+ date_time (DateTime): Date-time.
791
+
792
+ Returns:
793
+ Instant: Instant.
794
+ """
795
+ @staticmethod
796
+ def julian_date(arg0: ostk.core.type.Real, arg1: Scale) -> Instant:
797
+ """
798
+ Create an instant from a Julian date.
799
+
800
+ Args:
801
+ julian_date (float): Julian date.
802
+
803
+ Returns:
804
+ Instant: Instant.
805
+ """
806
+ @staticmethod
807
+ def modified_julian_date(arg0: ostk.core.type.Real, arg1: Scale) -> Instant:
808
+ """
809
+ Create an instant from a Modified Julian date.
810
+
811
+ Args:
812
+ modified_julian_date (float): Modified Julian date.
813
+
814
+ Returns:
815
+ Instant: Instant.
816
+ """
817
+ @staticmethod
818
+ def now() -> Instant:
819
+ """
820
+ Get current instant.
821
+
822
+ Returns:
823
+ Instant: Current instant.
824
+ """
825
+ @staticmethod
826
+ def parse(string: ostk.core.type.String, scale: Scale, date_time_format: DateTime.Format = ...) -> Instant:
827
+ """
828
+ Create an instant from a string representation.
829
+
830
+ Args:
831
+ string (str): String representation.
832
+ scale (Time.Scale): Time scale.
833
+ date_time_format (DateTime.Format): Date-time format.
834
+
835
+
836
+ Returns:
837
+ Instant: Instant.
838
+ """
839
+ @staticmethod
840
+ def undefined() -> Instant:
841
+ """
842
+ Create an undefined instant.
843
+
844
+ Returns:
845
+ Instant: Undefined instant.
846
+ """
847
+ def __add__(self, arg0: Duration) -> Instant:
848
+ ...
849
+ def __eq__(self, arg0: Instant) -> bool:
850
+ ...
851
+ def __ge__(self, arg0: Instant) -> bool:
852
+ ...
853
+ def __gt__(self, arg0: Instant) -> bool:
854
+ ...
855
+ def __iadd__(self, arg0: Duration) -> Instant:
856
+ ...
857
+ def __isub__(self, arg0: Duration) -> Instant:
858
+ ...
859
+ def __le__(self, arg0: Instant) -> bool:
860
+ ...
861
+ def __lt__(self, arg0: Instant) -> bool:
862
+ ...
863
+ def __ne__(self, arg0: Instant) -> bool:
864
+ ...
865
+ def __repr__(self) -> str:
866
+ ...
867
+ def __str__(self) -> str:
868
+ ...
869
+ @typing.overload
870
+ def __sub__(self, arg0: Instant) -> Duration:
871
+ ...
872
+ @typing.overload
873
+ def __sub__(self, arg0: Duration) -> Instant:
874
+ ...
875
+ def get_date_time(self, arg0: Scale) -> DateTime:
876
+ """
877
+ Get date-time.
878
+
879
+ Returns:
880
+ DateTime: Date-time.
881
+ """
882
+ def get_julian_date(self, arg0: Scale) -> ostk.core.type.Real:
883
+ """
884
+ Get Julian date.
885
+
886
+ Returns:
887
+ float: Julian date.
888
+ """
889
+ def get_leap_second_count(self) -> int:
890
+ """
891
+ Get leap second count.
892
+
893
+ Returns:
894
+ int: Leap second count.
895
+ """
896
+ def get_modified_julian_date(self, arg0: Scale) -> ostk.core.type.Real:
897
+ """
898
+ Get Modified Julian date.
899
+
900
+ Returns:
901
+ float: Modified Julian date.
902
+ """
903
+ def is_defined(self) -> bool:
904
+ """
905
+ Check if the instant is defined.
906
+
907
+ Returns:
908
+ bool: True if defined.
909
+ """
910
+ def is_near(self, arg0: Instant, arg1: Duration) -> bool:
911
+ """
912
+ Check if instant is near another instant
913
+
914
+ Return:
915
+ bool: True if near
916
+ """
917
+ def is_post_epoch(self) -> bool:
918
+ """
919
+ Check if the instant is post-epoch (J2000).
920
+
921
+ Returns:
922
+ bool: True if post-epoch.
923
+ """
924
+ def to_string(self, scale: Scale = ..., date_time_format: DateTime.Format = ...) -> ostk.core.type.String:
925
+ """
926
+ Convert to string.
927
+
928
+ Args:
929
+ scale (Time.Scale): Time scale.
930
+ date_time_format (DateTime.Format): Date-time format.
931
+
932
+ Returns:
933
+ str: String representation.
934
+ """
935
+ class Interval:
936
+ """
937
+
938
+ Time interval.
939
+
940
+ """
941
+ class Type:
942
+ """
943
+ Members:
944
+
945
+ Undefined :
946
+ Undefined interval type.
947
+
948
+
949
+ Closed :
950
+ Closed interval type.
951
+
952
+
953
+ Open :
954
+ Open interval type.
955
+
956
+
957
+ HalfOpenLeft :
958
+ Half-open left interval type.
959
+
960
+
961
+ HalfOpenRight :
962
+ Half-open right interval type.
963
+
964
+ """
965
+ Closed: typing.ClassVar[Interval.Type] # value = <Type.Closed: 1>
966
+ HalfOpenLeft: typing.ClassVar[Interval.Type] # value = <Type.HalfOpenLeft: 3>
967
+ HalfOpenRight: typing.ClassVar[Interval.Type] # value = <Type.HalfOpenRight: 4>
968
+ Open: typing.ClassVar[Interval.Type] # value = <Type.Open: 2>
969
+ Undefined: typing.ClassVar[Interval.Type] # value = <Type.Undefined: 0>
970
+ __members__: typing.ClassVar[dict[str, Interval.Type]] # value = {'Undefined': <Type.Undefined: 0>, 'Closed': <Type.Closed: 1>, 'Open': <Type.Open: 2>, 'HalfOpenLeft': <Type.HalfOpenLeft: 3>, 'HalfOpenRight': <Type.HalfOpenRight: 4>}
971
+ @staticmethod
972
+ def _pybind11_conduit_v1_(*args, **kwargs):
973
+ ...
974
+ def __eq__(self, other: typing.Any) -> bool:
975
+ ...
976
+ def __getstate__(self) -> int:
977
+ ...
978
+ def __hash__(self) -> int:
979
+ ...
980
+ def __index__(self) -> int:
981
+ ...
982
+ def __init__(self, value: int) -> None:
983
+ ...
984
+ def __int__(self) -> int:
985
+ ...
986
+ def __ne__(self, other: typing.Any) -> bool:
987
+ ...
988
+ def __repr__(self) -> str:
989
+ ...
990
+ def __setstate__(self, state: int) -> None:
991
+ ...
992
+ def __str__(self) -> str:
993
+ ...
994
+ @property
995
+ def name(self) -> str:
996
+ ...
997
+ @property
998
+ def value(self) -> int:
999
+ ...
1000
+ __hash__: typing.ClassVar[None] = None
1001
+ @staticmethod
1002
+ def _pybind11_conduit_v1_(*args, **kwargs):
1003
+ ...
1004
+ @staticmethod
1005
+ def centered(instant: ..., duration: Duration, type: ostk.mathematics.object.RealInterval.Type) -> Interval:
1006
+ """
1007
+ Create a centered interval.
1008
+
1009
+ Args:
1010
+ instant (Instant): Central instant.
1011
+ duration (Duration): Duration.
1012
+ type (Interval.Type): Interval type.
1013
+
1014
+ Returns:
1015
+ Interval: Centered interval.
1016
+ """
1017
+ @staticmethod
1018
+ def clip(intervals: list[Interval], interval: Interval) -> list[Interval]:
1019
+ """
1020
+ Creates a clipped list of intervals.
1021
+
1022
+ ```
1023
+ intervals = [[1, 3], [5, 7], [9, 11]]
1024
+ interval = [4, 10]
1025
+ output = [[5, 7], [9, 10]]
1026
+ ```
1027
+
1028
+ Args:
1029
+ intervals (list[Interval]): A list of intervals.
1030
+ interval (Interval): The clipping interval.
1031
+
1032
+ Returns:
1033
+ Interval: Clipped intervals.
1034
+ """
1035
+ @staticmethod
1036
+ def closed(start_instant: ..., end_instant: ...) -> Interval:
1037
+ """
1038
+ Create a closed interval.
1039
+
1040
+ Args:
1041
+ start_instant (Instant): Start instant.
1042
+ end_instant (Instant): End instant.
1043
+
1044
+ Returns:
1045
+ Interval: Closed interval.
1046
+ """
1047
+ @staticmethod
1048
+ def get_gaps(intervals: list[Interval], interval: Interval = ...) -> list[Interval]:
1049
+ """
1050
+ Creates a list of intervals gaps.
1051
+
1052
+ ```
1053
+ intervals = [[1, 3], [5, 7], [9, 11]]
1054
+ interval = [0, 12]
1055
+ output = [[0, 1], [3, 5], [7, 9], [11, 12]]
1056
+ ```
1057
+
1058
+ Args:
1059
+ intervals (list[Interval]): A list of intervals.
1060
+ interval (Interval): The analysis interval. Used to compute gaps for the first and last interval. Defaults to Undefined.
1061
+
1062
+ Returns:
1063
+ Interval: Intervals gaps.
1064
+ """
1065
+ @staticmethod
1066
+ def half_open_left(start_instant: ..., end_instant: ...) -> Interval:
1067
+ """
1068
+ Create a half-open left interval.
1069
+
1070
+ Args:
1071
+ start_instant (Instant): Start instant.
1072
+ end_instant (Instant): End instant.
1073
+
1074
+ Returns:
1075
+ Interval: Half-open left interval.
1076
+ """
1077
+ @staticmethod
1078
+ def half_open_right(start_instant: ..., end_instant: ...) -> Interval:
1079
+ """
1080
+ Create a half-open right interval.
1081
+
1082
+ Args:
1083
+ start_instant (Instant): Start instant.
1084
+ end_instant (Instant): End instant.
1085
+
1086
+ Returns:
1087
+ Interval: Half-open right interval.
1088
+ """
1089
+ @staticmethod
1090
+ def logical_and(intervals_1: list[Interval], intervals_2: list[Interval]) -> list[Interval]:
1091
+ """
1092
+ Creates a list of intervals by a logical-and conjunction.
1093
+
1094
+ ```
1095
+ intervals_1 = [[-1, 1], [2, 4]]
1096
+ intervals_2 = [[0.5, 1.5], [3, 5], [7, 8]]
1097
+ output = [[0.5, 1], [3, 4]]
1098
+ ```
1099
+
1100
+ Args:
1101
+ intervals_1 (list[Interval]): A list of intervals.
1102
+ intervals_2 (list[Interval]): Another list of intervals.
1103
+
1104
+ Returns:
1105
+ Interval: Logical-and intervals.
1106
+ """
1107
+ @staticmethod
1108
+ def logical_or(intervals_1: list[Interval], intervals_2: list[Interval]) -> list[Interval]:
1109
+ """
1110
+ Creates a list of intervals by a logical-or conjunction.
1111
+
1112
+ ```
1113
+ intervals_1 = [[-1, 1], [2, 4]]
1114
+ intervals_2 = [[0.5, 1.5], [3, 5], [7, 8]]
1115
+ output = [[-1, 1.5], [2, 5], [7, 8]]
1116
+ ```
1117
+
1118
+ Args:
1119
+ intervals_1 (list[Interval]): A list of intervals.
1120
+ intervals_2 (list[Interval]): Another list of intervals.
1121
+
1122
+ Returns:
1123
+ Interval: Logical-or intervals.
1124
+ """
1125
+ @staticmethod
1126
+ def merge(intervals: list[Interval]) -> list[Interval]:
1127
+ """
1128
+ Creates a merged list of intervals.
1129
+
1130
+ ```
1131
+ intervals = [[1, 3], [2, 4], [5, 7]]
1132
+ output = [[1, 4], [5, 7]]
1133
+ ```
1134
+
1135
+ Args:
1136
+ intervals (list[Interval]): A list of intervals.
1137
+
1138
+ Returns:
1139
+ Interval: Merged intervals.
1140
+ """
1141
+ @staticmethod
1142
+ def open(start_instant: ..., end_instant: ...) -> Interval:
1143
+ """
1144
+ Create a open interval.
1145
+
1146
+ Args:
1147
+ start_instant (Instant): Start instant.
1148
+ end_instant (Instant): End instant.
1149
+
1150
+ Returns:
1151
+ Interval: Open interval.
1152
+ """
1153
+ @staticmethod
1154
+ def parse(arg0: ostk.core.type.String) -> Interval:
1155
+ """
1156
+ Parse an interval from a string representation.
1157
+
1158
+ Args:
1159
+ aString (str): String representation.
1160
+
1161
+ Returns:
1162
+ Interval: Interval.
1163
+ """
1164
+ @staticmethod
1165
+ def sort(intervals: list[Interval], by_lower_bound: bool = True, ascending: bool = True) -> list[Interval]:
1166
+ """
1167
+ Creates a sorted list of intervals.
1168
+
1169
+ Args:
1170
+ intervals (list[Interval]): A list of intervals.
1171
+ by_lower_bound (bool): Use lower bound for sorting. Defaults to True.
1172
+ ascending (bool): Sort in ascending order. Defaults to True.
1173
+
1174
+ Returns:
1175
+ Interval: Sorted intervals.
1176
+ """
1177
+ @staticmethod
1178
+ def undefined() -> Interval:
1179
+ """
1180
+ Create an undefined interval.
1181
+
1182
+ Returns:
1183
+ Interval: Undefined interval.
1184
+ """
1185
+ def __eq__(self, arg0: Interval) -> bool:
1186
+ ...
1187
+ def __init__(self, start_instant: ..., end_instant: ..., type: ostk.mathematics.object.RealInterval.Type) -> None:
1188
+ """
1189
+ Constructor.
1190
+
1191
+ Args:
1192
+ start_instant (Instant): Start instant.
1193
+ end_instant (Instant): End instant.
1194
+ type (Interval.Type): Interval type.
1195
+ """
1196
+ def __ne__(self, arg0: Interval) -> bool:
1197
+ ...
1198
+ def __repr__(self) -> str:
1199
+ ...
1200
+ def __str__(self) -> str:
1201
+ ...
1202
+ def contains_instant(self, instant: ...) -> bool:
1203
+ """
1204
+ Check if the interval contains an instant.
1205
+
1206
+ Args:
1207
+ instant (Instant): An instant.
1208
+
1209
+ Returns:
1210
+ bool: True if the interval contains the instant.
1211
+ """
1212
+ def contains_interval(self, interval: Interval) -> bool:
1213
+ """
1214
+ Check if the interval contains another interval.
1215
+
1216
+ Args:
1217
+ interval (Interval): Another interval.
1218
+
1219
+ Returns:
1220
+ bool: True if the interval contains the other interval.
1221
+ """
1222
+ def generate_grid(self, arg0: Duration) -> list[...]:
1223
+ """
1224
+ Generate a grid of instants with a given time step.
1225
+
1226
+ Args:
1227
+ aTimeStep (Duration): Time step.
1228
+
1229
+ Returns:
1230
+ List[Instant]: Grid of instants.
1231
+ """
1232
+ def get_center(self) -> ...:
1233
+ """
1234
+ Get the center instant.
1235
+
1236
+ Returns:
1237
+ Instant: Center instant.
1238
+ """
1239
+ def get_duration(self) -> Duration:
1240
+ """
1241
+ Get the duration.
1242
+
1243
+ Returns:
1244
+ Duration: Duration.
1245
+ """
1246
+ def get_end(self) -> ...:
1247
+ """
1248
+ Get the end instant.
1249
+
1250
+ Returns:
1251
+ Instant: End instant.
1252
+ """
1253
+ def get_intersection_with(self, arg0: Interval) -> Interval:
1254
+ """
1255
+ Get the intersection with another interval.
1256
+
1257
+ Args:
1258
+ interval (Interval): Another interval.
1259
+
1260
+ Returns:
1261
+ Interval: Intersection interval (Undefined if there is no intersection).
1262
+ """
1263
+ def get_lower_bound(self) -> ...:
1264
+ """
1265
+ Get the lower bound.
1266
+
1267
+ Returns:
1268
+ Instant: Lower bound.
1269
+ """
1270
+ def get_start(self) -> ...:
1271
+ """
1272
+ Get the start instant.
1273
+
1274
+ Returns:
1275
+ Instant: Start instant.
1276
+ """
1277
+ def get_union_with(self, arg0: Interval) -> Interval:
1278
+ """
1279
+ Get the union with another interval.
1280
+
1281
+ Args:
1282
+ interval (Interval): Another interval.
1283
+
1284
+ Returns:
1285
+ Interval: Union interval (Undefined if there is no single-interval union).
1286
+ """
1287
+ def get_upper_bound(self) -> ...:
1288
+ """
1289
+ Get the upper bound.
1290
+
1291
+ Returns:
1292
+ Instant: Upper bound.
1293
+ """
1294
+ def intersects(self, interval: Interval) -> bool:
1295
+ """
1296
+ Check if the interval intersects another interval.
1297
+
1298
+ Args:
1299
+ interval (Interval): Another interval.
1300
+
1301
+ Returns:
1302
+ bool: True if the interval intersects another interval.
1303
+ """
1304
+ def is_defined(self) -> bool:
1305
+ """
1306
+ Check if the interval is defined.
1307
+
1308
+ Returns:
1309
+ bool: True if defined.
1310
+ """
1311
+ def is_degenerate(self) -> bool:
1312
+ """
1313
+ Check if interval is degenerate, i.e. its lower and upper bounds are the equal.
1314
+
1315
+ Returns:
1316
+ bool: True if degenerate.
1317
+ """
1318
+ def to_datetime_span(self, scale: Scale = ...) -> tuple[DateTime, DateTime]:
1319
+ """
1320
+ Get the datetime span.
1321
+
1322
+ Args:
1323
+ scale (Scale): Time scale. Defaults to UTC.
1324
+
1325
+ Returns:
1326
+ Tuple[datetime, datetime]: Datetime span.
1327
+ """
1328
+ def to_string(self, time_scale: Scale = ...) -> ostk.core.type.String:
1329
+ """
1330
+ Convert the interval to a string.
1331
+
1332
+ Args:
1333
+ time_scale (Scale): Time scale.
1334
+
1335
+ Returns:
1336
+ str: String representation of the interval.
1337
+ """
1338
+ class Scale:
1339
+ """
1340
+
1341
+ Time scale.
1342
+
1343
+ See also:
1344
+ - [SOFA](http://www.iausofa.org/sofa_ts_c.pdf)
1345
+ - [Times](https://www.cv.nrao.edu/~rfisher/Ephemerides/times.html)
1346
+ - [Time](http://stjarnhimlen.se/comp/time.html)
1347
+ - [GNSS](http://www.navipedia.net/index.php/Time_References_in_GNSS)
1348
+ - [GNSS](Springer Handbook of Global Navigation Satellite Systems)
1349
+
1350
+
1351
+ Members:
1352
+
1353
+ Undefined :
1354
+ Undefined time.
1355
+
1356
+
1357
+ UTC :
1358
+ Coordinated Universal Time.
1359
+
1360
+
1361
+ TT :
1362
+ Terrestial Time (a.k.a. TDT).
1363
+
1364
+
1365
+ TAI :
1366
+ International Atomic Time.
1367
+
1368
+
1369
+ UT1 :
1370
+ Universal Time.
1371
+
1372
+
1373
+ TCG :
1374
+ Geocentric Coordinate Time.
1375
+
1376
+
1377
+ TCB :
1378
+ Barycentric Coordinate Time.
1379
+
1380
+
1381
+ TDB :
1382
+ Barycentric Dynamic Time.
1383
+
1384
+
1385
+ GMST :
1386
+ Greenwich Mean Sidereal Time.
1387
+
1388
+
1389
+ GPST :
1390
+ Global Positioning System (GPS) Time.
1391
+
1392
+
1393
+ GST :
1394
+ Galileo System Time.
1395
+
1396
+
1397
+ GLST :
1398
+ GLONASS Time.
1399
+
1400
+
1401
+ BDT :
1402
+ BeiDou Time.
1403
+
1404
+
1405
+ QZSST :
1406
+ Quasi-Zenith Satellite System (QZSS) Time.
1407
+
1408
+
1409
+ IRNSST :
1410
+ Indian Regional Navigation Satellite System (IRNSS) Time.
1411
+
1412
+ """
1413
+ BDT: typing.ClassVar[Scale] # value = <Scale.BDT: 12>
1414
+ GLST: typing.ClassVar[Scale] # value = <Scale.GLST: 11>
1415
+ GMST: typing.ClassVar[Scale] # value = <Scale.GMST: 8>
1416
+ GPST: typing.ClassVar[Scale] # value = <Scale.GPST: 9>
1417
+ GST: typing.ClassVar[Scale] # value = <Scale.GST: 10>
1418
+ IRNSST: typing.ClassVar[Scale] # value = <Scale.IRNSST: 14>
1419
+ QZSST: typing.ClassVar[Scale] # value = <Scale.QZSST: 13>
1420
+ TAI: typing.ClassVar[Scale] # value = <Scale.TAI: 3>
1421
+ TCB: typing.ClassVar[Scale] # value = <Scale.TCB: 6>
1422
+ TCG: typing.ClassVar[Scale] # value = <Scale.TCG: 5>
1423
+ TDB: typing.ClassVar[Scale] # value = <Scale.TDB: 7>
1424
+ TT: typing.ClassVar[Scale] # value = <Scale.TT: 2>
1425
+ UT1: typing.ClassVar[Scale] # value = <Scale.UT1: 4>
1426
+ UTC: typing.ClassVar[Scale] # value = <Scale.UTC: 1>
1427
+ Undefined: typing.ClassVar[Scale] # value = <Scale.Undefined: 0>
1428
+ __members__: typing.ClassVar[dict[str, Scale]] # value = {'Undefined': <Scale.Undefined: 0>, 'UTC': <Scale.UTC: 1>, 'TT': <Scale.TT: 2>, 'TAI': <Scale.TAI: 3>, 'UT1': <Scale.UT1: 4>, 'TCG': <Scale.TCG: 5>, 'TCB': <Scale.TCB: 6>, 'TDB': <Scale.TDB: 7>, 'GMST': <Scale.GMST: 8>, 'GPST': <Scale.GPST: 9>, 'GST': <Scale.GST: 10>, 'GLST': <Scale.GLST: 11>, 'BDT': <Scale.BDT: 12>, 'QZSST': <Scale.QZSST: 13>, 'IRNSST': <Scale.IRNSST: 14>}
1429
+ @staticmethod
1430
+ def _pybind11_conduit_v1_(*args, **kwargs):
1431
+ ...
1432
+ def __eq__(self, other: typing.Any) -> bool:
1433
+ ...
1434
+ def __getstate__(self) -> int:
1435
+ ...
1436
+ def __hash__(self) -> int:
1437
+ ...
1438
+ def __index__(self) -> int:
1439
+ ...
1440
+ def __init__(self, value: int) -> None:
1441
+ ...
1442
+ def __int__(self) -> int:
1443
+ ...
1444
+ def __ne__(self, other: typing.Any) -> bool:
1445
+ ...
1446
+ def __repr__(self) -> str:
1447
+ ...
1448
+ def __setstate__(self, state: int) -> None:
1449
+ ...
1450
+ def __str__(self) -> str:
1451
+ ...
1452
+ @property
1453
+ def name(self) -> str:
1454
+ ...
1455
+ @property
1456
+ def value(self) -> int:
1457
+ ...
1458
+ class Time:
1459
+ """
1460
+
1461
+ Time as hour, minute, second, millisecond, microsecond and nanosecond.
1462
+
1463
+ """
1464
+ class Format:
1465
+ """
1466
+ Members:
1467
+
1468
+ Undefined :
1469
+ Undefined time format.
1470
+
1471
+
1472
+ Standard :
1473
+ Standard time format.
1474
+
1475
+
1476
+ ISO8601 :
1477
+ ISO 8601 time format.
1478
+
1479
+ """
1480
+ ISO8601: typing.ClassVar[Time.Format] # value = <Format.ISO8601: 2>
1481
+ Standard: typing.ClassVar[Time.Format] # value = <Format.Standard: 1>
1482
+ Undefined: typing.ClassVar[Time.Format] # value = <Format.Undefined: 0>
1483
+ __members__: typing.ClassVar[dict[str, Time.Format]] # value = {'Undefined': <Format.Undefined: 0>, 'Standard': <Format.Standard: 1>, 'ISO8601': <Format.ISO8601: 2>}
1484
+ @staticmethod
1485
+ def _pybind11_conduit_v1_(*args, **kwargs):
1486
+ ...
1487
+ def __eq__(self, other: typing.Any) -> bool:
1488
+ ...
1489
+ def __getstate__(self) -> int:
1490
+ ...
1491
+ def __hash__(self) -> int:
1492
+ ...
1493
+ def __index__(self) -> int:
1494
+ ...
1495
+ def __init__(self, value: int) -> None:
1496
+ ...
1497
+ def __int__(self) -> int:
1498
+ ...
1499
+ def __ne__(self, other: typing.Any) -> bool:
1500
+ ...
1501
+ def __repr__(self) -> str:
1502
+ ...
1503
+ def __setstate__(self, state: int) -> None:
1504
+ ...
1505
+ def __str__(self) -> str:
1506
+ ...
1507
+ @property
1508
+ def name(self) -> str:
1509
+ ...
1510
+ @property
1511
+ def value(self) -> int:
1512
+ ...
1513
+ __hash__: typing.ClassVar[None] = None
1514
+ @staticmethod
1515
+ def _pybind11_conduit_v1_(*args, **kwargs):
1516
+ ...
1517
+ @staticmethod
1518
+ def hours(value: ostk.core.type.Real) -> Time:
1519
+ """
1520
+ Create a time from a real number of hours.
1521
+
1522
+ Args:
1523
+ value (float): A real number of hours.
1524
+
1525
+ Returns:
1526
+ Time: Time.
1527
+ """
1528
+ @staticmethod
1529
+ def midnight() -> Time:
1530
+ """
1531
+ Create a time at midnight.
1532
+
1533
+ Returns:
1534
+ Time: Time at midnight.
1535
+ """
1536
+ @staticmethod
1537
+ def noon() -> Time:
1538
+ """
1539
+ Create a time at noon.
1540
+
1541
+ Returns:
1542
+ Time: Time at noon.
1543
+ """
1544
+ @staticmethod
1545
+ def parse(string: ostk.core.type.String, format: Time.Format = ...) -> Time:
1546
+ """
1547
+ Create a time from a string representation.
1548
+
1549
+ Args:
1550
+ string (str): A string.
1551
+ format (Time.Format, optional): A time format (automatic detection if Undefined).
1552
+
1553
+ Returns:
1554
+ Time: Time.
1555
+ """
1556
+ @staticmethod
1557
+ def seconds(value: ostk.core.type.Real) -> Time:
1558
+ """
1559
+ Create a time from a real number of seconds.
1560
+
1561
+ Args:
1562
+ value (float): A real number of seconds.
1563
+
1564
+ Returns:
1565
+ Time: Time.
1566
+ """
1567
+ @staticmethod
1568
+ def undefined() -> Time:
1569
+ """
1570
+ Create an undefined time.
1571
+
1572
+ Returns:
1573
+ Time: Undefined time.
1574
+ """
1575
+ def __eq__(self, arg0: Time) -> bool:
1576
+ ...
1577
+ @typing.overload
1578
+ def __init__(self, arg0: int, arg1: int, arg2: int, arg3: int, arg4: int, arg5: int) -> None:
1579
+ """
1580
+ Constructor.
1581
+
1582
+ Args:
1583
+ an_hour (int): An hour count (0 - 23).
1584
+ a_minute (int): A minute count (0 - 59).
1585
+ a_second (int): A second count (0 - 60).
1586
+ a_millisecond (int): A millisecond count (0 - 999).
1587
+ a_microsecond (int): A microsecond count (0 - 999).
1588
+ a_nanosecond (int): A nanosecond count (0 - 999).
1589
+ """
1590
+ @typing.overload
1591
+ def __init__(self, arg0: int, arg1: int, arg2: int) -> None:
1592
+ """
1593
+ Constructor.
1594
+
1595
+ Args:
1596
+ an_hour (int): An hour count (0 - 23).
1597
+ a_minute (int): A minute count (0 - 59).
1598
+ a_second (int): A second count (0 - 60).
1599
+ """
1600
+ def __ne__(self, arg0: Time) -> bool:
1601
+ ...
1602
+ def __repr__(self) -> str:
1603
+ ...
1604
+ def __str__(self) -> str:
1605
+ ...
1606
+ def get_floating_seconds(self) -> ostk.core.type.Real:
1607
+ """
1608
+ Get floating seconds.
1609
+
1610
+ Returns:
1611
+ float: Floating seconds.
1612
+ """
1613
+ def get_hour(self) -> int:
1614
+ """
1615
+ Get hour count.
1616
+
1617
+ Returns:
1618
+ int: Hour count.
1619
+ """
1620
+ def get_microsecond(self) -> int:
1621
+ """
1622
+ Get microsecond count.
1623
+
1624
+ Returns:
1625
+ int: Microsecond count.
1626
+ """
1627
+ def get_millisecond(self) -> int:
1628
+ """
1629
+ Get millisecond count.
1630
+
1631
+ Returns:
1632
+ int: Millisecond count.
1633
+ """
1634
+ def get_minute(self) -> int:
1635
+ """
1636
+ Get minute count.
1637
+
1638
+ Returns:
1639
+ int: Minute count.
1640
+ """
1641
+ def get_nanosecond(self) -> int:
1642
+ """
1643
+ Get nanosecond count.
1644
+
1645
+ Returns:
1646
+ int: Nanosecond count.
1647
+ """
1648
+ def get_second(self) -> int:
1649
+ """
1650
+ Get second count.
1651
+
1652
+ Returns:
1653
+ int: Second count.
1654
+ """
1655
+ def get_total_floating_hours(self) -> ostk.core.type.Real:
1656
+ """
1657
+ Get total floating hours.
1658
+
1659
+ Returns:
1660
+ float: Total floating hours.
1661
+ """
1662
+ def get_total_floating_seconds(self) -> ostk.core.type.Real:
1663
+ """
1664
+ Get total floating seconds.
1665
+
1666
+ Returns:
1667
+ float: Total floating seconds.
1668
+ """
1669
+ def is_defined(self) -> bool:
1670
+ """
1671
+ Check if the time is defined.
1672
+
1673
+ Returns:
1674
+ bool: True if defined
1675
+ """
1676
+ def set_hour(self, arg0: int) -> None:
1677
+ """
1678
+ Set hour count.
1679
+
1680
+ Args:
1681
+ an_hour (int): An hour count (0 - 23).
1682
+ """
1683
+ def set_microsecond(self, arg0: int) -> None:
1684
+ """
1685
+ Set microsecond count.
1686
+
1687
+ Args:
1688
+ a_microsecond (int): A microsecond count (0 - 999).
1689
+ """
1690
+ def set_millisecond(self, arg0: int) -> None:
1691
+ """
1692
+ Set millisecond count.
1693
+
1694
+ Args:
1695
+ a_millisecond (int): A millisecond count (0 - 999).
1696
+ """
1697
+ def set_minute(self, arg0: int) -> None:
1698
+ """
1699
+ Set minute count.
1700
+
1701
+ Args:
1702
+ a_minute (int): A minute count (0 - 59).
1703
+ """
1704
+ def set_nanosecond(self, arg0: int) -> None:
1705
+ """
1706
+ Set nanosecond count.
1707
+
1708
+ Args:
1709
+ a_nanosecond (int): A nanosecond count (0 - 999).
1710
+ """
1711
+ def set_second(self, arg0: int) -> None:
1712
+ """
1713
+ Set second count.
1714
+
1715
+ Args:
1716
+ a_second (int): A second count (0 - 60).
1717
+ """
1718
+ @typing.overload
1719
+ def to_string(self, arg0: Time.Format) -> ostk.core.type.String:
1720
+ """
1721
+ Get string representation of time.
1722
+
1723
+ Returns:
1724
+ str: String representation of time.
1725
+ """
1726
+ @typing.overload
1727
+ def to_string(self) -> ostk.core.type.String:
1728
+ """
1729
+ Get string representation of time.
1730
+
1731
+ Returns:
1732
+ str: String representation of time.
1733
+ """
1734
+ @typing.overload
1735
+ def to_string(self, arg0: Time.Format) -> ostk.core.type.String:
1736
+ """
1737
+ Get string representation of time.
1738
+
1739
+ Args:
1740
+ aFormat (Time.Format): Time format.
1741
+
1742
+ Returns:
1743
+ str: String representation of time.
1744
+ """