kiam-astro 3.0.1__tar.gz → 3.0.2__tar.gz
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.
- {kiam_astro-3.0.1 → kiam_astro-3.0.2}/PKG-INFO +1 -1
- {kiam_astro-3.0.1 → kiam_astro-3.0.2}/kiam_astro/FKIAMToolbox.cp39-win_amd64.pyd +0 -0
- {kiam_astro-3.0.1 → kiam_astro-3.0.2}/kiam_astro/FKIAMToolbox.cpython-39-darwin.so +0 -0
- kiam_astro-3.0.2/kiam_astro/__pycache__/__init__.cpython-39.pyc +0 -0
- {kiam_astro-3.0.1 → kiam_astro-3.0.2}/kiam_astro/__pycache__/engine.cpython-39.pyc +0 -0
- {kiam_astro-3.0.1 → kiam_astro-3.0.2}/kiam_astro/__pycache__/kiam.cpython-39.pyc +0 -0
- {kiam_astro-3.0.1 → kiam_astro-3.0.2}/kiam_astro/__pycache__/trajectory.cpython-39.pyc +0 -0
- {kiam_astro-3.0.1 → kiam_astro-3.0.2}/kiam_astro/engine.py +40 -40
- {kiam_astro-3.0.1 → kiam_astro-3.0.2}/kiam_astro/kiam.py +101 -1
- {kiam_astro-3.0.1 → kiam_astro-3.0.2}/kiam_astro/trajectory.py +12 -0
- {kiam_astro-3.0.1 → kiam_astro-3.0.2}/kiam_astro.egg-info/PKG-INFO +1 -1
- {kiam_astro-3.0.1 → kiam_astro-3.0.2}/setup.py +1 -1
- kiam_astro-3.0.1/kiam_astro/__pycache__/__init__.cpython-39.pyc +0 -0
- {kiam_astro-3.0.1 → kiam_astro-3.0.2}/.github/workflows/static.yml +0 -0
- {kiam_astro-3.0.1 → kiam_astro-3.0.2}/.idea/.gitignore +0 -0
- {kiam_astro-3.0.1 → kiam_astro-3.0.2}/.idea/.name +0 -0
- {kiam_astro-3.0.1 → kiam_astro-3.0.2}/.idea/KIAMToolbox.iml +0 -0
- {kiam_astro-3.0.1 → kiam_astro-3.0.2}/.idea/encodings.xml +0 -0
- {kiam_astro-3.0.1 → kiam_astro-3.0.2}/.idea/inspectionProfiles/Project_Default.xml +0 -0
- {kiam_astro-3.0.1 → kiam_astro-3.0.2}/.idea/inspectionProfiles/profiles_settings.xml +0 -0
- {kiam_astro-3.0.1 → kiam_astro-3.0.2}/.idea/misc.xml +0 -0
- {kiam_astro-3.0.1 → kiam_astro-3.0.2}/.idea/modules.xml +0 -0
- {kiam_astro-3.0.1 → kiam_astro-3.0.2}/.idea/vcs.xml +0 -0
- {kiam_astro-3.0.1 → kiam_astro-3.0.2}/LICENSE +0 -0
- {kiam_astro-3.0.1 → kiam_astro-3.0.2}/MANIFEST.in +0 -0
- {kiam_astro-3.0.1 → kiam_astro-3.0.2}/README.md +0 -0
- {kiam_astro-3.0.1 → kiam_astro-3.0.2}/html/Trajectory.html +0 -0
- {kiam_astro-3.0.1 → kiam_astro-3.0.2}/html/kiam.html +0 -0
- {kiam_astro-3.0.1 → kiam_astro-3.0.2}/index.html +0 -0
- {kiam_astro-3.0.1 → kiam_astro-3.0.2}/kiam_astro/FKIAMToolbox.cpython-39-x86_64-linux-gnu.so +0 -0
- {kiam_astro-3.0.1 → kiam_astro-3.0.2}/kiam_astro/JPLEPH +0 -0
- {kiam_astro-3.0.1 → kiam_astro-3.0.2}/kiam_astro/__init__.py +0 -0
- {kiam_astro-3.0.1 → kiam_astro-3.0.2}/kiam_astro/images/Earth.jpg +0 -0
- {kiam_astro-3.0.1 → kiam_astro-3.0.2}/kiam_astro/images/Earth2.jpg +0 -0
- {kiam_astro-3.0.1 → kiam_astro-3.0.2}/kiam_astro/images/Moon - Plate Caree Projection.jpg +0 -0
- {kiam_astro-3.0.1 → kiam_astro-3.0.2}/kiam_astro/images/Moon1.jpg +0 -0
- {kiam_astro-3.0.1 → kiam_astro-3.0.2}/kiam_astro/images/Moon2.jpg +0 -0
- {kiam_astro-3.0.1 → kiam_astro-3.0.2}/kiam_astro/libifcoremd.dll +0 -0
- {kiam_astro-3.0.1 → kiam_astro-3.0.2}/kiam_astro/libmmd.dll +0 -0
- {kiam_astro-3.0.1 → kiam_astro-3.0.2}/kiam_astro/svml_dispmd.dll +0 -0
- {kiam_astro-3.0.1 → kiam_astro-3.0.2}/kiam_astro.egg-info/SOURCES.txt +0 -0
- {kiam_astro-3.0.1 → kiam_astro-3.0.2}/kiam_astro.egg-info/dependency_links.txt +0 -0
- {kiam_astro-3.0.1 → kiam_astro-3.0.2}/kiam_astro.egg-info/requires.txt +0 -0
- {kiam_astro-3.0.1 → kiam_astro-3.0.2}/kiam_astro.egg-info/top_level.txt +0 -0
- {kiam_astro-3.0.1 → kiam_astro-3.0.2}/requirements.txt +0 -0
- {kiam_astro-3.0.1 → kiam_astro-3.0.2}/setup.cfg +0 -0
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -38,12 +38,12 @@ class SPT50(Engine):
|
|
|
38
38
|
self.engine_type = 'electric'
|
|
39
39
|
|
|
40
40
|
self.propellant = 'Xe'
|
|
41
|
-
self.discharge_voltage = 180 # V
|
|
41
|
+
self.discharge_voltage = 180.0 # V
|
|
42
42
|
self.discharge_current = 1.25 # A
|
|
43
|
-
self.discharge_power = 225 # W
|
|
43
|
+
self.discharge_power = 225.0 # W
|
|
44
44
|
|
|
45
45
|
self.force = 14.0e-03 # N
|
|
46
|
-
self.specific_impulse = 860 # s
|
|
46
|
+
self.specific_impulse = 860.0 # s
|
|
47
47
|
self.power_to_thrust_ratio = 16.1e+03 # W/N
|
|
48
48
|
self.min_lifetime_h = 1217/24 # days
|
|
49
49
|
self.min_lifetime_cycles = 3011 # cycles
|
|
@@ -63,12 +63,12 @@ class SPT50M(Engine):
|
|
|
63
63
|
|
|
64
64
|
self.propellant = 'Xe'
|
|
65
65
|
|
|
66
|
-
self.discharge_voltage = 180 # V
|
|
66
|
+
self.discharge_voltage = 180.0 # V
|
|
67
67
|
self.discharge_current = 1.25 # A
|
|
68
|
-
self.discharge_power = 225 # W
|
|
68
|
+
self.discharge_power = 225.0 # W
|
|
69
69
|
|
|
70
70
|
self.force = 14.8e-03 # N
|
|
71
|
-
self.specific_impulse = 930 # s
|
|
71
|
+
self.specific_impulse = 930.0 # s
|
|
72
72
|
self.power_to_thrust_ratio = 15.2e+03 # W/N
|
|
73
73
|
self.min_lifetime_h = 5000/24 # days
|
|
74
74
|
self.min_lifetime_cycles = 11000 # cycles
|
|
@@ -79,12 +79,12 @@ class SPT50M(Engine):
|
|
|
79
79
|
|
|
80
80
|
self.propellant = 'Xe'
|
|
81
81
|
|
|
82
|
-
self.discharge_voltage = 300 # V
|
|
82
|
+
self.discharge_voltage = 300.0 # V
|
|
83
83
|
self.discharge_current = 1.0 # A
|
|
84
|
-
self.discharge_power = 300 # W
|
|
84
|
+
self.discharge_power = 300.0 # W
|
|
85
85
|
|
|
86
86
|
self.force = 18.0e-03 # N
|
|
87
|
-
self.specific_impulse = 1250 # s
|
|
87
|
+
self.specific_impulse = 1250.0 # s
|
|
88
88
|
self.power_to_thrust_ratio = 16.7e+03 # W/N
|
|
89
89
|
self.min_lifetime_h = 5000 / 24 # days
|
|
90
90
|
self.min_lifetime_cycles = 11000 # cycles
|
|
@@ -102,12 +102,12 @@ class SPT70(Engine):
|
|
|
102
102
|
|
|
103
103
|
self.propellant = 'Xe'
|
|
104
104
|
|
|
105
|
-
self.discharge_voltage = 300 # V
|
|
105
|
+
self.discharge_voltage = 300.0 # V
|
|
106
106
|
self.discharge_current = 2.23 # A
|
|
107
|
-
self.discharge_power = 670 # W
|
|
107
|
+
self.discharge_power = 670.0 # W
|
|
108
108
|
|
|
109
109
|
self.force = 39.0e-03 # N
|
|
110
|
-
self.specific_impulse = 1470 # s
|
|
110
|
+
self.specific_impulse = 1470.0 # s
|
|
111
111
|
self.power_to_thrust_ratio = 16.1e+03 # W/N
|
|
112
112
|
self.min_lifetime_h = 3100 / 24 # days
|
|
113
113
|
self.min_lifetime_cycles = 3000 # cycles
|
|
@@ -127,12 +127,12 @@ class SPT70M(Engine):
|
|
|
127
127
|
|
|
128
128
|
self.propellant = 'Xe'
|
|
129
129
|
|
|
130
|
-
self.discharge_voltage = 300 # V
|
|
130
|
+
self.discharge_voltage = 300.0 # V
|
|
131
131
|
self.discharge_current = 2.00 # A
|
|
132
|
-
self.discharge_power = 600 # W
|
|
132
|
+
self.discharge_power = 600.0 # W
|
|
133
133
|
|
|
134
134
|
self.force = 36.0e-03 # N
|
|
135
|
-
self.specific_impulse = 1430 # s
|
|
135
|
+
self.specific_impulse = 1430.0 # s
|
|
136
136
|
self.power_to_thrust_ratio = 15.2e+03 # W/N
|
|
137
137
|
self.min_lifetime_h = 7000 / 24 # days
|
|
138
138
|
self.min_lifetime_cycles = 11000 # cycles
|
|
@@ -143,12 +143,12 @@ class SPT70M(Engine):
|
|
|
143
143
|
|
|
144
144
|
self.propellant = 'Xe'
|
|
145
145
|
|
|
146
|
-
self.discharge_voltage = 300 # V
|
|
146
|
+
self.discharge_voltage = 300.0 # V
|
|
147
147
|
self.discharge_current = 2.67 # A
|
|
148
|
-
self.discharge_power = 800 # W
|
|
148
|
+
self.discharge_power = 800.0 # W
|
|
149
149
|
|
|
150
150
|
self.force = 48.0e-03 # N
|
|
151
|
-
self.specific_impulse = 1530 # s
|
|
151
|
+
self.specific_impulse = 1530.0 # s
|
|
152
152
|
self.power_to_thrust_ratio = 16.7e+03 # W/N
|
|
153
153
|
self.min_lifetime_h = 7000 / 24 # days
|
|
154
154
|
self.min_lifetime_cycles = 11000 # cycles
|
|
@@ -159,12 +159,12 @@ class SPT70M(Engine):
|
|
|
159
159
|
|
|
160
160
|
self.propellant = 'Xe'
|
|
161
161
|
|
|
162
|
-
self.discharge_voltage = 300 # V
|
|
162
|
+
self.discharge_voltage = 300.0 # V
|
|
163
163
|
self.discharge_current = 3.33 # A
|
|
164
|
-
self.discharge_power = 1000 # W
|
|
164
|
+
self.discharge_power = 1000.0 # W
|
|
165
165
|
|
|
166
166
|
self.force = 59.0e-03 # N
|
|
167
|
-
self.specific_impulse = 1600 # s
|
|
167
|
+
self.specific_impulse = 1600.0 # s
|
|
168
168
|
self.power_to_thrust_ratio = 16.9e+03 # W/N
|
|
169
169
|
self.min_lifetime_h = 7000 / 24 # days
|
|
170
170
|
self.min_lifetime_cycles = 11000 # cycles
|
|
@@ -175,12 +175,12 @@ class SPT70M(Engine):
|
|
|
175
175
|
|
|
176
176
|
self.propellant = 'Kr'
|
|
177
177
|
|
|
178
|
-
self.discharge_voltage = 300 # V
|
|
178
|
+
self.discharge_voltage = 300.0 # V
|
|
179
179
|
self.discharge_current = 2.00 # A
|
|
180
|
-
self.discharge_power = 600 # W
|
|
180
|
+
self.discharge_power = 600.0 # W
|
|
181
181
|
|
|
182
182
|
self.force = 28.0e-03 # N
|
|
183
|
-
self.specific_impulse = 1380 # s
|
|
183
|
+
self.specific_impulse = 1380.0 # s
|
|
184
184
|
self.power_to_thrust_ratio = 21.4e+03 # W/N
|
|
185
185
|
self.min_lifetime_h = 7000 / 24 # days
|
|
186
186
|
self.min_lifetime_cycles = 11000 # cycles
|
|
@@ -191,12 +191,12 @@ class SPT70M(Engine):
|
|
|
191
191
|
|
|
192
192
|
self.propellant = 'Kr'
|
|
193
193
|
|
|
194
|
-
self.discharge_voltage = 300 # V
|
|
194
|
+
self.discharge_voltage = 300.0 # V
|
|
195
195
|
self.discharge_current = 2.67 # A
|
|
196
|
-
self.discharge_power = 800 # W
|
|
196
|
+
self.discharge_power = 800.0 # W
|
|
197
197
|
|
|
198
198
|
self.force = 37.0e-03 # N
|
|
199
|
-
self.specific_impulse = 1490 # s
|
|
199
|
+
self.specific_impulse = 1490.0 # s
|
|
200
200
|
self.power_to_thrust_ratio = 21.6e+03 # W/N
|
|
201
201
|
self.min_lifetime_h = 7000 / 24 # days
|
|
202
202
|
self.min_lifetime_cycles = 11000 # cycles
|
|
@@ -207,12 +207,12 @@ class SPT70M(Engine):
|
|
|
207
207
|
|
|
208
208
|
self.propellant = 'Kr'
|
|
209
209
|
|
|
210
|
-
self.discharge_voltage = 300 # V
|
|
210
|
+
self.discharge_voltage = 300.0 # V
|
|
211
211
|
self.discharge_current = 3.33 # A
|
|
212
|
-
self.discharge_power = 1000 # W
|
|
212
|
+
self.discharge_power = 1000.0 # W
|
|
213
213
|
|
|
214
214
|
self.force = 47.0e-03 # N
|
|
215
|
-
self.specific_impulse = 1560 # s
|
|
215
|
+
self.specific_impulse = 1560.0 # s
|
|
216
216
|
self.power_to_thrust_ratio = 21.3e+03 # W/N
|
|
217
217
|
self.min_lifetime_h = 7000 / 24 # days
|
|
218
218
|
self.min_lifetime_cycles = 11000 # cycles
|
|
@@ -234,12 +234,12 @@ class SPT100B(Engine):
|
|
|
234
234
|
|
|
235
235
|
self.propellant = 'Xe'
|
|
236
236
|
|
|
237
|
-
self.discharge_voltage = 300 # V
|
|
237
|
+
self.discharge_voltage = 300.0 # V
|
|
238
238
|
self.discharge_current = 4.5 # A
|
|
239
|
-
self.discharge_power = 1350 # W
|
|
239
|
+
self.discharge_power = 1350.0 # W
|
|
240
240
|
|
|
241
241
|
self.force = 83.0e-03 # N
|
|
242
|
-
self.specific_impulse = 1540 # s
|
|
242
|
+
self.specific_impulse = 1540.0 # s
|
|
243
243
|
self.efficiency = 0.45
|
|
244
244
|
self.power_to_thrust_ratio = 16.3e+03 # W/N
|
|
245
245
|
self.min_lifetime_h = 9000 / 24 # days
|
|
@@ -258,12 +258,12 @@ class SPT100BM(Engine):
|
|
|
258
258
|
|
|
259
259
|
self.propellant = 'Xe'
|
|
260
260
|
|
|
261
|
-
self.discharge_voltage = 300 # V
|
|
261
|
+
self.discharge_voltage = 300.0 # V
|
|
262
262
|
self.discharge_current = 4.5 # A
|
|
263
|
-
self.discharge_power = 1350 # W
|
|
263
|
+
self.discharge_power = 1350.0 # W
|
|
264
264
|
|
|
265
265
|
self.force = 90.0e-03 # N
|
|
266
|
-
self.specific_impulse = 1600 # s
|
|
266
|
+
self.specific_impulse = 1600.0 # s
|
|
267
267
|
self.efficiency = 0.52
|
|
268
268
|
self.power_to_thrust_ratio = 15.0e+03 # W/N
|
|
269
269
|
self.min_lifetime_h = 9000 / 24 # days
|
|
@@ -282,12 +282,12 @@ class SPT140D(Engine):
|
|
|
282
282
|
|
|
283
283
|
self.propellant = 'Xe'
|
|
284
284
|
|
|
285
|
-
self.discharge_voltage = 300 # V
|
|
286
|
-
self.discharge_current = 15 # A
|
|
287
|
-
self.discharge_power = 4500 # W
|
|
285
|
+
self.discharge_voltage = 300.0 # V
|
|
286
|
+
self.discharge_current = 15.0 # A
|
|
287
|
+
self.discharge_power = 4500.0 # W
|
|
288
288
|
|
|
289
289
|
self.force = 290.0e-03 # N
|
|
290
|
-
self.specific_impulse = 1750 # s
|
|
290
|
+
self.specific_impulse = 1750.0 # s
|
|
291
291
|
self.efficiency = 0.53
|
|
292
292
|
self.power_to_thrust_ratio = 15.5e+03 # W/N
|
|
293
293
|
self.min_lifetime_h = 15000 / 24 # days
|
|
@@ -3624,6 +3624,26 @@ def nbp_rv_earth(t: float, s: numpy.ndarray, stm_req: bool, sources: dict, data:
|
|
|
3624
3624
|
|
|
3625
3625
|
'RMoon' (The radius of the Moon in the units of distance)
|
|
3626
3626
|
|
|
3627
|
+
'SunGM' (The nondimensional gravitational parameter of the Sun)
|
|
3628
|
+
|
|
3629
|
+
'MercuryGM' (The nondimensional gravitational parameter of Mercury)
|
|
3630
|
+
|
|
3631
|
+
'VenusGM' (The nondimensional gravitational parameter of Venus)
|
|
3632
|
+
|
|
3633
|
+
'EarthGM' (The nondimensional gravitational parameter of the Earth)
|
|
3634
|
+
|
|
3635
|
+
'MoonGM' (The nondimensional gravitational parameter of the Moon)
|
|
3636
|
+
|
|
3637
|
+
'MarsGM' (The nondimensional gravitational parameter of Mars)
|
|
3638
|
+
|
|
3639
|
+
'JupiterGM' (The nondimensional gravitational parameter of Jupiter)
|
|
3640
|
+
|
|
3641
|
+
'SaturnGM' (The nondimensional gravitational parameter of Saturn)
|
|
3642
|
+
|
|
3643
|
+
'UranusGM' (The nondimensional gravitational parameter of Uranus)
|
|
3644
|
+
|
|
3645
|
+
'NeptuneGM' (The nondimensional gravitational parameter of Neptune)
|
|
3646
|
+
|
|
3627
3647
|
The units dictionary can be created by the kiam.prepare_units_dict() function.
|
|
3628
3648
|
|
|
3629
3649
|
The gravitational parameter in the specified units should be 1.0.
|
|
@@ -3775,6 +3795,26 @@ def nbp_rv_moon(t: float, s: numpy.ndarray, stm_req: bool, sources: dict, data:
|
|
|
3775
3795
|
|
|
3776
3796
|
'RMoon' (The radius of the Moon in the units of distance)
|
|
3777
3797
|
|
|
3798
|
+
'SunGM' (The nondimensional gravitational parameter of the Sun)
|
|
3799
|
+
|
|
3800
|
+
'MercuryGM' (The nondimensional gravitational parameter of Mercury)
|
|
3801
|
+
|
|
3802
|
+
'VenusGM' (The nondimensional gravitational parameter of Venus)
|
|
3803
|
+
|
|
3804
|
+
'EarthGM' (The nondimensional gravitational parameter of the Earth)
|
|
3805
|
+
|
|
3806
|
+
'MoonGM' (The nondimensional gravitational parameter of the Moon)
|
|
3807
|
+
|
|
3808
|
+
'MarsGM' (The nondimensional gravitational parameter of Mars)
|
|
3809
|
+
|
|
3810
|
+
'JupiterGM' (The nondimensional gravitational parameter of Jupiter)
|
|
3811
|
+
|
|
3812
|
+
'SaturnGM' (The nondimensional gravitational parameter of Saturn)
|
|
3813
|
+
|
|
3814
|
+
'UranusGM' (The nondimensional gravitational parameter of Uranus)
|
|
3815
|
+
|
|
3816
|
+
'NeptuneGM' (The nondimensional gravitational parameter of Neptune)
|
|
3817
|
+
|
|
3778
3818
|
The units dictionary can be created by the kiam.prepare_units_dict() function.
|
|
3779
3819
|
|
|
3780
3820
|
The gravitational parameter in the specified units should be 1.0.
|
|
@@ -3953,6 +3993,26 @@ def nbp_ee_earth(t: float, s: numpy.ndarray, stm_req: bool, sources: dict, data:
|
|
|
3953
3993
|
|
|
3954
3994
|
'RMoon' (The radius of the Moon in the units of distance)
|
|
3955
3995
|
|
|
3996
|
+
'SunGM' (The nondimensional gravitational parameter of the Sun)
|
|
3997
|
+
|
|
3998
|
+
'MercuryGM' (The nondimensional gravitational parameter of Mercury)
|
|
3999
|
+
|
|
4000
|
+
'VenusGM' (The nondimensional gravitational parameter of Venus)
|
|
4001
|
+
|
|
4002
|
+
'EarthGM' (The nondimensional gravitational parameter of the Earth)
|
|
4003
|
+
|
|
4004
|
+
'MoonGM' (The nondimensional gravitational parameter of the Moon)
|
|
4005
|
+
|
|
4006
|
+
'MarsGM' (The nondimensional gravitational parameter of Mars)
|
|
4007
|
+
|
|
4008
|
+
'JupiterGM' (The nondimensional gravitational parameter of Jupiter)
|
|
4009
|
+
|
|
4010
|
+
'SaturnGM' (The nondimensional gravitational parameter of Saturn)
|
|
4011
|
+
|
|
4012
|
+
'UranusGM' (The nondimensional gravitational parameter of Uranus)
|
|
4013
|
+
|
|
4014
|
+
'NeptuneGM' (The nondimensional gravitational parameter of Neptune)
|
|
4015
|
+
|
|
3956
4016
|
The units dictionary can be created by the kiam.prepare_units_dict() function.
|
|
3957
4017
|
|
|
3958
4018
|
The gravitational parameter in the specified units should be 1.0.
|
|
@@ -4130,6 +4190,26 @@ def nbp_ee_moon(t: float, s: numpy.ndarray, stm_req: bool, sources: dict, data:
|
|
|
4130
4190
|
|
|
4131
4191
|
'RMoon' (The radius of the Moon in the units of distance)
|
|
4132
4192
|
|
|
4193
|
+
'SunGM' (The nondimensional gravitational parameter of the Sun)
|
|
4194
|
+
|
|
4195
|
+
'MercuryGM' (The nondimensional gravitational parameter of Mercury)
|
|
4196
|
+
|
|
4197
|
+
'VenusGM' (The nondimensional gravitational parameter of Venus)
|
|
4198
|
+
|
|
4199
|
+
'EarthGM' (The nondimensional gravitational parameter of the Earth)
|
|
4200
|
+
|
|
4201
|
+
'MoonGM' (The nondimensional gravitational parameter of the Moon)
|
|
4202
|
+
|
|
4203
|
+
'MarsGM' (The nondimensional gravitational parameter of Mars)
|
|
4204
|
+
|
|
4205
|
+
'JupiterGM' (The nondimensional gravitational parameter of Jupiter)
|
|
4206
|
+
|
|
4207
|
+
'SaturnGM' (The nondimensional gravitational parameter of Saturn)
|
|
4208
|
+
|
|
4209
|
+
'UranusGM' (The nondimensional gravitational parameter of Uranus)
|
|
4210
|
+
|
|
4211
|
+
'NeptuneGM' (The nondimensional gravitational parameter of Neptune)
|
|
4212
|
+
|
|
4133
4213
|
The units dictionary can be created by the kiam.prepare_units_dict() function.
|
|
4134
4214
|
|
|
4135
4215
|
The gravitational parameter in the specified units should be 1.0.
|
|
@@ -4281,6 +4361,26 @@ def nbp_rv_body(body: str, t: float, s: numpy.ndarray, stm_req: bool, sources: d
|
|
|
4281
4361
|
|
|
4282
4362
|
'RMoon' (The radius of the Moon in the units of distance)
|
|
4283
4363
|
|
|
4364
|
+
'SunGM' (The nondimensional gravitational parameter of the Sun)
|
|
4365
|
+
|
|
4366
|
+
'MercuryGM' (The nondimensional gravitational parameter of Mercury)
|
|
4367
|
+
|
|
4368
|
+
'VenusGM' (The nondimensional gravitational parameter of Venus)
|
|
4369
|
+
|
|
4370
|
+
'EarthGM' (The nondimensional gravitational parameter of the Earth)
|
|
4371
|
+
|
|
4372
|
+
'MoonGM' (The nondimensional gravitational parameter of the Moon)
|
|
4373
|
+
|
|
4374
|
+
'MarsGM' (The nondimensional gravitational parameter of Mars)
|
|
4375
|
+
|
|
4376
|
+
'JupiterGM' (The nondimensional gravitational parameter of Jupiter)
|
|
4377
|
+
|
|
4378
|
+
'SaturnGM' (The nondimensional gravitational parameter of Saturn)
|
|
4379
|
+
|
|
4380
|
+
'UranusGM' (The nondimensional gravitational parameter of Uranus)
|
|
4381
|
+
|
|
4382
|
+
'NeptuneGM' (The nondimensional gravitational parameter of Neptune)
|
|
4383
|
+
|
|
4284
4384
|
The units dictionary can be created by the kiam.prepare_units_dict() function.
|
|
4285
4385
|
|
|
4286
4386
|
The gravitational parameter in the specified units should be 1.0.
|
|
@@ -4328,6 +4428,7 @@ def nbp_rv_body(body: str, t: float, s: numpy.ndarray, stm_req: bool, sources: d
|
|
|
4328
4428
|
"""
|
|
4329
4429
|
_set_nbp_parameters(stm_req, sources, data, units_data)
|
|
4330
4430
|
with _package_folder_contex():
|
|
4431
|
+
FKIAMToolbox.equationsmodule.central_body = body.capitalize()
|
|
4331
4432
|
return FKIAMToolbox.equationsmodule.knbp_rv_body(t, s)
|
|
4332
4433
|
def prepare_sources_dict() -> dict:
|
|
4333
4434
|
"""
|
|
@@ -4509,7 +4610,6 @@ def propagate_nbp(central_body: str, tspan: numpy.ndarray, x0: numpy.ndarray, so
|
|
|
4509
4610
|
-----------
|
|
4510
4611
|
`central_body`: str
|
|
4511
4612
|
|
|
4512
|
-
|
|
4513
4613
|
Name of the central body
|
|
4514
4614
|
|
|
4515
4615
|
`tspan`: numpy.ndarray, shape (n,)
|
|
@@ -670,6 +670,8 @@ class Trajectory:
|
|
|
670
670
|
|
|
671
671
|
'r' plots the distance to the origin of the coordinate system.
|
|
672
672
|
|
|
673
|
+
'm' plots the mass of the spacecraft (if self.vars == 'rvm').
|
|
674
|
+
|
|
673
675
|
2. 'a', 'e', 'inc', 'Om', 'w', 'th' if self.vars in ['oe', 'oem', 'oe_stm']
|
|
674
676
|
|
|
675
677
|
'a' plots the semi-major axis wrt time
|
|
@@ -684,6 +686,8 @@ class Trajectory:
|
|
|
684
686
|
|
|
685
687
|
'th' plots the true anomaly wrt time
|
|
686
688
|
|
|
689
|
+
'm' plots the mass of the spacecraft (if self.vars == 'oem').
|
|
690
|
+
|
|
687
691
|
3. 'h', 'ex', 'ey', 'ix', 'iy', 'L' if self.vars in ['ee', 'eem', 'ee_stm']
|
|
688
692
|
|
|
689
693
|
'h' plots h = sqrt(p/mu) wrt time
|
|
@@ -698,6 +702,8 @@ class Trajectory:
|
|
|
698
702
|
|
|
699
703
|
'L' plots L = theta + omega + Omega wrt time
|
|
700
704
|
|
|
705
|
+
'm' plots the mass of the spacecraft (if self.vars == 'eem').
|
|
706
|
+
|
|
701
707
|
`draw` : bool
|
|
702
708
|
|
|
703
709
|
If True (by default), the fig plotly object will be returned and figure will be showed.
|
|
@@ -757,6 +763,8 @@ class Trajectory:
|
|
|
757
763
|
else:
|
|
758
764
|
rlabel = 'r, nondimensional'
|
|
759
765
|
fig = kiam.plot(self.times, norm(self.states[0:3, :], axis=0), xlabel=tlabel, ylabel=rlabel)
|
|
766
|
+
elif self.vars == 'rvm' and variables == 'm':
|
|
767
|
+
fig = kiam.plot(self.times, self.states[6, :], xlabel=tlabel, ylabel='Mass, kg')
|
|
760
768
|
else:
|
|
761
769
|
raise 'Unknown variables to show.'
|
|
762
770
|
elif self.vars in ['oe', 'oem', 'oe_stm']:
|
|
@@ -785,6 +793,8 @@ class Trajectory:
|
|
|
785
793
|
elif variables == 'th':
|
|
786
794
|
ylabel = 'True anomaly, degrees'
|
|
787
795
|
fig = kiam.plot(self.times, self.states[5, :] / math.pi * 180, xlabel=tlabel, ylabel=ylabel)
|
|
796
|
+
elif self.vars == 'rvm' and variables == 'm':
|
|
797
|
+
fig = kiam.plot(self.times, self.states[6, :], xlabel=tlabel, ylabel='Mass, kg')
|
|
788
798
|
else:
|
|
789
799
|
raise 'Unknown classical orbital element. Elements: a, e, inc, Om, w, th.'
|
|
790
800
|
elif self.vars in ['ee', 'eem', 'ee_stm']:
|
|
@@ -811,6 +821,8 @@ class Trajectory:
|
|
|
811
821
|
elif variables == 'L':
|
|
812
822
|
ylabel = 'True longitude, degrees'
|
|
813
823
|
fig = kiam.plot(self.times, self.states[5, :] / math.pi * 180, xlabel=tlabel, ylabel=ylabel)
|
|
824
|
+
elif self.vars == 'rvm' and variables == 'm':
|
|
825
|
+
fig = kiam.plot(self.times, self.states[6, :], xlabel=tlabel, ylabel='Mass, kg')
|
|
814
826
|
else:
|
|
815
827
|
raise 'Unknown equinoctial orbital element. Elements: h, ex, ey, ix, iy, L.'
|
|
816
828
|
else:
|
|
Binary file
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{kiam_astro-3.0.1 → kiam_astro-3.0.2}/kiam_astro/FKIAMToolbox.cpython-39-x86_64-linux-gnu.so
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|