|
70 | 70 | }, |
71 | 71 | { |
72 | 72 | "cell_type": "code", |
73 | | - "execution_count": 2, |
| 73 | + "execution_count": null, |
74 | 74 | "id": "e336516b", |
75 | 75 | "metadata": {}, |
76 | 76 | "outputs": [], |
|
79 | 79 | "spice.load_standard_kernels()\n", |
80 | 80 | "\n", |
81 | 81 | "# Set simulation start and end epochs\n", |
82 | | - "simulation_start_epoch = DateTime(2024, 8, 28).epoch()\n", |
83 | | - "simulation_end_epoch = DateTime(2024, 9, 5).epoch()\n", |
84 | | - "observation_start_epoch_1 = DateTime(2024, 8, 30).epoch()\n", |
85 | | - "observation_end_epoch_1 = DateTime(2024, 9, 1).epoch()\n", |
86 | | - "observation_start_epoch_2 = DateTime(2024, 9, 3).epoch()\n", |
87 | | - "observation_end_epoch_2 = DateTime(2024, 9, 4).epoch()\n", |
88 | | - "\n", |
89 | | - "observation_start_epoch_3 = DateTime(2024, 8, 29).epoch()\n", |
| 82 | + "simulation_start_epoch = DateTime(2024, 8, 28).to_epoch()\n", |
| 83 | + "simulation_end_epoch = DateTime(2024, 9, 5).to_epoch()\n", |
| 84 | + "observation_start_epoch_1 = DateTime(2024, 8, 30).to_epoch()\n", |
| 85 | + "observation_end_epoch_1 = DateTime(2024, 9, 1).to_epoch()\n", |
| 86 | + "observation_start_epoch_2 = DateTime(2024, 9, 3).to_epoch()\n", |
| 87 | + "observation_end_epoch_2 = DateTime(2024, 9, 4).to_epoch()\n", |
| 88 | + "\n", |
| 89 | + "observation_start_epoch_3 = DateTime(2024, 8, 29).to_epoch()\n", |
90 | 90 | "observation_end_epoch_3 = simulation_end_epoch" |
91 | 91 | ] |
92 | 92 | }, |
|
260 | 260 | }, |
261 | 261 | { |
262 | 262 | "cell_type": "code", |
263 | | - "execution_count": 7, |
| 263 | + "execution_count": null, |
264 | 264 | "id": "12458abf", |
265 | 265 | "metadata": {}, |
266 | 266 | "outputs": [], |
267 | 267 | "source": [ |
268 | 268 | "# Retrieve the initial state of `Starlink-32101` using Two-Line-Elements (TLEs)\n", |
269 | | - "Starlink_tle = environment.Tle(\n", |
| 269 | + "Starlink_tle = environment_setup.ephemeris.sgp4(\n", |
270 | 270 | " \"1 60447U 24144Y 24239.91667824 -.00652022 00000-0 -25508-2 0 9990\",\n", |
271 | 271 | " \"2 60447 53.1498 303.6008 0000548 88.4809 23.6264 15.87779028 3478\",\n", |
272 | 272 | ")\n", |
273 | | - "Starlink_ephemeris = environment.TleEphemeris(\"Earth\", \"J2000\", Starlink_tle, False)\n", |
| 273 | + "Starlink_ephemeris = environment_setup.create_body_ephemeris(Starlink_tle, \"Starlink-32101\")\n", |
274 | 274 | "initial_state = Starlink_ephemeris.cartesian_state( simulation_start_epoch )" |
275 | 275 | ] |
276 | 276 | }, |
|
756 | 756 | ], |
757 | 757 | "metadata": { |
758 | 758 | "kernelspec": { |
759 | | - "display_name": "Python 3 (ipykernel)", |
| 759 | + "display_name": "tudat-examples", |
760 | 760 | "language": "python", |
761 | 761 | "name": "python3" |
762 | 762 | }, |
|
770 | 770 | "name": "python", |
771 | 771 | "nbconvert_exporter": "python", |
772 | 772 | "pygments_lexer": "ipython3", |
773 | | - "version": "3.11.13" |
| 773 | + "version": "3.12.11" |
774 | 774 | } |
775 | 775 | }, |
776 | 776 | "nbformat": 4, |
|
0 commit comments