Skip to content

Commit

Permalink
Update links.
Browse files Browse the repository at this point in the history
  • Loading branch information
JohnGood committed Nov 10, 2018
1 parent 14204a7 commit a69f013
Show file tree
Hide file tree
Showing 2 changed files with 33 additions and 33 deletions.
34 changes: 17 additions & 17 deletions Mosaic.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"\n",
"Montage is a general toolkit for reprojecting and mosaicking astronomical images and generally you have to marshall the specific data you want to use carefully. But there are a few large-scale uniform surveys that cover a large enough portion of the sky to allow a simple location-based approach.\n",
"\n",
"<p style=\"color:#c00000;\">In this notebook we will choose a region of the sky and dataset to mosaic, retrieve the archive data, reproject and background-correct the images, and finally build an output mosaic. You are free to modify any of the mosaic parameters but beware that as you go larger all of the steps will take longer (possibly <b>much</b> longer). If you do this for three different wavelenths, you can put them together in a full-color composite using our <a style=\"text-decoration: none;\" href=\"visualization.ipynb\"> Sky Visualization </a> notebook, which produced the image on the right.</p>\n",
"<p style=\"color:#c00000;\">In this notebook we will choose a region of the sky and dataset to mosaic, retrieve the archive data, reproject and background-correct the images, and finally build an output mosaic. You are free to modify any of the mosaic parameters but beware that as you go larger all of the steps will take longer (possibly <b>much</b> longer). If you do this for three different wavelenths, you can put them together in a full-color composite using our <a style=\"text-decoration: none;\" href=\"mViewer.ipynb\"> Sky Visualization </a> notebook, which produced the image on the right.</p>\n",
"\n",
"As with many notebooks, this was derived from a longer script by breaking the processing up into sequential steps.\n",
"These steps (cells) have to be run one in sequence. Wait for each cell to finish (watch for the step number in the brackets on the left to stop showing an asterisk) before starting the execution of next cell or run them all as a set.\n",
Expand All @@ -28,7 +28,7 @@
},
{
"cell_type": "code",
"execution_count": 3,
"execution_count": 1,
"metadata": {},
"outputs": [],
"source": [
Expand Down Expand Up @@ -66,14 +66,14 @@
},
{
"cell_type": "code",
"execution_count": 4,
"execution_count": 2,
"metadata": {},
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"Startup folder: /Users/jcg/MontageDocs\n",
"Startup folder: /Users/jcg/FormalTest/MontageNotebooks\n",
" Can't delete work tree; probably doesn't exist yet\n",
"Work directory: Messier017\n"
]
Expand Down Expand Up @@ -129,7 +129,7 @@
},
{
"cell_type": "code",
"execution_count": 5,
"execution_count": 3,
"metadata": {},
"outputs": [
{
Expand Down Expand Up @@ -181,7 +181,7 @@
},
{
"cell_type": "code",
"execution_count": 6,
"execution_count": 4,
"metadata": {},
"outputs": [
{
Expand Down Expand Up @@ -217,14 +217,14 @@
},
{
"cell_type": "code",
"execution_count": 7,
"execution_count": 5,
"metadata": {},
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"mAdd: {'status': '0', 'time': 2.0}\n"
"mAdd: {'status': '0', 'time': 1.0}\n"
]
}
],
Expand Down Expand Up @@ -253,7 +253,7 @@
},
{
"cell_type": "code",
"execution_count": 8,
"execution_count": 6,
"metadata": {},
"outputs": [
{
Expand All @@ -270,7 +270,7 @@
"<IPython.core.display.Image object>"
]
},
"execution_count": 8,
"execution_count": 6,
"metadata": {},
"output_type": "execute_result"
}
Expand Down Expand Up @@ -304,7 +304,7 @@
},
{
"cell_type": "code",
"execution_count": 9,
"execution_count": 7,
"metadata": {},
"outputs": [
{
Expand Down Expand Up @@ -352,7 +352,7 @@
},
{
"cell_type": "code",
"execution_count": 10,
"execution_count": 8,
"metadata": {},
"outputs": [
{
Expand Down Expand Up @@ -395,7 +395,7 @@
},
{
"cell_type": "code",
"execution_count": 11,
"execution_count": 9,
"metadata": {
"scrolled": true
},
Expand All @@ -419,7 +419,7 @@
},
{
"cell_type": "code",
"execution_count": 12,
"execution_count": 10,
"metadata": {},
"outputs": [
{
Expand All @@ -429,7 +429,7 @@
"<IPython.core.display.Image object>"
]
},
"execution_count": 12,
"execution_count": 10,
"metadata": {},
"output_type": "execute_result"
}
Expand All @@ -442,9 +442,9 @@
"cell_type": "markdown",
"metadata": {},
"source": [
"## Full Color and Interactive Display\n",
"## Full Color and Overlays\n",
"\n",
"The above can be packaged up in a Python script with whatever minimum input and defaults you desired. Repeat the processing for three different wavelengths and you can combine them (and optionally overlays of various sorts) into a full-color image. Again, see our <a style=\"text-decoration: none;\" href=\"mViewer.ipynb\"> mViewer</a> sky visualization notebook for details.\n"
"The above can be packaged up in a Python script with whatever minimum input and defaults you desired. Repeat the processing for three different wavelengths and you can combine them (and optionally overlays of various sorts) into a full-color image. See our <a style=\"text-decoration: none;\" href=\"mViewer.ipynb\"> mViewer</a> sky visualization notebook for details.\n"
]
},
{
Expand Down
32 changes: 16 additions & 16 deletions html/Mosaic.html
Original file line number Diff line number Diff line change
Expand Up @@ -11777,7 +11777,7 @@
<div class="text_cell_render border-box-sizing rendered_html">
<p><font style="font-size:96px; font-weight:bolder; color:#0040a0"><img src="http://montage.ipac.caltech.edu/docs/M51.jpg" style="float: right; padding: 70px 0px 0px 50px;" /></font></p>
<h1 id="Building-a-Mosaic-with-Montage">Building a Mosaic with Montage<a class="anchor-link" href="#Building-a-Mosaic-with-Montage">&#182;</a></h1><p>Montage is a general toolkit for reprojecting and mosaicking astronomical images and generally you have to marshall the specific data you want to use carefully. But there are a few large-scale uniform surveys that cover a large enough portion of the sky to allow a simple location-based approach.</p>
<p style="color:#c00000;">In this notebook we will choose a region of the sky and dataset to mosaic, retrieve the archive data, reproject and background-correct the images, and finally build an output mosaic. You are free to modify any of the mosaic parameters but beware that as you go larger all of the steps will take longer (possibly <b>much</b> longer). If you do this for three different wavelenths, you can put them together in a full-color composite using our <a style="text-decoration: none;" href="visualization.ipynb"> Sky Visualization </a> notebook, which produced the image on the right.</p><p>As with many notebooks, this was derived from a longer script by breaking the processing up into sequential steps.
<p style="color:#c00000;">In this notebook we will choose a region of the sky and dataset to mosaic, retrieve the archive data, reproject and background-correct the images, and finally build an output mosaic. You are free to modify any of the mosaic parameters but beware that as you go larger all of the steps will take longer (possibly <b>much</b> longer). If you do this for three different wavelenths, you can put them together in a full-color composite using our <a style="text-decoration: none;" href="mViewer.ipynb"> Sky Visualization </a> notebook, which produced the image on the right.</p><p>As with many notebooks, this was derived from a longer script by breaking the processing up into sequential steps.
These steps (cells) have to be run one in sequence. Wait for each cell to finish (watch for the step number in the brackets on the left to stop showing an asterisk) before starting the execution of next cell or run them all as a set.</p>
<p>If you want to just see the code without all the explanation, check out <a style="text-decoration: none; color: #c00000;" href="Mosaic_oneshot.ipynb">this example</a>.</p>
<h2 id="Setup">Setup<a class="anchor-link" href="#Setup">&#182;</a></h2><p>The Montage Python package is a mixture of pure Python and Python binary extension code. It can be downloaded using <tt style="color: #c00000;">pip install MontagePy</tt></p>
Expand All @@ -11788,7 +11788,7 @@ <h2 id="Setup">Setup<a class="anchor-link" href="#Setup">&#182;</a></h2><p>The M
</div>
<div class="cell border-box-sizing code_cell rendered">
<div class="input">
<div class="prompt input_prompt">In&nbsp;[3]:</div>
<div class="prompt input_prompt">In&nbsp;[1]:</div>
<div class="inner_cell">
<div class="input_area">
<div class=" highlight hl-ipython3"><pre><span></span><span class="c1"># Startup. The Montage modules are pretty much self-contained</span>
Expand Down Expand Up @@ -11829,7 +11829,7 @@ <h2 id="Working-Environment">Working Environment<a class="anchor-link" href="#Wo
</div>
<div class="cell border-box-sizing code_cell rendered">
<div class="input">
<div class="prompt input_prompt">In&nbsp;[4]:</div>
<div class="prompt input_prompt">In&nbsp;[2]:</div>
<div class="inner_cell">
<div class="input_area">
<div class=" highlight hl-ipython3"><pre><span></span><span class="c1"># We create and move into subdirectories in this notebook </span>
Expand Down Expand Up @@ -11880,7 +11880,7 @@ <h2 id="Working-Environment">Working Environment<a class="anchor-link" href="#Wo


<div class="output_subarea output_stream output_stdout output_text">
<pre>Startup folder: /Users/jcg/MontageDocs
<pre>Startup folder: /Users/jcg/FormalTest/MontageNotebooks
Can&#39;t delete work tree; probably doesn&#39;t exist yet
Work directory: Messier017
</pre>
Expand All @@ -11904,7 +11904,7 @@ <h2 id="Retrieving-Data-from-an-Archive">Retrieving Data from an Archive<a class
</div>
<div class="cell border-box-sizing code_cell rendered">
<div class="input">
<div class="prompt input_prompt">In&nbsp;[5]:</div>
<div class="prompt input_prompt">In&nbsp;[3]:</div>
<div class="inner_cell">
<div class="input_area">
<div class=" highlight hl-ipython3"><pre><span></span><span class="c1"># Create the FITS header for the mosaic.</span>
Expand Down Expand Up @@ -11966,7 +11966,7 @@ <h2 id="Reprojecting-the-Images">Reprojecting the Images<a class="anchor-link" h
</div>
<div class="cell border-box-sizing code_cell rendered">
<div class="input">
<div class="prompt input_prompt">In&nbsp;[6]:</div>
<div class="prompt input_prompt">In&nbsp;[4]:</div>
<div class="inner_cell">
<div class="input_area">
<div class=" highlight hl-ipython3"><pre><span></span><span class="c1"># Reproject the original images to the frame of the </span>
Expand Down Expand Up @@ -12016,7 +12016,7 @@ <h2 id="Coadding-for-a-Mosaic">Coadding for a Mosaic<a class="anchor-link" href=
</div>
<div class="cell border-box-sizing code_cell rendered">
<div class="input">
<div class="prompt input_prompt">In&nbsp;[7]:</div>
<div class="prompt input_prompt">In&nbsp;[5]:</div>
<div class="inner_cell">
<div class="input_area">
<div class=" highlight hl-ipython3"><pre><span></span><span class="c1"># Coadd the projected images without backgound correction.</span>
Expand All @@ -12042,7 +12042,7 @@ <h2 id="Coadding-for-a-Mosaic">Coadding for a Mosaic<a class="anchor-link" href=


<div class="output_subarea output_stream output_stdout output_text">
<pre>mAdd: {&#39;status&#39;: &#39;0&#39;, &#39;time&#39;: 2.0}
<pre>mAdd: {&#39;status&#39;: &#39;0&#39;, &#39;time&#39;: 1.0}
</pre>
</div>
</div>
Expand All @@ -12064,7 +12064,7 @@ <h2 id="View-the-Image">View the Image<a class="anchor-link" href="#View-the-Ima
</div>
<div class="cell border-box-sizing code_cell rendered">
<div class="input">
<div class="prompt input_prompt">In&nbsp;[8]:</div>
<div class="prompt input_prompt">In&nbsp;[6]:</div>
<div class="inner_cell">
<div class="input_area">
<div class=" highlight hl-ipython3"><pre><span></span><span class="c1"># Make a PNG rendering of the data and display it.</span>
Expand Down Expand Up @@ -12097,7 +12097,7 @@ <h2 id="View-the-Image">View the Image<a class="anchor-link" href="#View-the-Ima

<div class="output_area">

<div class="prompt output_prompt">Out[8]:</div>
<div class="prompt output_prompt">Out[6]:</div>



Expand Down Expand Up @@ -12129,7 +12129,7 @@ <h2 id="Background-Matching">Background Matching<a class="anchor-link" href="#Ba
</div>
<div class="cell border-box-sizing code_cell rendered">
<div class="input">
<div class="prompt input_prompt">In&nbsp;[9]:</div>
<div class="prompt input_prompt">In&nbsp;[7]:</div>
<div class="inner_cell">
<div class="input_area">
<div class=" highlight hl-ipython3"><pre><span></span><span class="c1"># Determine the overlaps between images (for background modeling).</span>
Expand Down Expand Up @@ -12190,7 +12190,7 @@ <h2 id="Background-Correcting-and-Re-Mosaicking">Background Correcting and Re-Mo
</div>
<div class="cell border-box-sizing code_cell rendered">
<div class="input">
<div class="prompt input_prompt">In&nbsp;[10]:</div>
<div class="prompt input_prompt">In&nbsp;[8]:</div>
<div class="inner_cell">
<div class="input_area">
<div class=" highlight hl-ipython3"><pre><span></span><span class="c1"># Background correct the projected images.</span>
Expand Down Expand Up @@ -12247,7 +12247,7 @@ <h2 id="Final-Image">Final Image<a class="anchor-link" href="#Final-Image">&#182
</div>
<div class="cell border-box-sizing code_cell rendered">
<div class="input">
<div class="prompt input_prompt">In&nbsp;[11]:</div>
<div class="prompt input_prompt">In&nbsp;[9]:</div>
<div class="inner_cell">
<div class="input_area">
<div class=" highlight hl-ipython3"><pre><span></span><span class="c1"># Make a PNG rendering of the data and display it.</span>
Expand Down Expand Up @@ -12282,7 +12282,7 @@ <h2 id="Final-Image">Final Image<a class="anchor-link" href="#Final-Image">&#182
</div>
<div class="cell border-box-sizing code_cell rendered">
<div class="input">
<div class="prompt input_prompt">In&nbsp;[12]:</div>
<div class="prompt input_prompt">In&nbsp;[10]:</div>
<div class="inner_cell">
<div class="input_area">
<div class=" highlight hl-ipython3"><pre><span></span><span class="n">Image</span><span class="p">(</span><span class="n">filename</span><span class="o">=</span><span class="s1">&#39;mosaic.png&#39;</span><span class="p">)</span>
Expand All @@ -12298,7 +12298,7 @@ <h2 id="Final-Image">Final Image<a class="anchor-link" href="#Final-Image">&#182

<div class="output_area">

<div class="prompt output_prompt">Out[12]:</div>
<div class="prompt output_prompt">Out[10]:</div>



Expand All @@ -12319,7 +12319,7 @@ <h2 id="Final-Image">Final Image<a class="anchor-link" href="#Final-Image">&#182
</div>
<div class="inner_cell">
<div class="text_cell_render border-box-sizing rendered_html">
<h2 id="Full-Color-and-Interactive-Display">Full Color and Interactive Display<a class="anchor-link" href="#Full-Color-and-Interactive-Display">&#182;</a></h2><p>The above can be packaged up in a Python script with whatever minimum input and defaults you desired. Repeat the processing for three different wavelengths and you can combine them (and optionally overlays of various sorts) into a full-color image. Again, see our <a style="text-decoration: none;" href="mViewer.ipynb"> mViewer</a> sky visualization notebook for details.</p>
<h2 id="Full-Color-and-Overlays">Full Color and Overlays<a class="anchor-link" href="#Full-Color-and-Overlays">&#182;</a></h2><p>The above can be packaged up in a Python script with whatever minimum input and defaults you desired. Repeat the processing for three different wavelengths and you can combine them (and optionally overlays of various sorts) into a full-color image. See our <a style="text-decoration: none;" href="mViewer.ipynb"> mViewer</a> sky visualization notebook for details.</p>

</div>
</div>
Expand Down

0 comments on commit a69f013

Please sign in to comment.