Skip to content

Commit

Permalink
RAD-136 Add Slope and Error to Dark (#323)
Browse files Browse the repository at this point in the history
* Added slopes to dark.

* Updated Changelog.
  • Loading branch information
PaulHuwe authored Oct 10, 2023
1 parent 32cc2d3 commit 9726fe3
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 2 deletions.
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]
...

0 comments on commit 9726fe3

Please sign in to comment.