Skip to content

Commit bbc6820

Browse files
committed
deploy: 8faa13e
1 parent 10e6c84 commit bbc6820

File tree

137 files changed

+157
-157
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

137 files changed

+157
-157
lines changed

tutorials/1_SpectroscopicTraceTutorial.html

Lines changed: 31 additions & 31 deletions
Large diffs are not rendered by default.

tutorials/1_SpectroscopicTraceTutorial.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@
7474
"import matplotlib.pyplot as plt\n",
7575
"\n",
7676
"plt.rcParams[\"image.origin\"] = \"lower\"\n",
77-
"plt.style.use(\"dark_background\") # Optional!"
77+
"# plt.style.use(\"dark_background\") # Optional!"
7878
]
7979
},
8080
{

tutorials/2_WavelengthCalibration.html

Lines changed: 37 additions & 37 deletions
Large diffs are not rendered by default.

tutorials/2_WavelengthCalibration.ipynb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -48,9 +48,9 @@
4848
"plt.rcParams[\"image.origin\"] = (\n",
4949
" \"lower\" # we want to show images, not matrices, so we set the origin to the lower-left\n",
5050
")\n",
51-
"plt.style.use(\n",
52-
" \"dark_background\"\n",
53-
") # Optional configuration: if run, this will look nice on dark background notebooks"
51+
"# plt.style.use(\n",
52+
"# \"dark_background\"\n",
53+
"# ) # Optional configuration: if run, this will look nice on dark background notebooks"
5454
]
5555
},
5656
{

tutorials/3_Trace_Extract_Wavelength-CalibrateSpectrum.html

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -501,7 +501,7 @@ <h2>Extract the science spectrum<a class="headerlink" href="#extract-the-science
501501
<span class="kn">import</span><span class="w"> </span><span class="nn">numpy</span><span class="w"> </span><span class="k">as</span><span class="w"> </span><span class="nn">np</span>
502502
<span class="kn">import</span><span class="w"> </span><span class="nn">matplotlib.pyplot</span><span class="w"> </span><span class="k">as</span><span class="w"> </span><span class="nn">plt</span>
503503

504-
<span class="n">plt</span><span class="o">.</span><span class="n">style</span><span class="o">.</span><span class="n">use</span><span class="p">(</span><span class="s2">&quot;dark_background&quot;</span><span class="p">)</span>
504+
<span class="c1"># plt.style.use(&quot;dark_background&quot;)</span>
505505
</pre></div>
506506
</div>
507507
</div>
@@ -518,7 +518,7 @@ <h2>Extract the science spectrum<a class="headerlink" href="#extract-the-science
518518
</div>
519519
</div>
520520
<div class="cell_output docutils container">
521-
<div class="output text_plain highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>&lt;astropy.visualization.units.quantity_support.&lt;locals&gt;.MplQuantityConverter at 0x7f0a2ecd3ad0&gt;
521+
<div class="output text_plain highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>&lt;astropy.visualization.units.quantity_support.&lt;locals&gt;.MplQuantityConverter at 0x7f198ae07740&gt;
522522
</pre></div>
523523
</div>
524524
</div>
@@ -608,10 +608,10 @@ <h2>Extract the science spectrum<a class="headerlink" href="#extract-the-science
608608
</div>
609609
</div>
610610
<div class="cell_output docutils container">
611-
<div class="output text_plain highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>[&lt;matplotlib.lines.Line2D at 0x7f0a2eb10890&gt;]
611+
<div class="output text_plain highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>[&lt;matplotlib.lines.Line2D at 0x7f198ae7c2f0&gt;]
612612
</pre></div>
613613
</div>
614-
<img alt="_images/1ac185efd3ede81e3d41b5e2c940f9b8ff22883ba025eae76c9814dcc8380968.png" src="_images/1ac185efd3ede81e3d41b5e2c940f9b8ff22883ba025eae76c9814dcc8380968.png" />
614+
<img alt="_images/f5856af0055098758a823d4a1fbc0772f9825558f198a8dc16c1f3cbc89a1d40.png" src="_images/f5856af0055098758a823d4a1fbc0772f9825558f198a8dc16c1f3cbc89a1d40.png" />
615615
</div>
616616
</div>
617617
</section>
@@ -631,7 +631,7 @@ <h1>Analysis<a class="headerlink" href="#analysis" title="Link to this heading">
631631
<div class="output text_plain highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>(np.float64(470.0), np.float64(510.0), np.float64(140.0), np.float64(190.0))
632632
</pre></div>
633633
</div>
634-
<img alt="_images/6825b0ca3ce17b3046ce9e511737f3ae6ecc484b76b05c93036dbbb5a32e2c1f.png" src="_images/6825b0ca3ce17b3046ce9e511737f3ae6ecc484b76b05c93036dbbb5a32e2c1f.png" />
634+
<img alt="_images/9394d129dec1ed20444b0db8a41fa23ae32d8a5024c22a56dc21ab0d20367140.png" src="_images/9394d129dec1ed20444b0db8a41fa23ae32d8a5024c22a56dc21ab0d20367140.png" />
635635
</div>
636636
</div>
637637
<p>We can use astropy models to construct an absorption line model, consisting of a continuum level and a negative Gaussian to represent the absorption feature</p>
@@ -657,7 +657,7 @@ <h1>Analysis<a class="headerlink" href="#analysis" title="Link to this heading">
657657
<div class="output text_plain highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>(np.float64(470.0), np.float64(510.0), np.float64(140.0), np.float64(190.0))
658658
</pre></div>
659659
</div>
660-
<img alt="_images/1cdcd591a894192517b7aea604f77916b281ca3b4ba7e067ec39bc8016de78fe.png" src="_images/1cdcd591a894192517b7aea604f77916b281ca3b4ba7e067ec39bc8016de78fe.png" />
660+
<img alt="_images/18341fc0fd1472c6f5b43f4c4b752955523f2205d72adf7d5a017e775da49b79.png" src="_images/18341fc0fd1472c6f5b43f4c4b752955523f2205d72adf7d5a017e775da49b79.png" />
661661
</div>
662662
</div>
663663
<p>The Levenberg-Marquardt Least Squares fitter can be used to find the optimal fit to our data given the starting guess.</p>
@@ -684,7 +684,7 @@ <h1>Analysis<a class="headerlink" href="#analysis" title="Link to this heading">
684684
<div class="output text_plain highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>(np.float64(470.0), np.float64(510.0), np.float64(140.0), np.float64(190.0))
685685
</pre></div>
686686
</div>
687-
<img alt="_images/69df4cbf0eb1ed6b5b048cd57b7c9450b4f78909617d53f435737b5852129a4a.png" src="_images/69df4cbf0eb1ed6b5b048cd57b7c9450b4f78909617d53f435737b5852129a4a.png" />
687+
<img alt="_images/75aa8f6095d241b7120128bbe465c8503fcc8b1d6be5e737502edb10d53f91b9.png" src="_images/75aa8f6095d241b7120128bbe465c8503fcc8b1d6be5e737502edb10d53f91b9.png" />
688688
</div>
689689
</div>
690690
<p>We can now separate out the two components, the continuum and the absorption line model:</p>
@@ -708,7 +708,7 @@ <h1>Analysis<a class="headerlink" href="#analysis" title="Link to this heading">
708708
<div class="output text_plain highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>(np.float64(470.0), np.float64(510.0), np.float64(140.0), np.float64(190.0))
709709
</pre></div>
710710
</div>
711-
<img alt="_images/e96dcc6c2e738fd3ce788ae58311b04f62c11658d2d25c1dd18908b232844e28.png" src="_images/e96dcc6c2e738fd3ce788ae58311b04f62c11658d2d25c1dd18908b232844e28.png" />
711+
<img alt="_images/376ee09560fddbc6739a59d03d94a1c7770c82aa400df03b84517e93d010e938.png" src="_images/376ee09560fddbc6739a59d03d94a1c7770c82aa400df03b84517e93d010e938.png" />
712712
</div>
713713
</div>
714714
<p>The <a class="reference external" href="https://en.wikipedia.org/wiki/Equivalent_width">Equivalent Width</a> of a spectral absorption line is defined to be the width of a feature that has the same integral as the absorption line, but goes all the way from the continuum level to zero.</p>

tutorials/3_Trace_Extract_Wavelength-CalibrateSpectrum.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@
4242
"import numpy as np\n",
4343
"import matplotlib.pyplot as plt\n",
4444
"\n",
45-
"plt.style.use(\"dark_background\")"
45+
"# plt.style.use(\"dark_background\")"
4646
]
4747
},
4848
{
131 KB

0 commit comments

Comments
 (0)