Skip to content

Commit

Permalink
deploy: 1468a68
Browse files Browse the repository at this point in the history
  • Loading branch information
dulude committed Dec 1, 2023
1 parent f31cd4a commit e3fc0e6
Show file tree
Hide file tree
Showing 33 changed files with 1,339 additions and 256 deletions.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added _images/apphot_image.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added _images/ch1_cos_overview3.10.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added _images/cosdhb_fig1p6.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added _images/v1_v2_bkg.gif
Binary file added _images/v1_v2_subsection.gif
Binary file added _images/warning.png
1,014 changes: 907 additions & 107 deletions _sources/notebooks/COS/ViewData/ViewData.ipynb

Large diffs are not rendered by default.

251 changes: 128 additions & 123 deletions _sources/notebooks/WFC3/calwf3_v1.0_cte/calwf3_with_v1.0_PCTE.ipynb

Large diffs are not rendered by default.

285 changes: 279 additions & 6 deletions notebooks/COS/ViewData/ViewData.html

Large diffs are not rendered by default.

43 changes: 24 additions & 19 deletions notebooks/WFC3/calwf3_v1.0_cte/calwf3_with_v1.0_PCTE.html
Original file line number Diff line number Diff line change
Expand Up @@ -712,7 +712,7 @@ <h2>2. Verify <code class="docutils literal notranslate"><span class="pre">archi
</div>
</div>
<div class="cell_output docutils container">
<div class="output stream highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>-rw-r--r-- 1 runner docker 350644 Nov 17 20:45 archived_drkcfiles.txt
<div class="output stream highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>-rw-r--r-- 1 runner docker 350644 Nov 30 17:39 archived_drkcfiles.txt
</pre></div>
</div>
</div>
Expand Down Expand Up @@ -792,7 +792,7 @@ <h2>4. Query MAST and Download a WFC3 <code class="docutils literal notranslate"
</div>
</div>
<div class="cell_output docutils container">
<div class="output stream highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>-rw-r--r-- 1 runner docker 34891200 Nov 17 20:54 idv404axq_raw.fits
<div class="output stream highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>-rw-r--r-- 1 runner docker 34891200 Nov 30 17:51 idv404axq_raw.fits
</pre></div>
</div>
</div>
Expand Down Expand Up @@ -879,7 +879,7 @@ <h2>5.2 Inspect Image Header<a class="headerlink" href="#inspect-image-header" t
</div>
<div class="cell_output docutils container">
<div class="output text_html"><div><i>Table length=1</i>
<table id="table139800077469968" class="table-striped table-bordered table-condensed">
<table id="table139736663041616" class="table-striped table-bordered table-condensed">
<thead><tr><th>file</th><th>date-obs</th><th>expstart</th><th>pctetab</th><th>drkcfile</th><th>pctecorr</th></tr></thead>
<thead><tr><th>str18</th><th>str10</th><th>float64</th><th>str23</th><th>str23</th><th>str7</th></tr></thead>
<tr><td>idv404axq_raw.fits</td><td>2019-07-29</td><td>58693.181643</td><td>iref$54l1347ei_cte.fits</td><td>iref$7bg1930ki_dkc.fits</td><td>PERFORM</td></tr>
Expand Down Expand Up @@ -935,7 +935,7 @@ <h2>6. Find the Correct v1.0 <code class="docutils literal notranslate"><span cl
</div>
<div class="cell_output docutils container">
<div class="output text_html"><div><i>Table length=1</i>
<table id="table139799448997200" class="table-striped table-bordered table-condensed">
<table id="table139736662306960" class="table-striped table-bordered table-condensed">
<thead><tr><th>filename</th><th>date-obs</th><th>dkc-filename</th><th>dkc-useafter</th><th>dkc-activation</th></tr></thead>
<thead><tr><th>str18</th><th>str10</th><th>str18</th><th>str10</th><th>str10</th></tr></thead>
<tr><td>idv404axq_raw.fits</td><td>2019-07-29</td><td>3961719li_dkc.fits</td><td>2019-07-28</td><td>2019-09-09</td></tr>
Expand All @@ -957,7 +957,7 @@ <h2>6.1 Download the Correct <code class="docutils literal notranslate"><span cl
</div>
</div>
<div class="cell_output docutils container">
<div class="output stderr highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>CRDS - INFO - Symbolic context &#39;hst-operational&#39; resolves to &#39;hst_1121.pmap&#39;
<div class="output stderr highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>CRDS - INFO - Symbolic context &#39;hst-operational&#39; resolves to &#39;hst_1122.pmap&#39;
CRDS - INFO - Reorganizing 27 references from &#39;flat&#39; to &#39;flat&#39;
CRDS - INFO - Syncing explicitly listed files.
CRDS - INFO - 0 errors
Expand Down Expand Up @@ -997,7 +997,7 @@ <h2>7. Download the v1.0 <code class="docutils literal notranslate"><span class=
</div>
</div>
<div class="cell_output docutils container">
<div class="output stderr highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>CRDS - INFO - Symbolic context &#39;hst-operational&#39; resolves to &#39;hst_1121.pmap&#39;
<div class="output stderr highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>CRDS - INFO - Symbolic context &#39;hst-operational&#39; resolves to &#39;hst_1122.pmap&#39;
CRDS - INFO - Reorganizing 27 references from &#39;flat&#39; to &#39;flat&#39;
CRDS - INFO - Syncing explicitly listed files.
CRDS - INFO - 0 errors
Expand Down Expand Up @@ -1052,7 +1052,7 @@ <h2>8. Re-Inspect Image Header<a class="headerlink" href="#re-inspect-image-head
</div>
<div class="cell_output docutils container">
<div class="output text_html"><div><i>Table length=1</i>
<table id="table139800077221712" class="table-striped table-bordered table-condensed">
<table id="table139736662742224" class="table-striped table-bordered table-condensed">
<thead><tr><th>file</th><th>date-obs</th><th>expstart</th><th>pctetab</th><th>drkcfile</th><th>pctecorr</th></tr></thead>
<thead><tr><th>str18</th><th>str10</th><th>float64</th><th>str23</th><th>str23</th><th>str7</th></tr></thead>
<tr><td>idv404axq_raw.fits</td><td>2019-07-29</td><td>58693.181643</td><td>iref$zcv2057mi_cte.fits</td><td>iref$3961719li_dkc.fits</td><td>PERFORM</td></tr>
Expand All @@ -1079,10 +1079,10 @@ <h2>9. Run <code class="docutils literal notranslate"><span class="pre">calwf3</
</div>
</div>
<div class="cell_output docutils container">
<div class="output stream highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>-rw-r--r-- 1 runner docker 168079680 Nov 17 20:53 idv404axq_flt.fits
-rw-r--r-- 1 runner docker 168079680 Nov 17 20:53 idv404axq_flc.fits
-rw-r--r-- 1 runner docker 168681600 Nov 17 20:54 idv404axq_v2.0_flc.fits
-rw-r--r-- 1 runner docker 34891200 Nov 17 20:54 idv404axq_raw.fits
<div class="output stream highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>-rw-r--r-- 1 runner docker 168079680 Nov 30 17:51 idv404axq_flt.fits
-rw-r--r-- 1 runner docker 168079680 Nov 30 17:51 idv404axq_flc.fits
-rw-r--r-- 1 runner docker 168681600 Nov 30 17:51 idv404axq_v2.0_flc.fits
-rw-r--r-- 1 runner docker 34891200 Nov 30 17:51 idv404axq_raw.fits
</pre></div>
</div>
</div>
Expand Down Expand Up @@ -1115,7 +1115,7 @@ <h2>10. Inspect FLC Image Header<a class="headerlink" href="#inspect-flc-image-h
</div>
<div class="cell_output docutils container">
<div class="output text_html"><div><i>Table length=2</i>
<table id="table139800077390160" class="table-striped table-bordered table-condensed">
<table id="table139736662873680" class="table-striped table-bordered table-condensed">
<thead><tr><th>file</th><th>pctetab</th><th>drkcfile</th><th>pctecorr</th><th>cal_ver</th><th>cte_name</th><th>cte_ver</th></tr></thead>
<thead><tr><th>str18</th><th>str23</th><th>str23</th><th>str8</th><th>str19</th><th>str13</th><th>str3</th></tr></thead>
<tr><td>idv404axq_flc.fits</td><td>iref$54l1347ei_cte.fits</td><td>iref$54n2022fi_dkc.fits</td><td>COMPLETE</td><td>3.6.2 (May-27-2021)</td><td>pixelCTE 2019</td><td>2.0</td></tr>
Expand Down Expand Up @@ -1230,11 +1230,12 @@ <h2>11.3 Display 50x50 Pixel Background Subsection<a class="headerlink" href="#d
</div>
</div>
<div class="cell_output docutils container">
<img alt="../../../_images/0515141a61fc9f30814226ac20bd11f18c7500abab7c7fecf9741b050a5e764c.png" src="../../../_images/0515141a61fc9f30814226ac20bd11f18c7500abab7c7fecf9741b050a5e764c.png" />
<img alt="../../../_images/02c9e0fa65ec5d8db98bb66a5eb7f59ea0cb033f0de10b7b31cfe44b8aeacf54.png" src="../../../_images/02c9e0fa65ec5d8db98bb66a5eb7f59ea0cb033f0de10b7b31cfe44b8aeacf54.png" />
</div>
</div>
<div style="text-align: left"> <strong> <font size ="4">Animated GIF of the v1.0 and v2.0 FLC image subsections: </font> </strong> </div>
<img align="left" width="800" height="800" src="example/v1_v2_bkg.gif" alt="An animated gif blinking between a subsection of background sky using the v1.0 and V2.0 pixel-based CTE corrections. The v2.0 background appears smoother with less noise and pixel variations.">
<!-- <img align="left" width="800" height="800" src="example/v1_v2_bkg.gif" alt="An animated gif blinking between a subsection of background sky using the v1.0 and V2.0 pixel-based CTE corrections. The v2.0 background appears smoother with less noise and pixel variations."> -->
<p><img alt="An animated gif blinking between a subsection of background sky using the v1.0 and V2.0 pixel-based CTE corrections. The v2.0 background appears smoother with less noise and pixel variations." src="../../../_images/v1_v2_bkg.gif" /></p>
<p><a id="bkgdist"></a></p>
</section>
<section id="pixel-distribution-of-background-subsections">
Expand Down Expand Up @@ -1271,7 +1272,7 @@ <h2>11.3.1 Pixel Distribution of Background Subsections<a class="headerlink" hre
</div>
</div>
<div class="cell_output docutils container">
<img alt="../../../_images/cdf1f1c2be9298669636982ac904c2fd037e9d8ffe478957d929c344a9c9d93f.png" src="../../../_images/cdf1f1c2be9298669636982ac904c2fd037e9d8ffe478957d929c344a9c9d93f.png" />
<img alt="../../../_images/a37ddb9f9f91be6f8ff4d690cc6f92e7626d06956d56e6323b7e8883d37a7c85.png" src="../../../_images/a37ddb9f9f91be6f8ff4d690cc6f92e7626d06956d56e6323b7e8883d37a7c85.png" />
</div>
</div>
<p><a id="imgsub"></a></p>
Expand Down Expand Up @@ -1304,16 +1305,20 @@ <h2>11.4 Display Image Subsection<a class="headerlink" href="#display-image-subs
</div>
</div>
<div class="cell_output docutils container">
<img alt="../../../_images/166d0679081f8b926ad9da6085bb52bbb5bb3fd35c62592018c724e01ee86a7c.png" src="../../../_images/166d0679081f8b926ad9da6085bb52bbb5bb3fd35c62592018c724e01ee86a7c.png" />
<img alt="../../../_images/ba1e54979ed9397a6f99f7f5fa8ce240b421dd71304a9da90c65ac19c3fc3d17.png" src="../../../_images/ba1e54979ed9397a6f99f7f5fa8ce240b421dd71304a9da90c65ac19c3fc3d17.png" />
</div>
</div>
<div style="text-align: left"> <strong> <font size ="4">Animated GIF of the v1.0 and v2.0 FLC image subsections: </font> </strong> </div>
<img align="left" width="975" height="975" src="example/v1_v2_subsection.gif"><p><a id="apphot"></a></p>
<!-- <img align="left" width="975" height="975" src="example/v1_v2_subsection.gif"> -->
<p><img alt="An animated GIF of the v1.0 and v2.0 FLC image subsections" src="../../../_images/v1_v2_subsection.gif" /></p>
<p><a id="apphot"></a></p>
</section>
<section id="aperture-photometry">
<h2>11.5 Aperture Photometry<a class="headerlink" href="#aperture-photometry" title="Permalink to this heading">#</a></h2>
<p>To show the quantitative difference in the observed flux of sources between the v1.0 and v2.0 pixel-based CTE correction,<br> we perform aperture photometry on six stars of varying brightness within the image subsection above. Here, we display the <br> image subsection again with the apertures, annuli, and star labels overplotted. This subsection includes the first ~150 rows <br> of UVIS 1, which means all of these stars suffer the most CTE flux loss as they transfer 1900+ rows to the readout amplifier.</p>
<img align="left" width="900" height="900" src="example/apphot_image.png"><p>First, we approximate the center x and y positions of the stars in the 4Kx4K science arrays, and create the apertures and <br> annuli using <code class="docutils literal notranslate"><span class="pre">photutils</span></code>. <br></p>
<!-- <img align="left" width="900" height="900" src="example/apphot_image.png"> -->
<p><img alt="Aperture photometry illustration" src="../../../_images/apphot_image.png" /></p>
<p>First, we approximate the center x and y positions of the stars in the 4Kx4K science arrays, and create the apertures and <br> annuli using <code class="docutils literal notranslate"><span class="pre">photutils</span></code>. <br></p>
<p>Then, we use <code class="docutils literal notranslate"><span class="pre">photutils</span></code> to measure the signal in each area and subtract the background values in the annuli from the <br>aperture sum values. We define a function named <code class="docutils literal notranslate"><span class="pre">get_flux()</span></code> to do this for us.</p>
<div class="cell docutils container">
<div class="cell_input docutils container">
Expand Down Expand Up @@ -1419,7 +1424,7 @@ <h2>11.5 Aperture Photometry<a class="headerlink" href="#aperture-photometry" ti
</div>
</div>
<div class="cell_output docutils container">
<img alt="../../../_images/7261ccd23135bd6b2c2b12a58c96c5f14ff9f34adbc0823eb1b0423ce504dcf1.png" src="../../../_images/7261ccd23135bd6b2c2b12a58c96c5f14ff9f34adbc0823eb1b0423ce504dcf1.png" />
<img alt="../../../_images/3612da94ddffafc43a9735f9e0929004b64ec1fcd106b9a2f75e49d89c5ea74e.png" src="../../../_images/3612da94ddffafc43a9735f9e0929004b64ec1fcd106b9a2f75e49d89c5ea74e.png" />
</div>
</div>
<p><a id="conclude"></a></p>
Expand Down
2 changes: 1 addition & 1 deletion searchindex.js

Large diffs are not rendered by default.

0 comments on commit e3fc0e6

Please sign in to comment.