Skip to content

Commit

Permalink
Remove guidewindow units (#499)
Browse files Browse the repository at this point in the history
  • Loading branch information
WilliamJamieson authored Nov 5, 2024
1 parent 21953d1 commit a82c274
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 31 deletions.
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

0 comments on commit a82c274

Please sign in to comment.