forked from spacetelescope/romancal
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Rcal 740 Add Data Products documentation to RTD (spacetelescope#1064)
Co-authored-by: Zach Burnett <[email protected]> Co-authored-by: Eddie Schlafly <[email protected]> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
- Loading branch information
1 parent
afabbfd
commit bddbf89
Showing
11 changed files
with
292 additions
and
4 deletions.
There are no files selected for viewing
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file was deleted.
Oops, something went wrong.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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,38 @@ | ||
.. _file_naming_schemes: | ||
|
||
File Naming Schemes | ||
------------------- | ||
|
||
.. _exp_file_names: | ||
|
||
Exposure file names | ||
^^^^^^^^^^^^^^^^^^^ | ||
The names of the exposure level data are constructed with information from the | ||
science header of the exposure, allowing users to map it to the observation in their corresponding | ||
APT files. The ASDF file naming scheme for the Exposure products is:: | ||
|
||
r<ppppp><cc><aaa><sss><ooo><vvv>_<gg><s><aa>_<eeeee>_<detector>_<prodType>.fits | ||
|
||
where | ||
|
||
- ppppp: program ID number | ||
- cc: Execution Plan number | ||
- aaa: Pass Number (within execution plan) | ||
- sss: Segment Number (within pass) | ||
- ooo: observation number | ||
- vvv: visit number | ||
- gg: visit group | ||
- s: sequence ID (1=prime, >1 parallel) | ||
- aa: activity number (base 36) | ||
- eeeee: exposure number | ||
- detector: detector name (e.g. WFI01, WFI02, ...) | ||
- prodType: product type identifier (e.g. 'uncal', 'cal') | ||
|
||
The standard <prodType> for the pipeline are uncal and cal, for the input products and resulting | ||
calibrated product. There are optional suffixes for intermediate products that are not routinely | ||
produced by the pipeline and are based of the processing level and can include dqinit, saturation, | ||
linearity, jump, darkcurrent, rampfit, assignwcs, flat, and photom. | ||
|
||
An example Exposure Level product ASDF file name is:: | ||
|
||
r0000101001001001001_01101_0001_WFI01_cal.asdf |
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,12 @@ | ||
.. _data_products: | ||
|
||
Data Products Information | ||
========================= | ||
|
||
.. toctree:: | ||
:maxdepth: 3 | ||
|
||
stages.rst | ||
file_naming.rst | ||
product_types.rst | ||
science_products.rst |
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,51 @@ | ||
Data Product Types | ||
------------------ | ||
The following tables contain lists of all data product types. | ||
|
||
|
||
|
||
Exposure Level Data Products | ||
++++++++++++++++++++++++++++ | ||
|
||
+----------------------------------------------------------------+------------------------+--------------------------+------+-----------------------+---------------------------------------+ | ||
| Pipeline | Input | Output(s) | Base | Units | Description | | ||
+================================================================+========================+==========================+======+=======================+=======================================+ | ||
| :ref:`romancal.pipeline.ExposurePipeline <exposure_pipeline>` | uncal | cal | Exp | DN/s | 2-D calibrated data | | ||
+----------------------------------------------------------------+------------------------+--------------------------+------+-----------------------+---------------------------------------+ | ||
|
||
Exposure Step Data Products | ||
+++++++++++++++++++++++++++ | ||
|
||
The following table contain lists of all data product types for exposure pipeline, as given by their file name suffix. The input uncal file and the final cal file | ||
are the only files that are produced in the standard processing. All the other are optional (opt) files that can be produced when | ||
the user is running the pipeline. The input for each optional step is the output of the preceeding step. | ||
|
||
+------------------------------------------------+-----------------+--------------------------+------------------+---------------------+---------------------------------------+ | ||
| Pipeline Step | Input | Output(s) | Model | Units | Description | | ||
+================================================+=================+==========================+==================+=====================+=======================================+ | ||
| | | uncal | ScienceRawModel | DN | 3-D uncalibrated exposure data | | ||
+------------------------------------------------+-----------------+--------------------------+------------------+---------------------+---------------------------------------+ | ||
| :ref:`dq_init <dq_init_step>` | uncal | dq_init (opt) | RampModel | electron | 3-D data quality flags applied | | ||
+------------------------------------------------+-----------------+--------------------------+------------------+---------------------+---------------------------------------+ | ||
| :ref:`saturation <saturation_step>` | | saturation (opt) | RampModel | electron | 3-D data saturated values flagged | | ||
+------------------------------------------------+-----------------+--------------------------+------------------+---------------------+---------------------------------------+ | ||
| :ref:`reference pixels <refpix>` | | ref_pix (opt) | RampModel | electron | 3-D ref pix corrected data | | ||
+------------------------------------------------+-----------------+--------------------------+------------------+---------------------+---------------------------------------+ | ||
| :ref:`linearity <linearity_step>` | | linearity (opt) | RampModel | electron | 3-D linearity corrected data | | ||
+------------------------------------------------+-----------------+--------------------------+------------------+---------------------+---------------------------------------+ | ||
| :ref:`dark_current <dark_current_step>` | | dark_current (opt) | RampModel | electron | 3-D dark current subtracted data | | ||
+------------------------------------------------+-----------------+--------------------------+------------------+---------------------+---------------------------------------+ | ||
| :ref:`ramp_fitting <ramp_fitting_step>` | | ramp_fit (opt) | ImageModel | electron/s | 2-D slope corrected data | | ||
+------------------------------------------------+-----------------+--------------------------+------------------+---------------------+---------------------------------------+ | ||
| :ref:`assign_wcs <assign_wcs_step>` | | assign_wcs (opt) | ImageModel | electron/s | 2-D data with gwcs | | ||
+------------------------------------------------+-----------------+--------------------------+------------------+---------------------+---------------------------------------+ | ||
| :ref:`flat_field <flatfield_step>` | | flat_field (opt) | ImageModel | electron/s | 2-D QE corrected data | | ||
+------------------------------------------------+-----------------+--------------------------+------------------+---------------------+---------------------------------------+ | ||
| :ref:`photom <photom_step>` | | photom (opt) | ImageModel | electron/s | Add phometric data to header | | ||
+------------------------------------------------+-----------------+--------------------------+------------------+---------------------+---------------------------------------+ | ||
| :ref:`source_detection <source_detection_step>`| | photom (opt) | ImageModel | electron/s | Sources identified in the data | | ||
+------------------------------------------------+-----------------+--------------------------+------------------+---------------------+---------------------------------------+ | ||
| :ref:`tweakreg <tweakreg_step>` | | tweak_reg (opt) | ImageModel | electron/s | WCS aligned with GAIA | | ||
+------------------------------------------------+-----------------+--------------------------+------------------+---------------------+---------------------------------------+ | ||
| | | cal | ImageModel | electrons/s | 2-D calibrated exposure data | | ||
+------------------------------------------------+-----------------+--------------------------+------------------+---------------------+---------------------------------------+ |
Oops, something went wrong.