-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #22 from simontorres/update_docs_and_prepare_release
Update docs and prepare release
- Loading branch information
Showing
13 changed files
with
51,489 additions
and
126 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,69 @@ | ||
Getting Data | ||
############ | ||
|
||
The goodman focus value ranges from :math:`-2000` to :math:`+2000` the best | ||
practice (from experience) is to sample every :math:`200`. If you want to refine | ||
you should not go below a :math:`100` step. If you already know the approximate | ||
focus value for a given setup, you don't need to do the full range, just take | ||
enough samples so it is possible to make a fit or see the trends. | ||
At least five points. | ||
|
||
|
||
.. note:: | ||
|
||
Always use the narrowest slit available | ||
|
||
|
||
Imaging | ||
******* | ||
|
||
For imaging, an image of the slit is obtained, illuminated by an | ||
uniform light such as a quartz lamp. A special ROI is used for faster reading. | ||
This does not affect the focus of course. | ||
|
||
.. plot:: | ||
|
||
import matplotlib.pyplot as plt | ||
from ccdproc import CCDData | ||
|
||
ccd = CCDData.read('_static/im_g_SDSS.fits', unit='adu') | ||
|
||
fig, ax = plt.subplots(figsize=(8, 2)) | ||
|
||
ax.set_title("Imaging - g-SDSS\nDome Lamp 40%") | ||
|
||
ax.imshow(ccd.data, cmap='gray', clim=(484, 513)) | ||
|
||
Spectroscopy | ||
************ | ||
|
||
In spectroscopy a comparison lamp is observed and after every line is measured | ||
and fitted, an average is obtained with sigma clip rejection. | ||
|
||
.. plot:: | ||
|
||
import matplotlib.pyplot as plt | ||
from ccdproc import CCDData | ||
|
||
ccd = CCDData.read('_static/sp_400m1.fits', unit='adu') | ||
|
||
fig, ax = plt.subplots(figsize=(8, 2)) | ||
|
||
ax.set_title("Spectroscopy - 400m1\nHgArNe") | ||
|
||
ax.imshow(ccd.data, cmap='gray', clim=(490, 836)) | ||
|
||
|
||
|
||
.. plot:: | ||
|
||
import matplotlib.pyplot as plt | ||
from ccdproc import CCDData | ||
|
||
ccd = CCDData.read('_static/sp_400m2.fits', unit='adu') | ||
|
||
fig, ax = plt.subplots(figsize=(8, 2)) | ||
|
||
ax.set_title("Spectroscopy - 400m2\nHgArNe") | ||
|
||
ax.imshow(ccd.data, cmap='gray', clim=(487, 1157)) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.