Skip to content

Commit

Permalink
Initial commit.
Browse files Browse the repository at this point in the history
  • Loading branch information
PaulHuwe committed Oct 7, 2024
1 parent b70c830 commit 6ad5e38
Show file tree
Hide file tree
Showing 2 changed files with 38 additions and 46 deletions.
4 changes: 2 additions & 2 deletions src/rad/resources/schemas/cal_logs-1.0.0.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ id: asdf://stsci.edu/datamodels/roman/schemas/cal_logs-1.0.0

title: Calibration Log Messages
description: |
String array of log messages recording the steps, failures, and outputs
associated with running the romancal.ramp_fitting.ramp_fit_step.
String array of log messages recording the steps, failures,
and outputs associated with running romancal steps.
type: array
items:
type: string
Expand Down
80 changes: 36 additions & 44 deletions src/rad/resources/schemas/l2_cal_step-1.0.0.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,23 +7,23 @@ title: Level 2 Calibration Status
type: object
properties:
assign_wcs:
title: Assign WCS Step
title: Assign World Coordinate System (WCS) Step
description: |
Step in ROMANCAL that assigns a World Coordinate System (WCS) object to a
science image.
Step in romancal that assigns a World Coordinate
System (WCS) object to a science image.
type: string
enum: ['N/A', 'COMPLETE', 'SKIPPED', 'INCOMPLETE']
maxLength: 15
archive_catalog:
datatype: nvarchar(15)
destination: [ScienceRefData.s_assign_wcs]
flat_field:
title: Flat Fielding Step
title: Flat Field Correction Step
description: |
Step in ROMANCAL in which a science image is flat-fielded, whereby each
detector pixel is calibrated to give the same signal for the same
illumination, given its specific response. This is achieved using a
flatfield reference image.
Step in romancal in which a science image is
flat-fielded, whereby each detector pixel is calibrated to give
the same signal for the same illumination based on the pixel
response.
type: string
enum: ['N/A', 'COMPLETE', 'SKIPPED', 'INCOMPLETE']
maxLength: 15
Expand All @@ -33,19 +33,20 @@ properties:
dark:
title: Dark Current Subtraction Step
description: |
Step in ROMANCAL performing the dark current correction by subtracting
dark current reference data from science data.
Step in romancal that performs a correction for the
dark current by substracting the dark reference data from the
science data.
type: string
enum: ['N/A', 'COMPLETE', 'SKIPPED', 'INCOMPLETE']
maxLength: 15
archive_catalog:
datatype: nvarchar(15)
destination: [ScienceRefData.s_dark]
dq_init:
title: Initialization of the Data Quality Extension Step
title: Data Quality Initialization Step
description: |
Step in ROMANCAL in which the pixeldq attribute of the input data model
using the MASK reference file is initialized.
Step in romancal that initializes the data quality
array and masks known bad pixels.
type: string
enum: ['N/A', 'COMPLETE', 'SKIPPED', 'INCOMPLETE']
maxLength: 15
Expand All @@ -63,33 +64,22 @@ properties:
archive_catalog:
datatype: nvarchar(15)
destination: [ScienceRefData.s_flux]
jump:
title: Cosmic Rays and Jump Detection Step
description: |
Step in ROMANCAL which performs a search for jumps in values in ramp that
may be associated with cosmic rays.
type: string
enum: ['N/A', 'COMPLETE', 'SKIPPED', 'INCOMPLETE']
maxLength: 15
archive_catalog:
datatype: nvarchar(15)
destination: [ScienceRefData.s_jump]
linearity:
title: Linearity Correction Step
title: Classical Linearity Correction Step
description: |
Step in ROMANCAL which performs a correction for the classical non-linear
detector response.
Step in romancal that linearizes the ramp data to
correct for deviations from a linear response.
type: string
enum: ['N/A', 'COMPLETE', 'SKIPPED', 'INCOMPLETE']
maxLength: 15
archive_catalog:
datatype: nvarchar(15)
destination: [ScienceRefData.s_linearity]
photom:
title: Photometric Calibration Step
title: Populate Photometric Keywords Step
description: |
Step in ROMANCAL that adds photometric calibrations to the metadata of a
data product.
Step in romancal that populates photometric
calibration information in the metadata of the science file.
type: string
enum: ['N/A', 'COMPLETE', 'SKIPPED', 'INCOMPLETE']
maxLength: 15
Expand All @@ -99,18 +89,19 @@ properties:
source_detection:
title: Source Detection Step
description: |
Step in ROMANCAL to detect point sources in an image and catalog them.
Step in romancal that detects point sources in an
image for use in astrometric alignment.
type: string
enum: ['N/A', 'COMPLETE', 'SKIPPED', 'INCOMPLETE']
maxLength: 15
archive_catalog:
datatype: nvarchar(15)
destination: [ScienceRefData.s_source_detection]
ramp_fit:
title: Ramp Fit Step
title: Ramp Fitting Step
description: |
Step in ROMANCAL to fit the counts versus time with a straight line and
thus estimate the count rate for each pixel.
Step in romancal that fits a slope to each pixel to
compute the count rate.
type: string
enum: ['N/A', 'COMPLETE', 'SKIPPED', 'INCOMPLETE']
maxLength: 15
Expand All @@ -120,8 +111,9 @@ properties:
refpix:
title: Reference Pixel Correction Step
description: |
Step in ROMANCAL that corrects for additional signal from electronics
contributing to (e.g. 1/f noise) using the reference pixels.
Step in romancal that corrects science pixels for
additional signal from the readout electronics (e.g., 1/f noise)
using the reference pixels.
type: string
enum: ['N/A', 'COMPLETE', 'SKIPPED', 'INCOMPLETE']
maxLength: 15
Expand All @@ -131,9 +123,8 @@ properties:
saturation:
title: Saturation Identification Step
description: |
Step in ROMANCAL which sets pixel flags to label that a pixel is at or
above the saturation threshold. As part of this step, pixels that are zero
or negative are also flagged.
Step in romancal that sets data quality flags for
pixels at or above the saturation threshold.
type: string
enum: ['N/A', 'COMPLETE', 'SKIPPED', 'INCOMPLETE']
maxLength: 15
Expand All @@ -153,9 +144,10 @@ properties:
tweakreg:
title: Tweakreg step
description: |
Step in ROMANCAL that compares positions of point-like sources with
coordinates from a Gaia catalog, and, if necessary, corrects an image's
World Coordinate System alignment.
Step in romancal that compares the positions of point
sources in the image with coordinates from an astrometric
catalog and, if necessary, corrects the World Coordinate System
(WCS) alignment.
type: string
enum: ['N/A', 'COMPLETE', 'SKIPPED', 'INCOMPLETE']
maxLength: 15
Expand All @@ -173,10 +165,10 @@ properties:
archive_catalog:
datatype: nvarchar(15)
destination: [ScienceRefData.s_skymatch]
propertyOrder: [assign_wcs, flat_field, flux, dark, dq_init, jump, linearity, photom, source_detection,
propertyOrder: [assign_wcs, flat_field, flux, dark, dq_init, linearity, photom, source_detection,
outlier_detection, ramp_fit, refpix, saturation, skymatch, tweakreg]
flowStyle: block
required: [assign_wcs, flat_field, flux, dark, dq_init, jump, linearity, outlier_detection, photom,
required: [assign_wcs, flat_field, flux, dark, dq_init, linearity, outlier_detection, photom,
source_detection, ramp_fit, refpix, saturation, skymatch, tweakreg]
additionalProperties: true
...

0 comments on commit 6ad5e38

Please sign in to comment.