Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RAD-136 Add Slope and Error to Dark #323

Merged
merged 2 commits into from
Oct 10, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion CHANGES.rst
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
0.17.2 (unreleased)
-------------------

-
- Added Slope and Error to Dark reference schema. [#323]

0.17.1 (2023-08-03)
-------------------
Expand Down
28 changes: 27 additions & 1 deletion src/rad/resources/schemas/reference_files/dark-1.0.0.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,33 @@ properties:
unit:
tag: tag:astropy.org:astropy/units/unit-1.0.0
enum: ["DN"]
dark_slope:
title: Dark current slope array
description: |
The dark current slope array represents the slope of the
integrated number of counts due to the accumulation of dark
current electrons in the pixels for slope fitting purposes.
tag: tag:stsci.edu:asdf/unit/quantity-1.1.0
properties:
value:
tag: tag:stsci.edu:asdf/core/ndarray-1.0.0
datatype: float32
ndim: 2
unit:
tag: tag:astropy.org:astropy/units/unit-1.0.0
enum: ["DN / s"]
dark_slope_error:
title: Uncertainty in dark current slope array
tag: tag:stsci.edu:asdf/unit/quantity-1.1.0
properties:
value:
tag: tag:stsci.edu:asdf/core/ndarray-1.0.0
datatype: float32
ndim: 2
unit:
tag: tag:astropy.org:astropy/units/unit-1.0.0
enum: ["DN / s"]
required: [meta, data, dq, err]
flowStyle: block
propertyOrder: [meta, data, dq, err]
propertyOrder: [meta, data, dq, err, dark_slope, dark_slope_error]
...