Skip to content

Commit

Permalink
Minor corrections
Browse files Browse the repository at this point in the history
  • Loading branch information
DominicDirkx committed Oct 30, 2023
1 parent d1fb535 commit 8740260
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 19 deletions.
5 changes: 0 additions & 5 deletions estimation/covariance_estimated_parameters.py
Expand Up @@ -28,11 +28,6 @@
import numpy as np
from matplotlib import pyplot as plt

# Use custom compiled Tudat version
import sys
sys.path.insert(0, '/mnt/e/studio/professional/work/2023-2024 Tudat/repos/tudat-bundle/cmake-build-release-wsl/tudatpy/')


# Load required tudatpy modules
from tudatpy import constants
from tudatpy.interface import spice
Expand Down
21 changes: 8 additions & 13 deletions mission_design/earth_mars_transfer_window.ipynb
Expand Up @@ -57,14 +57,6 @@
"metadata": {},
"outputs": [],
"source": [
"# General imports\n",
"import os\n",
"import pickle\n",
"\n",
"# Use custom compiled Tudat version\n",
"import sys\n",
"sys.path.insert(0, '/mnt/e/studio/professional/work/2023-2024 Tudat/repos/tudat-bundle/cmake-build-release-wsl/tudatpy/')\n",
"\n",
"# Tudat imports\n",
"from tudatpy import constants\n",
"from tudatpy.interface import spice_interface\n",
Expand Down Expand Up @@ -164,7 +156,8 @@
"- The optimal departure-arrival date combination\n",
"- The constant time-of-flight isochrones\n",
"- And more"
]
],
"id": "99e7d88a0da10251"
},
{
"cell_type": "code",
Expand All @@ -174,7 +167,6 @@
"source": [
"[departure_epochs, arrival_epochs, ΔV] = porkchop(\n",
" bodies,\n",
" global_frame_orientation,\n",
" departure_body,\n",
" target_body,\n",
" earliest_departure_time,\n",
Expand All @@ -183,7 +175,8 @@
" latest_arrival_time,\n",
" time_resolution\n",
")"
]
],
"id": "f4d4f5b5ec813dcb"
},
{
"cell_type": "markdown",
Expand All @@ -196,7 +189,8 @@
"- Plot $\\Delta V$ (default) or C3 (specific energy), as well as choose whether to plot departure and arrival $\\Delta V$ together as the total $\\Delta V$ required for the transfer (default), or separately (in those cases in which the manoeuvre is performed in two burns, one at departure and one at arrival to the target planet).\n",
"\n",
"Let's make use of `plot_porkchop` to see all four combinations!"
]
],
"id": "abcd0ea6ba872500"
},
{
"cell_type": "code",
Expand All @@ -221,7 +215,8 @@
" save = True,\n",
" **case\n",
" )"
]
],
"id": "1c4f5e8a3da1c180"
}
],
"metadata": {
Expand Down
1 change: 0 additions & 1 deletion mission_design/earth_mars_transfer_window.py
Expand Up @@ -124,7 +124,6 @@

[departure_epochs, arrival_epochs, ΔV] = porkchop(
bodies,
global_frame_orientation,
departure_body,
target_body,
earliest_departure_time,
Expand Down

0 comments on commit 8740260

Please sign in to comment.