Skip to content

Commit

Permalink
More fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Lauren Chambers committed Jul 31, 2019
1 parent dc17e7c commit 852a3f2
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -239,7 +239,7 @@
"source": [
"You probably noticed that a large portion of the data is equal to zero. The data we are using is a reduced mosaic that combines many different exposures, and that has been rotated such that not all of the array holds data. \n",
"\n",
"We want to **mask** out the non-data portions of the image array,, so all of those pixels that have a value of zero don't interfere with our statistics and analyses of the data."
"We want to **mask** out the non-data portions of the image array, so all of those pixels that have a value of zero don't interfere with our statistics and analyses of the data."
]
},
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -301,7 +301,7 @@
" rotation=270, labelpad=30)\n",
"ax1.set_xlabel('X (pixels)')\n",
"ax1.set_ylabel('Y (pixels)')\n",
"ax1.set_title('find\\_peaks Sources')"
"ax1.set_title('find_peaks Sources')"
]
},
{
Expand Down Expand Up @@ -661,11 +661,11 @@
"source": [
"# The CCDData mask will be automatically applied\n",
"phot_table = aperture_photometry(xdf_image, elliptical_apertures[0])\n",
"id = 1\n",
"idx = 1\n",
"for aperture in elliptical_apertures[1:]:\n",
" id += 1\n",
" idx += 1\n",
" phot_row = aperture_photometry(xdf_image, aperture)[0]\n",
" phot_row[0] = id\n",
" phot_row[0] = idx\n",
" phot_table.add_row(phot_row)"
]
},
Expand Down Expand Up @@ -728,7 +728,7 @@
"plt.xscale('log')\n",
"plt.title('Count Rate v. Aperture Area')\n",
"plt.xlabel('Aperture Area [pixels$^2$]')\n",
"plt.xlabel(r'Flux Count Rate ({})'.format(xdf_image.unit.to_string('latex')))"
"plt.ylabel(r'Flux Count Rate ({})'.format(xdf_image.unit.to_string('latex')))"
]
},
{
Expand Down Expand Up @@ -845,11 +845,11 @@
"source": [
"# The CCDData mask will be automatically applied\n",
"bkg_phot_table = aperture_photometry(xdf_image, elliptical_annuli[0])\n",
"id = 1\n",
"idx = 1\n",
"for aperture in elliptical_annuli[1:]:\n",
" id += 1\n",
" idx += 1\n",
" phot_row = aperture_photometry(xdf_image, aperture)[0]\n",
" phot_row[0] = id\n",
" phot_row[0] = idx\n",
" bkg_phot_table.add_row(phot_row)"
]
},
Expand Down

0 comments on commit 852a3f2

Please sign in to comment.