forked from spacetelescope/rad
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
RAD-171: Add statistics field to TVAC and FPS schemas (spacetelescope…
…#423) * Initial save. * Corrected unit tag types. * Updated Changelog.
- Loading branch information
Showing
4 changed files
with
202 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,95 @@ | ||
%YAML 1.1 | ||
--- | ||
$schema: asdf://stsci.edu/datamodels/roman/schemas/rad_schema-1.0.0 | ||
id: asdf://stsci.edu/datamodels/roman/schemas/fps/statistics-1.0.0 | ||
|
||
|
||
title: | | ||
FPS Summary Statistics | ||
type: object | ||
properties: | ||
mean_counts_per_sec: | ||
title: Mean number of counts per second | ||
description: | | ||
Mean number of counts per second of the data cube | ||
anyOf: | ||
- tag: tag:stsci.edu:asdf/unit/quantity-1.* | ||
properties: | ||
datatype: | ||
enum: ["float64"] | ||
unit: | ||
tag: tag:astropy.org:astropy/units/unit-1.* | ||
enum: ["DN / s"] | ||
- type: "null" | ||
sdf: | ||
special_processing: VALUE_REQUIRED | ||
source: | ||
origin: TBD | ||
archive_catalog: | ||
datatype: float | ||
destination: [WFICommon.mean_counts_per_sec] | ||
median_counts_per_sec: | ||
title: Median number of counts per second | ||
description: | | ||
Median number of counts per second of the data cube | ||
anyOf: | ||
- tag: tag:stsci.edu:asdf/unit/quantity-1.* | ||
properties: | ||
datatype: | ||
enum: ["float64"] | ||
unit: | ||
tag: tag:astropy.org:astropy/units/unit-1.* | ||
enum: ["DN / s"] | ||
- type: "null" | ||
sdf: | ||
special_processing: VALUE_REQUIRED | ||
source: | ||
origin: TBD | ||
archive_catalog: | ||
datatype: float | ||
destination: [WFICommon.median_counts_per_sec] | ||
max_counts: | ||
title: Maximum number of counts | ||
description: | | ||
Maximum number of counts in the data cube | ||
anyOf: | ||
- tag: tag:stsci.edu:asdf/unit/quantity-1.* | ||
properties: | ||
datatype: | ||
enum: ["int32"] | ||
unit: | ||
tag: tag:astropy.org:astropy/units/unit-1.* | ||
enum: ["DN"] | ||
- type: "null" | ||
sdf: | ||
special_processing: VALUE_REQUIRED | ||
source: | ||
origin: TBD | ||
archive_catalog: | ||
datatype: int | ||
destination: [WFICommon.max_counts] | ||
min_counts: | ||
title: Minimum number of counts | ||
description: | | ||
Minimum number of counts in the data cube | ||
anyOf: | ||
- tag: tag:stsci.edu:asdf/unit/quantity-1.* | ||
properties: | ||
datatype: | ||
enum: ["int32"] | ||
unit: | ||
tag: tag:astropy.org:astropy/units/unit-1.* | ||
enum: ["DN"] | ||
- type: "null" | ||
sdf: | ||
special_processing: VALUE_REQUIRED | ||
source: | ||
origin: TBD | ||
archive_catalog: | ||
datatype: int | ||
destination: [WFICommon.min_counts] | ||
propertyOrder: [mean_counts_per_sec, median_counts_per_sec, max_counts, min_counts] | ||
flowStyle: block | ||
required: [mean_counts_per_sec, median_counts_per_sec, max_counts, min_counts] | ||
... |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,95 @@ | ||
%YAML 1.1 | ||
--- | ||
$schema: asdf://stsci.edu/datamodels/roman/schemas/rad_schema-1.0.0 | ||
id: asdf://stsci.edu/datamodels/roman/schemas/tvac/statistics-1.0.0 | ||
|
||
|
||
title: | | ||
TVAC Summary Statistics | ||
type: object | ||
properties: | ||
mean_counts_per_sec: | ||
title: Mean number of counts per second | ||
description: | | ||
Mean number of counts per second of the data cube | ||
anyOf: | ||
- tag: tag:stsci.edu:asdf/unit/quantity-1.* | ||
properties: | ||
datatype: | ||
enum: ["float64"] | ||
unit: | ||
tag: tag:astropy.org:astropy/units/unit-1.* | ||
enum: ["DN / s"] | ||
- type: "null" | ||
sdf: | ||
special_processing: VALUE_REQUIRED | ||
source: | ||
origin: TBD | ||
archive_catalog: | ||
datatype: float | ||
destination: [WFICommon.mean_counts_per_sec] | ||
median_counts_per_sec: | ||
title: Median number of counts per second | ||
description: | | ||
Median number of counts per second of the data cube | ||
anyOf: | ||
- tag: tag:stsci.edu:asdf/unit/quantity-1.* | ||
properties: | ||
datatype: | ||
enum: ["float64"] | ||
unit: | ||
tag: tag:astropy.org:astropy/units/unit-1.* | ||
enum: ["DN / s"] | ||
- type: "null" | ||
sdf: | ||
special_processing: VALUE_REQUIRED | ||
source: | ||
origin: TBD | ||
archive_catalog: | ||
datatype: float | ||
destination: [WFICommon.median_counts_per_sec] | ||
max_counts: | ||
title: Maximum number of counts | ||
description: | | ||
Maximum number of counts in the data cube | ||
anyOf: | ||
- tag: tag:stsci.edu:asdf/unit/quantity-1.* | ||
properties: | ||
datatype: | ||
enum: ["int32"] | ||
unit: | ||
tag: tag:astropy.org:astropy/units/unit-1.* | ||
enum: ["DN"] | ||
- type: "null" | ||
sdf: | ||
special_processing: VALUE_REQUIRED | ||
source: | ||
origin: TBD | ||
archive_catalog: | ||
datatype: int | ||
destination: [WFICommon.max_counts] | ||
min_counts: | ||
title: Minimum number of counts | ||
description: | | ||
Minimum number of counts in the data cube | ||
anyOf: | ||
- tag: tag:stsci.edu:asdf/unit/quantity-1.* | ||
properties: | ||
datatype: | ||
enum: ["int32"] | ||
unit: | ||
tag: tag:astropy.org:astropy/units/unit-1.* | ||
enum: ["DN"] | ||
- type: "null" | ||
sdf: | ||
special_processing: VALUE_REQUIRED | ||
source: | ||
origin: TBD | ||
archive_catalog: | ||
datatype: int | ||
destination: [WFICommon.min_counts] | ||
propertyOrder: [mean_counts_per_sec, median_counts_per_sec, max_counts, min_counts] | ||
flowStyle: block | ||
required: [mean_counts_per_sec, median_counts_per_sec, max_counts, min_counts] | ||
... |