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

Remove guidewindow units #499

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
1 change: 1 addition & 0 deletions changes/499.feature.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Remove units from Guidewindow schema.
45 changes: 15 additions & 30 deletions src/rad/resources/schemas/guidewindow-1.0.0.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -240,16 +240,11 @@ properties:
resultants, H is the number of reads of the detector in a given science
resultant, K is the number of guide window reads in a science read, and X
and Y are the pixel locations.
tag: tag:stsci.edu:asdf/unit/quantity-1.*
properties:
value:
tag: tag:stsci.edu:asdf/core/ndarray-1.*
datatype: uint16
exact_datatype: true
ndim: 5
unit:
tag: tag:astropy.org:astropy/units/unit-1.*
enum: ["DN"]
tag: tag:stsci.edu:asdf/core/ndarray-1.*
datatype: uint16
exact_datatype: true
ndim: 5
unit: DN
signal_frames:
title: Guide Window Signal Resultant Array (DN)
description: |
Expand All @@ -258,16 +253,11 @@ properties:
resultants, H is the number of reads of the detector in a given science
resultant, K is the number of guide window reads in a science read, and X
and Y are the pixel locations.
tag: tag:stsci.edu:asdf/unit/quantity-1.*
properties:
value:
tag: tag:stsci.edu:asdf/core/ndarray-1.*
datatype: uint16
exact_datatype: true
ndim: 5
unit:
tag: tag:astropy.org:astropy/units/unit-1.*
enum: ["DN"]
tag: tag:stsci.edu:asdf/core/ndarray-1.*
datatype: uint16
exact_datatype: true
ndim: 5
unit: DN
amp33:
title: Guide Window Amplifier 33 Reference Pixel Resultant Array (DN)
description: |
Expand All @@ -276,16 +266,11 @@ properties:
science resultants, H is the number of reads of the detector in a given
science resultant, K is the number of guide window reads in a science
read, and X and Y are the pixel locations.
tag: tag:stsci.edu:asdf/unit/quantity-1.*
properties:
value:
tag: tag:stsci.edu:asdf/core/ndarray-1.*
datatype: uint16
exact_datatype: true
ndim: 5
unit:
tag: tag:astropy.org:astropy/units/unit-1.*
enum: ["DN"]
tag: tag:stsci.edu:asdf/core/ndarray-1.*
datatype: uint16
exact_datatype: true
ndim: 5
unit: DN
propertyOrder: [meta, pedestal_frames, signal_frames, amp33]
flowStyle: block
required: [meta, pedestal_frames, signal_frames, amp33]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@ properties:
title: Two Dimensional Quality Array for all Resultants
description: |
Two Dimensional Quality Array for all Resultants.
title: 2-D data quality array for all planes
tag: tag:stsci.edu:asdf/core/ndarray-1.*
datatype: uint32
exact_datatype: true
Expand Down