-
Notifications
You must be signed in to change notification settings - Fork 28
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 #488 from PaulHuwe/RCAL-324_UpdatePhotomDocs
RCAL-324: Update documentation for photom step
- Loading branch information
Showing
11 changed files
with
84 additions
and
84 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
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,10 @@ | ||
Step Arguments | ||
============== | ||
|
||
The photometric calibration step has one step-specific argument: | ||
|
||
* ``--photom`` | ||
|
||
If the ``photom`` argument is given with a filename for its value, | ||
the photometric calibrated data that are created within the step will be | ||
saved to that file. |
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,39 @@ | ||
Description | ||
============ | ||
|
||
Algorithm | ||
--------- | ||
The ``photom`` step adds flux (photometric) calibrations to the metadata of | ||
a data product. The calibration information is read from a photometric reference | ||
file, and the exact nature of the calibration information loaded from the reference file | ||
is described below. This step does not affect the pixel values of the data product. | ||
|
||
Upon successful completion of the photometric correction, the "photom" keyword in | ||
"cal_step" in the metadata is set to "COMPLETE". | ||
|
||
|
||
Photom and Pixel Area Data | ||
-------------------------------- | ||
|
||
The photom reference file contains a table of | ||
exposure parameters that define the flux | ||
conversion and pixel area data for each optical element. The table contains one row | ||
for each optical_element, and the photom step searches the | ||
table for the row that matches the parameters of the science exposure and | ||
then loads the calibration information from that row of the table. | ||
|
||
|
||
|
||
For these table-based PHOTOM reference files, the calibration information in each | ||
row includes a scalar flux conversion constant, the conversion uncertainty, and the nominal pixel area. | ||
|
||
The scalar conversion constant is copied to the header keyword "conversion_megajanskys", which | ||
gives the conversion from DN/s to megaJy/steradian, and converted to microJy/square arcseconds and saved to | ||
the header keyword "conversion_microjanskys". The same process is performed for the uncertainty, with | ||
the values saved in "conversion_megajanskys_uncertainty" and "conversion_microjanskys_uncertainty", | ||
respectively. | ||
|
||
The step also populates the metadata keywords "pixelarea_steradians" and "pixelarea_arcsecsq" in the | ||
science data product, which give the average pixel area in units of | ||
steradians and square arcseconds, respectively. | ||
|
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 |
---|---|---|
@@ -1,8 +1,7 @@ | ||
Reference Files | ||
=============== | ||
The ``photom`` step uses :ref:`PHOTOM <photom_reffile>` | ||
and pixel :ref:`AREA <area_reffile>` reference files. | ||
reference files. | ||
|
||
.. include:: ../references_general/photom_reffile.inc | ||
|
||
.. include:: ../references_general/area_reffile.inc |
This file was deleted.
Oops, something went wrong.
This file was deleted.
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
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