Skip to content

Commit

Permalink
deploy: b702c11
Browse files Browse the repository at this point in the history
  • Loading branch information
mwcraig committed Jan 2, 2024
1 parent f8fe6eb commit e49251b
Show file tree
Hide file tree
Showing 14 changed files with 64 additions and 67 deletions.
Binary file modified v/dev/_images/03-01-Dark-current-The-ideal-case_13_0.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion v/dev/notebooks/01-06-Image-combination.html
Original file line number Diff line number Diff line change
Expand Up @@ -770,7 +770,7 @@ <h2><span class="section-number">1.5.2. </span>Combination method: average or me
</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.legend.Legend at 0x7f4c79475c50&gt;
<div class="output text_plain highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>&lt;matplotlib.legend.Legend at 0x7f0f89c99950&gt;
</pre></div>
</div>
<img alt="../_images/01-06-Image-combination_8_1.png" src="../_images/01-06-Image-combination_8_1.png" />
Expand Down
60 changes: 30 additions & 30 deletions v/dev/notebooks/01-11-reading-images.html
Original file line number Diff line number Diff line change
Expand Up @@ -849,19 +849,19 @@ <h2><span class="section-number">1.8.3. </span>Option 1: Reading a single image
</div>
</div>
<div class="cell_output docutils container">
<div class="output text_plain highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>array([[ 6.75334563e-01, 1.80255429e+00, -7.44755016e-01, ...,
-1.90789263e+00, 9.71765773e-01, -6.89629119e-02],
[-7.76173303e-01, -5.72758608e-01, -6.94255576e-01, ...,
-5.02344597e-01, -2.15462714e+00, -9.08461091e-01],
[ 5.50427759e-02, -3.64131655e-01, -1.96986025e+00, ...,
9.81317769e-01, 7.53230603e-04, 1.24269459e+00],
<div class="output text_plain highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>array([[ 0.01668266, -0.70609288, 0.67918964, ..., -0.06607633,
0.98023309, 0.51116543],
[ 0.29609534, -0.27951437, 1.02348836, ..., 1.19791074,
-0.4905331 , -0.6675231 ],
[ 0.09198004, -0.17116174, 1.19732619, ..., 1.48648072,
1.69603543, 0.17444575],
...,
[-2.71814883e-01, -3.61282473e-01, 9.77849077e-01, ...,
-6.61203991e-01, 1.37948017e+00, 9.97365661e-01],
[-1.00917933e+00, -1.92247883e-01, 1.45718375e+00, ...,
1.30494676e+00, 7.39402801e-01, 9.33621743e-01],
[-7.73867581e-02, 3.41773360e-02, -5.97549990e-01, ...,
9.83753766e-01, -5.94099979e-01, -6.78987009e-01]], dtype=&#39;&gt;f8&#39;)
[ 1.76371055, 2.08223238, 1.87231555, ..., -0.15852839,
-0.36921956, -0.02324597],
[-0.41214442, 1.40661966, 0.17629245, ..., 0.11863918,
0.36762486, -0.27952456],
[-0.78586751, -0.33560379, -0.48624872, ..., 0.90300221,
-0.35192871, 0.32434506]], dtype=&#39;&gt;f8&#39;)
</pre></div>
</div>
</div>
Expand Down Expand Up @@ -911,19 +911,19 @@ <h2><span class="section-number">1.8.4. </span>Option 2: Use <code class="docut
</div>
</div>
<div class="cell_output docutils container">
<div class="output text_plain highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>array([[ 6.75334563e-01, 1.80255429e+00, -7.44755016e-01, ...,
-1.90789263e+00, 9.71765773e-01, -6.89629119e-02],
[-7.76173303e-01, -5.72758608e-01, -6.94255576e-01, ...,
-5.02344597e-01, -2.15462714e+00, -9.08461091e-01],
[ 5.50427759e-02, -3.64131655e-01, -1.96986025e+00, ...,
9.81317769e-01, 7.53230603e-04, 1.24269459e+00],
<div class="output text_plain highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>array([[ 0.01668266, -0.70609288, 0.67918964, ..., -0.06607633,
0.98023309, 0.51116543],
[ 0.29609534, -0.27951437, 1.02348836, ..., 1.19791074,
-0.4905331 , -0.6675231 ],
[ 0.09198004, -0.17116174, 1.19732619, ..., 1.48648072,
1.69603543, 0.17444575],
...,
[-2.71814883e-01, -3.61282473e-01, 9.77849077e-01, ...,
-6.61203991e-01, 1.37948017e+00, 9.97365661e-01],
[-1.00917933e+00, -1.92247883e-01, 1.45718375e+00, ...,
1.30494676e+00, 7.39402801e-01, 9.33621743e-01],
[-7.73867581e-02, 3.41773360e-02, -5.97549990e-01, ...,
9.83753766e-01, -5.94099979e-01, -6.78987009e-01]], dtype=&#39;&gt;f8&#39;)
[ 1.76371055, 2.08223238, 1.87231555, ..., -0.15852839,
-0.36921956, -0.02324597],
[-0.41214442, 1.40661966, 0.17629245, ..., 0.11863918,
0.36762486, -0.27952456],
[-0.78586751, -0.33560379, -0.48624872, ..., 0.90300221,
-0.35192871, 0.32434506]], dtype=&#39;&gt;f8&#39;)
</pre></div>
</div>
</div>
Expand Down Expand Up @@ -960,7 +960,7 @@ <h3><span class="section-number">1.8.5.1. </span>Summary of directory contents<a
</div>
<div class="cell_output docutils container">
<div class="output text_html"><div><i>Table masked=True length=28</i>
<table id="table140673378414096" class="table-striped table-bordered table-condensed">
<table id="table140643684183632" class="table-striped table-bordered table-condensed">
<thead><tr><th>file</th><th>simple</th><th>bitpix</th><th>naxis</th><th>naxis1</th><th>naxis2</th><th>imagetyp</th><th>exposure</th><th>bunit</th><th>filter</th><th>object</th></tr></thead>
<thead><tr><th>str13</th><th>bool</th><th>int64</th><th>int64</th><th>int64</th><th>int64</th><th>str5</th><th>float64</th><th>str3</th><th>object</th><th>object</th></tr></thead>
<tr><td>img-0000.fits</td><td>True</td><td>-64</td><td>2</td><td>200</td><td>300</td><td>BIAS</td><td>0.0</td><td>adu</td><td>--</td><td>--</td></tr>
Expand Down Expand Up @@ -1019,11 +1019,11 @@ <h3><span class="section-number">1.8.5.2. </span>Filtering and iterating over im
</div>
</div>
<div class="cell_output docutils container">
<div class="output stream highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>In file img-0018.fits the exposure is: 30.0 with standard deviation 1.0068932088112246
In file img-0020.fits the exposure is: 30.0 with standard deviation 0.9984079213831708
In file img-0022.fits the exposure is: 30.0 with standard deviation 1.0043320552972563
In file img-0024.fits the exposure is: 30.0 with standard deviation 0.9984259647549402
In file img-0026.fits the exposure is: 30.0 with standard deviation 0.9997791273274078
<div class="output stream highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>In file img-0018.fits the exposure is: 30.0 with standard deviation 1.0000553224577795
In file img-0020.fits the exposure is: 30.0 with standard deviation 1.0012116633755577
In file img-0022.fits the exposure is: 30.0 with standard deviation 0.9943312787770793
In file img-0024.fits the exposure is: 30.0 with standard deviation 1.002127430146373
In file img-0026.fits the exposure is: 30.0 with standard deviation 0.9991862542680355
</pre></div>
</div>
</div>
Expand Down
12 changes: 6 additions & 6 deletions v/dev/notebooks/02-02-Calibrating-bias-images.html
Original file line number Diff line number Diff line change
Expand Up @@ -787,7 +787,7 @@ <h3><span class="section-number">2.2.2.2. </span>Make an image file collection f
</div>
<div class="cell_output docutils container">
<div class="output text_html"><div><i>Table length=14</i>
<table id="table140312333536016" class="table-striped table-bordered table-condensed">
<table id="table139973492567248" class="table-striped table-bordered table-condensed">
<thead><tr><th>file</th><th>imagetyp</th><th>filter</th><th>exptime</th><th>naxis1</th><th>naxis2</th></tr></thead>
<thead><tr><th>str14</th><th>str9</th><th>str2</th><th>float64</th><th>int64</th><th>int64</th></tr></thead>
<tr><td>ccd.001.0.fits</td><td>BIAS</td><td>i&apos;</td><td>0.0</td><td>2080</td><td>4128</td></tr>
Expand Down Expand Up @@ -815,7 +815,7 @@ <h3><span class="section-number">2.2.2.2. </span>Make an image file collection f
</div>
<div class="cell_output docutils container">
<div class="output text_html"><div><i>Table length=10</i>
<table id="table140312316830672" class="table-striped table-bordered table-condensed">
<table id="table139973483610960" class="table-striped table-bordered table-condensed">
<thead><tr><th>file</th><th>imagetyp</th><th>exptime</th></tr></thead>
<thead><tr><th>str14</th><th>str4</th><th>float64</th></tr></thead>
<tr><td>ccd.002.0.fits</td><td>BIAS</td><td>0.0</td></tr>
Expand Down Expand Up @@ -860,7 +860,7 @@ <h3><span class="section-number">2.2.2.3. </span>Determine overscan region for t
</div>
<div class="cell_output docutils container">
<div class="output text_html"><i>Row index=0</i>
<table id="table140312306618320">
<table id="table139973480632016">
<thead><tr><th>file</th><th>imagetyp</th><th>biassec</th><th>ccdsec</th><th>datasec</th></tr></thead>
<thead><tr><th>str14</th><th>str9</th><th>str18</th><th>str15</th><th>str15</th></tr></thead>
<tr><td>ccd.001.0.fits</td><td>BIAS</td><td>[2049:2080,1:4127]</td><td>[1:2048,1:4128]</td><td>[1:2048,1:4128]</td></tr>
Expand Down Expand Up @@ -1016,7 +1016,7 @@ <h3><span class="section-number">2.2.2.7. </span>Processing the folder of bias i
</div>
<div class="cell_output docutils container">
<div class="output text_html"><div><i>Table length=6</i>
<table id="table140312304105552" class="table-striped table-bordered table-condensed">
<table id="table139973480479312" class="table-striped table-bordered table-condensed">
<thead><tr><th>file</th><th>imagetyp</th><th>naxis1</th><th>naxis2</th></tr></thead>
<thead><tr><th>str14</th><th>str4</th><th>int64</th><th>int64</th></tr></thead>
<tr><td>ccd.001.0.fits</td><td>BIAS</td><td>2048</td><td>4128</td></tr>
Expand Down Expand Up @@ -1055,7 +1055,7 @@ <h3><span class="section-number">2.2.3.1. </span>Decide where to put your calibr
</div>
<div class="cell_output docutils container">
<div class="output text_html"><div><i>Table length=32</i>
<table id="table140313741049168" class="table-striped table-bordered table-condensed">
<table id="table139973478364432" class="table-striped table-bordered table-condensed">
<thead><tr><th>file</th><th>imagetyp</th><th>filter</th><th>exptime</th><th>naxis1</th><th>naxis2</th></tr></thead>
<thead><tr><th>str31</th><th>str5</th><th>object</th><th>float64</th><th>int64</th><th>int64</th></tr></thead>
<tr><td>AutoFlat-PANoRot-r-Bin1-001.fit</td><td>FLAT</td><td>r</td><td>1.0</td><td>4109</td><td>4096</td></tr>
Expand Down Expand Up @@ -1098,7 +1098,7 @@ <h3><span class="section-number">2.2.3.2. </span>Determine overscan region for t
</div>
<div class="cell_output docutils container">
<div class="output text_html"><i>Row index=0</i>
<table id="table140312303216912">
<table id="table139973478040656">
<thead><tr><th>file</th><th>imagetyp</th><th>biassec</th><th>trimsec</th></tr></thead>
<thead><tr><th>str31</th><th>str5</th><th>str11</th><th>str11</th></tr></thead>
<tr><td>AutoFlat-PANoRot-r-Bin1-001.fit</td><td>FLAT</td><td>[4096:4109]</td><td>[1:4096, :]</td></tr>
Expand Down
7 changes: 2 additions & 5 deletions v/dev/notebooks/02-04-Combine-bias-images-to-make-master.html
Original file line number Diff line number Diff line change
Expand Up @@ -790,17 +790,14 @@ <h3><span class="section-number">2.3.2.1. </span>Result for Example 1<a class="h
</div>
</div>
<div class="cell_output docutils container">
<div class="output stderr highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>WARNING
</pre></div>
</div>
<div class="output stderr highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>: FITSFixedWarning: &#39;datfix&#39; made the change &#39;Set MJD-OBS to 57402.000000 from DATE-OBS&#39;. [astropy.wcs.wcs]
<div class="output stderr highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>WARNING: FITSFixedWarning: &#39;datfix&#39; made the change &#39;Set MJD-OBS to 57402.000000 from DATE-OBS&#39;. [astropy.wcs.wcs]
WARNING:astropy:FITSFixedWarning: &#39;datfix&#39; made the change &#39;Set MJD-OBS to 57402.000000 from DATE-OBS&#39;.
</pre></div>
</div>
<div class="output text_plain highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>Text(0.5, 1.0, &#39;6 bias images combined&#39;)
</pre></div>
</div>
<img alt="../_images/02-04-Combine-bias-images-to-make-master_11_3.png" src="../_images/02-04-Combine-bias-images-to-make-master_11_3.png" />
<img alt="../_images/02-04-Combine-bias-images-to-make-master_11_2.png" src="../_images/02-04-Combine-bias-images-to-make-master_11_2.png" />
</div>
</div>
</section>
Expand Down
12 changes: 6 additions & 6 deletions v/dev/notebooks/03-05-Calibrate-dark-images.html
Original file line number Diff line number Diff line change
Expand Up @@ -722,7 +722,7 @@ <h4><span class="section-number">3.4.1.1.1. </span>Raw images, everything except
</div>
<div class="cell_output docutils container">
<div class="output text_html"><div><i>Table length=14</i>
<table id="table140439785658000" class="table-striped table-bordered table-condensed">
<table id="table139878844151568" class="table-striped table-bordered table-condensed">
<thead><tr><th>file</th><th>imagetyp</th><th>exptime</th><th>filter</th></tr></thead>
<thead><tr><th>str14</th><th>str9</th><th>float64</th><th>str2</th></tr></thead>
<tr><td>ccd.001.0.fits</td><td>BIAS</td><td>0.0</td><td>i&apos;</td></tr>
Expand Down Expand Up @@ -752,7 +752,7 @@ <h4><span class="section-number">3.4.1.1.2. </span>Raw dark frames<a class="head
</div>
<div class="cell_output docutils container">
<div class="output text_html"><div><i>Table length=10</i>
<table id="table140441187237008" class="table-striped table-bordered table-condensed">
<table id="table139879012439504" class="table-striped table-bordered table-condensed">
<thead><tr><th>file</th><th>imagetyp</th><th>exptime</th><th>filter</th></tr></thead>
<thead><tr><th>str14</th><th>str4</th><th>float64</th><th>str2</th></tr></thead>
<tr><td>ccd.002.0.fits</td><td>BIAS</td><td>0.0</td><td>r&apos;</td></tr>
Expand Down Expand Up @@ -834,7 +834,7 @@ <h4><span class="section-number">3.4.1.3.1. </span>Reduced images (so far)<a cla
</div>
<div class="cell_output docutils container">
<div class="output text_html"><div><i>Table length=16</i>
<table id="table140439809121232" class="table-striped table-bordered table-condensed">
<table id="table139878833290064" class="table-striped table-bordered table-condensed">
<thead><tr><th>file</th><th>imagetyp</th><th>exptime</th><th>filter</th><th>combined</th></tr></thead>
<thead><tr><th>str17</th><th>str4</th><th>float64</th><th>str2</th><th>object</th></tr></thead>
<tr><td>ccd.001.0.fits</td><td>BIAS</td><td>0.0</td><td>i&apos;</td><td>--</td></tr>
Expand Down Expand Up @@ -881,7 +881,7 @@ <h2><span class="section-number">3.4.2. </span>Example 2: Overscan not subtracte
</div>
<div class="cell_output docutils container">
<div class="output text_html"><i>Table length=32</i>
<table id="table140439773057360-902466" class="table-striped table-bordered table-condensed">
<table id="table139878843867664-920656" class="table-striped table-bordered table-condensed">
<thead><tr><th>idx</th><th>file</th><th>imagetyp</th><th>exposure</th></tr></thead>
<tr><td>0</td><td>AutoFlat-PANoRot-r-Bin1-001.fit</td><td>FLAT</td><td>1.0</td></tr>
<tr><td>1</td><td>AutoFlat-PANoRot-r-Bin1-002.fit</td><td>FLAT</td><td>1.0</td></tr>
Expand Down Expand Up @@ -938,14 +938,14 @@ <h2><span class="section-number">3.4.2. </span>Example 2: Overscan not subtracte
datatables: 'https://cdn.datatables.net/1.10.12/js/jquery.dataTables.min'
}});
require(["datatables"], function(){
console.log("$('#table140439773057360-902466').dataTable()");
console.log("$('#table139878843867664-920656').dataTable()");

jQuery.extend( jQuery.fn.dataTableExt.oSort, {
"optionalnum-asc": astropy_sort_num,
"optionalnum-desc": function (a,b) { return -astropy_sort_num(a, b); }
});

$('#table140439773057360-902466').dataTable({
$('#table139878843867664-920656').dataTable({
order: [],
pageLength: 50,
lengthMenu: [[10, 25, 50, 100, 500, 1000, -1], [10, 25, 50, 100, 500, 1000, 'All']],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -709,7 +709,7 @@ <h2><span class="section-number">5.1.2. </span>Example 1<a class="headerlink" hr
</div>
<div class="cell_output docutils container">
<div class="output text_html"><div><i>Table length=2</i>
<table id="table140320900228304" class="table-striped table-bordered table-condensed">
<table id="table140007632215056" class="table-striped table-bordered table-condensed">
<thead><tr><th>date-obs</th><th>file</th><th>object</th><th>filter</th><th>exptime</th></tr></thead>
<thead><tr><th>str10</th><th>str14</th><th>str7</th><th>str2</th><th>float64</th></tr></thead>
<tr><td>2016-01-16</td><td>ccd.037.0.fits</td><td>vv124_1</td><td>g&apos;</td><td>300.062</td></tr>
Expand All @@ -726,7 +726,7 @@ <h2><span class="section-number">5.1.2. </span>Example 1<a class="headerlink" hr
</div>
<div class="cell_output docutils container">
<div class="output text_html"><div><i>Table length=6</i>
<table id="table140320900419984" class="table-striped table-bordered table-condensed">
<table id="table140007632385936" class="table-striped table-bordered table-condensed">
<thead><tr><th>date-obs</th><th>file</th><th>imagetyp</th><th>object</th><th>filter</th><th>exptime</th></tr></thead>
<thead><tr><th>str10</th><th>str27</th><th>str9</th><th>str6</th><th>str2</th><th>float64</th></tr></thead>
<tr><td>2016-01-15</td><td>combined_bias.fit</td><td>BIAS</td><td>bias</td><td>i&apos;</td><td>0.0</td></tr>
Expand Down Expand Up @@ -877,7 +877,7 @@ <h2><span class="section-number">5.1.3. </span>Example 2<a class="headerlink" hr
</div>
<div class="cell_output docutils container">
<div class="output text_html"><div><i>Table length=2</i>
<table id="table140319794168208" class="table-striped table-bordered table-condensed">
<table id="table140006527152912" class="table-striped table-bordered table-condensed">
<thead><tr><th>date-obs</th><th>file</th><th>object</th><th>filter</th><th>exposure</th></tr></thead>
<thead><tr><th>str19</th><th>str31</th><th>object</th><th>object</th><th>float64</th></tr></thead>
<tr><td>2018-08-23T09:00:21</td><td>kelt-16-b-S001-R001-C084-r.fit</td><td>kelt-16b</td><td>r</td><td>90.0</td></tr>
Expand All @@ -896,7 +896,7 @@ <h2><span class="section-number">5.1.3. </span>Example 2<a class="headerlink" hr
</div>
<div class="cell_output docutils container">
<div class="output text_html"><div><i>Table length=3</i>
<table id="table140319794286480" class="table-striped table-bordered table-condensed">
<table id="table140006525608720" class="table-striped table-bordered table-condensed">
<thead><tr><th>date-obs</th><th>file</th><th>imagetyp</th><th>filter</th><th>exposure</th></tr></thead>
<thead><tr><th>str19</th><th>str31</th><th>str4</th><th>object</th><th>float64</th></tr></thead>
<tr><td>2018-08-23T11:20:07</td><td>combined_bias.fit</td><td>BIAS</td><td>--</td><td>0.0</td></tr>
Expand Down
Loading

0 comments on commit e49251b

Please sign in to comment.