Skip to content

Commit

Permalink
First round of edits
Browse files Browse the repository at this point in the history
  • Loading branch information
Lauren Chambers committed Jul 31, 2019
1 parent 4fe94df commit dc17e7c
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@
"cell_type": "markdown",
"metadata": {},
"source": [
"<center><i>Made possible by the Astropy Project and ScienceBetter Consulting through financial support from the Community Software Initiative at the Space Telescope Science Institute.</i></center>\n",
"\n",
"<a id=\"title_ID\"></a>\n",
"\n",
"<a href=\"http://photutils.readthedocs.io/en/stable/index.html\"><img src=\"https://photutils.readthedocs.io/en/stable/_static/photutils_banner.svg\" width=300></a>\n",
Expand Down Expand Up @@ -136,7 +138,7 @@
"metadata": {},
"source": [
"#### Modifying data\n",
"For the purposes of this notebook example, we're going to add a background effect to this data, but don't worry about this. (Pay no attention to that man behind the curtain!)"
"For the purposes of this notebook example, we're going to add a linear background effect from the top to the bottom of these data. But don't worry about this (pay no attention to that man behind the curtain!)."
]
},
{
Expand Down Expand Up @@ -171,7 +173,7 @@
"outputs": [],
"source": [
"from astropy.nddata import CCDData\n",
"unit = u.ct / u.s\n",
"unit = u.electron / u.s\n",
"xdf_image = CCDData(modified_data, unit=unit, meta=header)"
]
},
Expand Down Expand Up @@ -452,7 +454,7 @@
"cell_type": "markdown",
"metadata": {},
"source": [
"The `Background2D` class allows users to model 2-dimensional backgrounds, by evaluating the background signal in small boxes, and smoothing these boxes to reconstruct a continuous 2D background. The class includes the following arguments/attributes:\n",
"The `Background2D` class allows users to model 2-dimensional backgrounds, by calculating the mean or median in small boxes, and smoothing these boxes to reconstruct a continuous 2D background. The class includes the following arguments/attributes:\n",
"* **`box_size`** - the size of the boxes used to calculate the background. This should be larger than individual sources, yet still small enough to encompass changes in the background.\n",
"* **`filter_size`** - the size of the median filter used to smooth the final 2D background.\n",
"* **`filter_threshold`** - threshold below which the smoothing median filter will not be applied.\n",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@
"cell_type": "markdown",
"metadata": {},
"source": [
"<center><i>Made possible by the Astropy Project and ScienceBetter Consulting through financial support from the Community Software Initiative at the Space Telescope Science Institute.</i></center>\n",
"\n",
"<a id=\"title_ID\"></a>\n",
"\n",
"<a href=\"http://photutils.readthedocs.io/en/stable/index.html\"><img src=\"https://photutils.readthedocs.io/en/stable/_static/photutils_banner.svg\" width=300></a>\n",
Expand Down Expand Up @@ -148,7 +150,7 @@
"cell_type": "markdown",
"metadata": {},
"source": [
"Throughout this notebook, we are going to store our images in Python using a `CCDData` object (see [Astropy documentation](http://docs.astropy.org/en/stable/nddata/index.html#ccddata-class-for-images)), which contains a `numpy` array in addition to metadata such as uncertainty, masks, or units. In this case, our data is in electrons (counts) per second."
"Throughout this notebook, we are going to store our images in Python using a `CCDData` object (see [Astropy documentation](http://docs.astropy.org/en/stable/nddata/index.html#ccddata-class-for-images)), which contains a `numpy` array in addition to metadata such as uncertainty, masks, or units. In this case, our data is in electrons per second."
]
},
{
Expand All @@ -157,7 +159,7 @@
"metadata": {},
"outputs": [],
"source": [
"unit = u.electron/ u.s\n",
"unit = u.electron / u.s\n",
"xdf_image = CCDData(data, unit=unit, meta=header, mask=mask)"
]
},
Expand Down Expand Up @@ -452,7 +454,7 @@
"cell_type": "markdown",
"metadata": {},
"source": [
"### Note: Comparing `DAOStarFinder` and `IRAFStarFinder`"
"## Note: Comparing `DAOStarFinder` and `IRAFStarFinder`"
]
},
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,13 @@
"cell_type": "markdown",
"metadata": {},
"source": [
"<center><i>Made possible by the Astropy Project and ScienceBetter Consulting through financial support from the Community Software Initiative at the Space Telescope Science Institute.</i></center>\n",
"\n",
"<a id=\"title_ID\"></a>\n",
"\n",
"<a href=\"http://photutils.readthedocs.io/en/stable/index.html\"><img src=\"https://photutils.readthedocs.io/en/stable/_static/photutils_banner.svg\" width=300></a>\n",
"\n",
"\n",
"# Aperture Photometry with `photutils`\n",
"---"
]
Expand Down
3 changes: 3 additions & 0 deletions notebooks/photutils/04_psf_photometry/04_psf_photometry.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,13 @@
"cell_type": "markdown",
"metadata": {},
"source": [
"<center><i>Made possible by the Astropy Project and ScienceBetter Consulting through financial support from the Community Software Initiative at the Space Telescope Science Institute.</i></center>\n",
"\n",
"<a id=\"title_ID\"></a>\n",
"\n",
"<a href=\"http://photutils.readthedocs.io/en/stable/index.html\"><img src=\"https://photutils.readthedocs.io/en/stable/_static/photutils_banner.svg\" width=300></a>\n",
"\n",
"\n",
"# PSF Photometry with `photutils`\n",
"---"
]
Expand Down

0 comments on commit dc17e7c

Please sign in to comment.