Skip to content

Commit

Permalink
deploy: 8d7bb83
Browse files Browse the repository at this point in the history
  • Loading branch information
bryanwweber committed Jul 5, 2024
1 parent c6348d5 commit 455c493
Show file tree
Hide file tree
Showing 11 changed files with 84 additions and 84 deletions.
4 changes: 2 additions & 2 deletions _sources/orbital-maneuvers/single-impulse-example.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ np.set_printoptions(legacy="1.25")
R_E = 6378 # km
orbit_radius = 1000 # km
mu = 398_600 # km**2/s**3
mu = 398_600 # km**3/s**2
theta = np.radians(35)
earth = Circle((0, 0), R_E, facecolor="paleturquoise", edgecolor="None")
orbit = Circle((0, 0), R_E + orbit_radius, facecolor="None", edgecolor="black")
Expand Down Expand Up @@ -130,7 +130,7 @@ Then, Eq. {eq}`eq:distance-to-apoapsis` is used to find $h$.
import numpy as np
R_E = 6378 # km
mu = 398_600 # km**2/s**3
mu = 398_600 # km**3/s**2
z_0 = 1000 # km
impact_point = np.radians(145)
Expand Down
6 changes: 3 additions & 3 deletions classical-orbital-elements/classical-orbital-elements.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions interplanetary-maneuvers/planetary-arrival-capture.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion intro/mass-force-and-newtons-law-of-gravitation.html
Original file line number Diff line number Diff line change
Expand Up @@ -499,7 +499,7 @@ <h1>Mass, Force, and Newton’s Law of Gravitation</h1>
<h1>Mass, Force, and Newton’s Law of Gravitation<a class="headerlink" href="#mass-force-and-newton-s-law-of-gravitation" title="Link to this heading">#</a></h1>
<div class="cell tag_remove-input docutils container">
<div class="cell_output docutils container">
<div class="output stderr highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>/tmp/ipykernel_2187/14474124.py:8: DeprecationWarning: This function will be removed in future versions of pint.
<div class="output stderr highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>/tmp/ipykernel_2082/14474124.py:8: DeprecationWarning: This function will be removed in future versions of pint.
Use ureg.formatter.default_format
ureg.default_format = &quot;~H&quot;
</pre></div>
Expand Down
2 changes: 1 addition & 1 deletion orbital-maneuvers/nonimpulsive-maneuver-example.html
Original file line number Diff line number Diff line change
Expand Up @@ -712,7 +712,7 @@ <h2>Solution<a class="headerlink" href="#solution" title="Link to this heading">
</div>
</div>
<div class="cell_output docutils container">
<div class="output text_plain highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>[&lt;matplotlib.lines.Line2D at 0x7f3092812570&gt;]
<div class="output text_plain highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>[&lt;matplotlib.lines.Line2D at 0x7f197ec0f8f0&gt;]
</pre></div>
</div>
<img alt="../_images/d317416bb17797aebd9fb4121a9a4d7e528f5f43070d9215abbcf788882ddfaa.png" src="../_images/d317416bb17797aebd9fb4121a9a4d7e528f5f43070d9215abbcf788882ddfaa.png" />
Expand Down
8 changes: 4 additions & 4 deletions orbital-maneuvers/plane-change-maneuvers.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion orbital-maneuvers/single-impulse-example.html
Original file line number Diff line number Diff line change
Expand Up @@ -539,7 +539,7 @@ <h1>Single Impulse Orbital Change<a class="headerlink" href="#single-impulse-orb
<div class="highlight-ipython3 notranslate"><div class="highlight"><pre><span></span><span class="kn">import</span> <span class="nn">numpy</span> <span class="k">as</span> <span class="nn">np</span>

<span class="n">R_E</span> <span class="o">=</span> <span class="mi">6378</span> <span class="c1"># km</span>
<span class="n">mu</span> <span class="o">=</span> <span class="mi">398_600</span> <span class="c1"># km**2/s**3</span>
<span class="n">mu</span> <span class="o">=</span> <span class="mi">398_600</span> <span class="c1"># km**3/s**2</span>

<span class="n">z_0</span> <span class="o">=</span> <span class="mi">1000</span> <span class="c1"># km</span>
<span class="n">impact_point</span> <span class="o">=</span> <span class="n">np</span><span class="o">.</span><span class="n">radians</span><span class="p">(</span><span class="mi">145</span><span class="p">)</span>
Expand Down
2 changes: 1 addition & 1 deletion searchindex.js

Large diffs are not rendered by default.

46 changes: 23 additions & 23 deletions the-n-body-problem/lagrange-points.html
Original file line number Diff line number Diff line change
Expand Up @@ -803,42 +803,42 @@ <h2>Collinear Lagrange Points<a class="headerlink" href="#collinear-lagrange-poi
</style>

<div class="animation">
<img id="_anim_img4eb5741a2201419b9023bf5a1a582479">
<img id="_anim_imgaf6ca338807b48878922806819e87505">
<div class="anim-controls">
<input id="_anim_slider4eb5741a2201419b9023bf5a1a582479" type="range" class="anim-slider"
<input id="_anim_slideraf6ca338807b48878922806819e87505" type="range" class="anim-slider"
name="points" min="0" max="1" step="1" value="0"
oninput="anim4eb5741a2201419b9023bf5a1a582479.set_frame(parseInt(this.value));">
oninput="animaf6ca338807b48878922806819e87505.set_frame(parseInt(this.value));">
<div class="anim-buttons">
<button title="Decrease speed" aria-label="Decrease speed" onclick="anim4eb5741a2201419b9023bf5a1a582479.slower()">
<button title="Decrease speed" aria-label="Decrease speed" onclick="animaf6ca338807b48878922806819e87505.slower()">
<i class="fa fa-minus"></i></button>
<button title="First frame" aria-label="First frame" onclick="anim4eb5741a2201419b9023bf5a1a582479.first_frame()">
<button title="First frame" aria-label="First frame" onclick="animaf6ca338807b48878922806819e87505.first_frame()">
<i class="fa fa-fast-backward"></i></button>
<button title="Previous frame" aria-label="Previous frame" onclick="anim4eb5741a2201419b9023bf5a1a582479.previous_frame()">
<button title="Previous frame" aria-label="Previous frame" onclick="animaf6ca338807b48878922806819e87505.previous_frame()">
<i class="fa fa-step-backward"></i></button>
<button title="Play backwards" aria-label="Play backwards" onclick="anim4eb5741a2201419b9023bf5a1a582479.reverse_animation()">
<button title="Play backwards" aria-label="Play backwards" onclick="animaf6ca338807b48878922806819e87505.reverse_animation()">
<i class="fa fa-play fa-flip-horizontal"></i></button>
<button title="Pause" aria-label="Pause" onclick="anim4eb5741a2201419b9023bf5a1a582479.pause_animation()">
<button title="Pause" aria-label="Pause" onclick="animaf6ca338807b48878922806819e87505.pause_animation()">
<i class="fa fa-pause"></i></button>
<button title="Play" aria-label="Play" onclick="anim4eb5741a2201419b9023bf5a1a582479.play_animation()">
<button title="Play" aria-label="Play" onclick="animaf6ca338807b48878922806819e87505.play_animation()">
<i class="fa fa-play"></i></button>
<button title="Next frame" aria-label="Next frame" onclick="anim4eb5741a2201419b9023bf5a1a582479.next_frame()">
<button title="Next frame" aria-label="Next frame" onclick="animaf6ca338807b48878922806819e87505.next_frame()">
<i class="fa fa-step-forward"></i></button>
<button title="Last frame" aria-label="Last frame" onclick="anim4eb5741a2201419b9023bf5a1a582479.last_frame()">
<button title="Last frame" aria-label="Last frame" onclick="animaf6ca338807b48878922806819e87505.last_frame()">
<i class="fa fa-fast-forward"></i></button>
<button title="Increase speed" aria-label="Increase speed" onclick="anim4eb5741a2201419b9023bf5a1a582479.faster()">
<button title="Increase speed" aria-label="Increase speed" onclick="animaf6ca338807b48878922806819e87505.faster()">
<i class="fa fa-plus"></i></button>
</div>
<form title="Repetition mode" aria-label="Repetition mode" action="#n" name="_anim_loop_select4eb5741a2201419b9023bf5a1a582479"
<form title="Repetition mode" aria-label="Repetition mode" action="#n" name="_anim_loop_selectaf6ca338807b48878922806819e87505"
class="anim-state">
<input type="radio" name="state" value="once" id="_anim_radio1_4eb5741a2201419b9023bf5a1a582479"
<input type="radio" name="state" value="once" id="_anim_radio1_af6ca338807b48878922806819e87505"
>
<label for="_anim_radio1_4eb5741a2201419b9023bf5a1a582479">Once</label>
<input type="radio" name="state" value="loop" id="_anim_radio2_4eb5741a2201419b9023bf5a1a582479"
<label for="_anim_radio1_af6ca338807b48878922806819e87505">Once</label>
<input type="radio" name="state" value="loop" id="_anim_radio2_af6ca338807b48878922806819e87505"
checked>
<label for="_anim_radio2_4eb5741a2201419b9023bf5a1a582479">Loop</label>
<input type="radio" name="state" value="reflect" id="_anim_radio3_4eb5741a2201419b9023bf5a1a582479"
<label for="_anim_radio2_af6ca338807b48878922806819e87505">Loop</label>
<input type="radio" name="state" value="reflect" id="_anim_radio3_af6ca338807b48878922806819e87505"
>
<label for="_anim_radio3_4eb5741a2201419b9023bf5a1a582479">Reflect</label>
<label for="_anim_radio3_af6ca338807b48878922806819e87505">Reflect</label>
</form>
</div>
</div>
Expand All @@ -848,9 +848,9 @@ <h2>Collinear Lagrange Points<a class="headerlink" href="#collinear-lagrange-poi
/* Instantiate the Animation class. */
/* The IDs given should match those used in the template above. */
(function() {
var img_id = "_anim_img4eb5741a2201419b9023bf5a1a582479";
var slider_id = "_anim_slider4eb5741a2201419b9023bf5a1a582479";
var loop_select_id = "_anim_loop_select4eb5741a2201419b9023bf5a1a582479";
var img_id = "_anim_imgaf6ca338807b48878922806819e87505";
var slider_id = "_anim_slideraf6ca338807b48878922806819e87505";
var loop_select_id = "_anim_loop_selectaf6ca338807b48878922806819e87505";
var frames = new Array(100);

frames[0] = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAABLAAAAOECAYAAACxbcj6AAAAOXRFWHRTb2Z0d2FyZQBNYXRwbG90\
Expand Down Expand Up @@ -140854,7 +140854,7 @@ <h2>Collinear Lagrange Points<a class="headerlink" href="#collinear-lagrange-poi
/* set a timeout to make sure all the above elements are created before
the object is initialized. */
setTimeout(function() {
anim4eb5741a2201419b9023bf5a1a582479 = new Animation(frames, img_id, slider_id, 200.0,
animaf6ca338807b48878922806819e87505 = new Animation(frames, img_id, slider_id, 200.0,
loop_select_id);
}, 0);
})()
Expand Down
Loading

0 comments on commit 455c493

Please sign in to comment.