Skip to content

Commit

Permalink
split manifest into 1.0.0 1.0.1 and 1.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
braingram committed Aug 17, 2023
1 parent 0a6a18f commit 4303814
Show file tree
Hide file tree
Showing 4 changed files with 210 additions and 2 deletions.
11 changes: 10 additions & 1 deletion docs/manifests.rst
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,14 @@ GWCS
:schema_root: ../resources
:standard_prefix: manifests

gwcs-1.0.0
gwcs-1.0.1
gwcs-1.1.0

Legacy
------

.. asdf-autoschemas::
:schema_root: ../resources
:standard_prefix: manifests

gwcs-1.0.0
75 changes: 75 additions & 0 deletions resources/manifests/gwcs-1.0.0.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,12 @@ tags:
Convert coordinates between vector and direction cosine form.
description: |
This schema is for transforms which convert to and from direction cosines.
- tag_uri: "tag:stsci.edu:gwcs/direction_cosines-1.1.0"
schema_uri: "http://stsci.edu/schemas/gwcs/direction_cosines-1.1.0"
title: >
Convert coordinates between vector and direction cosine form.
description: |
This schema is for transforms which convert to and from direction cosines.
- tag_uri: "tag:stsci.edu:gwcs/frame2d-1.0.0"
schema_uri: "http://stsci.edu/schemas/gwcs/frame2d-1.0.0"
title: >
Expand All @@ -45,6 +51,14 @@ tags:
Supports two models:
- Given incident angle and wavelength compute the refraction/difraction angle.
- Given an incident angle and a refraction angle compute the wavelength.
- tag_uri: "tag:stsci.edu:gwcs/grating_equation-1.1.0"
schema_uri: "http://stsci.edu/schemas/gwcs/grating_equation-1.1.0"
title: >
A grating equation model.
description: |
Supports two models:
- Given incident angle and wavelength compute the refraction/difraction angle.
- Given an incident angle and a refraction angle compute the wavelength.
- tag_uri: "tag:stsci.edu:gwcs/label_mapper-1.0.0"
schema_uri: "http://stsci.edu/schemas/gwcs/label_mapper-1.0.0"
title: >
Expand All @@ -58,19 +72,48 @@ tags:
[regions_selector](ref:regions_selector-1.0.0)
returns the transform corresponding to this label. This maps inputs
(e.g. pixels on a detector) to transforms uniquely.
- tag_uri: "tag:stsci.edu:gwcs/label_mapper-1.1.0"
schema_uri: "http://stsci.edu/schemas/gwcs/label_mapper-1.1.0"
title: >
Represents a mapping from a coordinate value to a label.
description: |
A label mapper instance maps inputs to a label. It is used together
with
[regions_selector](ref:regions_selector-1.1.0). The
[label_mapper](ref:label_mapper-1.1.0)
returns the label corresponding to given inputs. The
[regions_selector](ref:regions_selector-1.1.0)
returns the transform corresponding to this label. This maps inputs
(e.g. pixels on a detector) to transforms uniquely.
- tag_uri: "tag:stsci.edu:gwcs/regions_selector-1.0.0"
schema_uri: "http://stsci.edu/schemas/gwcs/regions_selector-1.0.0"
title: >
Represents a discontinuous transform.
description: |
Maps regions to transgorms and evaluates the transforms with the corresponding inputs.
- tag_uri: "tag:stsci.edu:gwcs/regions_selector-1.1.0"
schema_uri: "http://stsci.edu/schemas/gwcs/regions_selector-1.1.0"
title: >
Represents a discontinuous transform.
description: |
Maps regions to transgorms and evaluates the transforms with the corresponding inputs.
- tag_uri: "tag:stsci.edu:gwcs/sellmeier_glass-1.0.0"
schema_uri: "http://stsci.edu/schemas/gwcs/sellmeier_glass-1.0.0"
title: >
Sellmeier equation for glass
description: |
Sellmeier equation for glass.
$$ n(\\lambda)^2 = 1 + \\frac{(B1 * \\lambda^2 )}{(\\lambda^2 - C1)} +
\\frac{(B2 * \\lambda^2 )}{(\\lambda^2 - C2)} +
\\frac{(B3 * \\lambda^2 )}{(\\lambda^2 - C3)} $$
- tag_uri: "tag:stsci.edu:gwcs/sellmeier_glass-1.1.0"
schema_uri: "http://stsci.edu/schemas/gwcs/sellmeier_glass-1.1.0"
title: >
Sellmeier equation for glass
description: |
Sellmeier equation for glass.
$$ n(\\lambda)^2 = 1 + \\frac{(B1 * \\lambda^2 )}{(\\lambda^2 - C1)} +
\\frac{(B2 * \\lambda^2 )}{(\\lambda^2 - C2)} +
\\frac{(B3 * \\lambda^2 )}{(\\lambda^2 - C3)} $$
Expand All @@ -79,13 +122,25 @@ tags:
title: Sellmeier equation for glass used by Zemax
description: |
Sellmeier equation for glass used by Zemax
- tag_uri: "tag:stsci.edu:gwcs/sellmeier_zemax-1.1.0"
schema_uri: "http://stsci.edu/schemas/gwcs/sellmeier_zemax-1.1.0"
title: Sellmeier equation for glass used by Zemax
description: |
Sellmeier equation for glass used by Zemax
- tag_uri: "tag:stsci.edu:gwcs/snell3d-1.0.0"
schema_uri: "http://stsci.edu/schemas/gwcs/snell3d-1.0.0"
title: Snell Law in 3D space
description: |
Snell Law in 3D.
Inputs are index of refraction and direction cosines.
Outputs are direction cosines.
- tag_uri: "tag:stsci.edu:gwcs/snell3d-1.1.0"
schema_uri: "http://stsci.edu/schemas/gwcs/snell3d-1.1.0"
title: Snell Law in 3D space
description: |
Snell Law in 3D.
Inputs are index of refraction and direction cosines.
Outputs are direction cosines.
- tag_uri: "tag:stsci.edu:gwcs/spectral_frame-1.0.0"
schema_uri: "http://stsci.edu/schemas/gwcs/spectral_frame-1.0.0"
title: >
Expand All @@ -98,11 +153,23 @@ tags:
description: |
This schema is for transforms which convert between spherical coordinates
(on the unit sphere) and Cartesian coordinates.
- tag_uri: "tag:stsci.edu:gwcs/spherical_cartesian-1.1.0"
schema_uri: "http://stsci.edu/schemas/gwcs/spherical_cartesian-1.1.0"
title: >
Convert coordinates between spherical and Cartesian coordinates.
description: |
This schema is for transforms which convert between spherical coordinates
(on the unit sphere) and Cartesian coordinates.
- tag_uri: "tag:stsci.edu:gwcs/step-1.0.0"
schema_uri: "http://stsci.edu/schemas/gwcs/step-1.0.0"
title: >
Describes a single step of a WCS transform pipeline.
description: >
- tag_uri: "tag:stsci.edu:gwcs/step-1.1.0"
schema_uri: "http://stsci.edu/schemas/gwcs/step-1.1.0"
title: >
Describes a single step of a WCS transform pipeline.
description: >
- tag_uri: "tag:stsci.edu:gwcs/stokes_frame-1.0.0"
schema_uri: "http://stsci.edu/schemas/gwcs/stokes_frame-1.0.0"
title: >
Expand All @@ -121,4 +188,12 @@ tags:
ASDF WCS is a way of specifying transformations (usually from
detector space to world coordinate space and back) by using the
transformations in the `transform-schema` module.
- tag_uri: "tag:stsci.edu:gwcs/wcs-1.1.0"
schema_uri: "http://stsci.edu/schemas/gwcs/wcs-1.1.0"
title: >
A system for describing generalized world coordinate transformations.
description: >
ASDF WCS is a way of specifying transformations (usually from
detector space to world coordinate space and back) by using the
transformations in the `transform-schema` module.
...
124 changes: 124 additions & 0 deletions resources/manifests/gwcs-1.0.1.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,124 @@
%YAML 1.1
---
id: asdf://asdf-format.org/astronomy/gwcs/manifests/gwcs-1.0.1
extension_uri: asdf://asdf-format.org/astronomy/gwcs/extensions/gwcs-1.0.1
title: gwcs extension 1.0.1
description: |-
A set of tags for serializing STScI gwcs models.
asdf_standard_requirement:
gte: 1.1.0
tags:
- tag_uri: tag:stsci.edu:gwcs/celestial_frame-1.0.0
schema_uri: http://stsci.edu/schemas/gwcs/celestial_frame-1.0.0
title: A celestial frame
description: |-
Represents a celestial frame
- tag_uri: tag:stsci.edu:gwcs/composite_frame-1.0.0
schema_uri: http://stsci.edu/schemas/gwcs/composite_frame-1.0.0
title: A set of frames
description: |-
Represents a set of frames
- tag_uri: "tag:stsci.edu:gwcs/direction_cosines-1.0.0"
schema_uri: "http://stsci.edu/schemas/gwcs/direction_cosines-1.0.0"
title: >
Convert coordinates between vector and direction cosine form.
description: |
This schema is for transforms which convert to and from direction cosines.
- tag_uri: "tag:stsci.edu:gwcs/frame2d-1.0.0"
schema_uri: "http://stsci.edu/schemas/gwcs/frame2d-1.0.0"
title: >
Represents a 2D frame.
description: |
Represents a 2D frame.
- tag_uri: "tag:stsci.edu:gwcs/frame-1.0.0"
schema_uri: "http://stsci.edu/schemas/gwcs/frame-1.0.0"
title: |
The base class of all coordinate frames.
description: |
These objects are designed to be nested in arbitrary ways to build up
transformation pipelines out of a number of low-level pieces.
- tag_uri: "tag:stsci.edu:gwcs/grating_equation-1.0.0"
schema_uri: "http://stsci.edu/schemas/gwcs/grating_equation-1.0.0"
title: >
A grating equation model.
description: |
Supports two models:
- Given incident angle and wavelength compute the refraction/difraction angle.
- Given an incident angle and a refraction angle compute the wavelength.
- tag_uri: "tag:stsci.edu:gwcs/label_mapper-1.0.0"
schema_uri: "http://stsci.edu/schemas/gwcs/label_mapper-1.0.0"
title: >
Represents a mapping from a coordinate value to a label.
description: |
A label mapper instance maps inputs to a label. It is used together
with
[regions_selector](ref:regions_selector-1.0.0). The
[label_mapper](ref:label_mapper-1.0.0)
returns the label corresponding to given inputs. The
[regions_selector](ref:regions_selector-1.0.0)
returns the transform corresponding to this label. This maps inputs
(e.g. pixels on a detector) to transforms uniquely.
- tag_uri: "tag:stsci.edu:gwcs/regions_selector-1.0.0"
schema_uri: "http://stsci.edu/schemas/gwcs/regions_selector-1.0.0"
title: >
Represents a discontinuous transform.
description: |
Maps regions to transgorms and evaluates the transforms with the corresponding inputs.
- tag_uri: "tag:stsci.edu:gwcs/sellmeier_glass-1.0.0"
schema_uri: "http://stsci.edu/schemas/gwcs/sellmeier_glass-1.0.0"
title: >
Sellmeier equation for glass
description: |
Sellmeier equation for glass.
$$ n(\\lambda)^2 = 1 + \\frac{(B1 * \\lambda^2 )}{(\\lambda^2 - C1)} +
\\frac{(B2 * \\lambda^2 )}{(\\lambda^2 - C2)} +
\\frac{(B3 * \\lambda^2 )}{(\\lambda^2 - C3)} $$
- tag_uri: "tag:stsci.edu:gwcs/sellmeier_zemax-1.0.0"
schema_uri: "http://stsci.edu/schemas/gwcs/sellmeier_zemax-1.0.0"
title: Sellmeier equation for glass used by Zemax
description: |
Sellmeier equation for glass used by Zemax
- tag_uri: "tag:stsci.edu:gwcs/snell3d-1.0.0"
schema_uri: "http://stsci.edu/schemas/gwcs/snell3d-1.0.0"
title: Snell Law in 3D space
description: |
Snell Law in 3D.
Inputs are index of refraction and direction cosines.
Outputs are direction cosines.
- tag_uri: "tag:stsci.edu:gwcs/spectral_frame-1.0.0"
schema_uri: "http://stsci.edu/schemas/gwcs/spectral_frame-1.0.0"
title: >
Represents a spectral frame.
description: >
- tag_uri: "tag:stsci.edu:gwcs/spherical_cartesian-1.0.0"
schema_uri: "http://stsci.edu/schemas/gwcs/spherical_cartesian-1.0.0"
title: >
Convert coordinates between spherical and Cartesian coordinates.
description: |
This schema is for transforms which convert between spherical coordinates
(on the unit sphere) and Cartesian coordinates.
- tag_uri: "tag:stsci.edu:gwcs/step-1.0.0"
schema_uri: "http://stsci.edu/schemas/gwcs/step-1.0.0"
title: >
Describes a single step of a WCS transform pipeline.
description: >
- tag_uri: "tag:stsci.edu:gwcs/stokes_frame-1.0.0"
schema_uri: "http://stsci.edu/schemas/gwcs/stokes_frame-1.0.0"
title: >
Represents a stokes frame
description: >
- tag_uri: "tag:stsci.edu:gwcs/temporal_frame-1.0.0"
schema_uri: "http://stsci.edu/schemas/gwcs/temporal_frame-1.0.0"
title: >
Represents a temporal frame.
description: >
- tag_uri: "tag:stsci.edu:gwcs/wcs-1.0.0"
schema_uri: "http://stsci.edu/schemas/gwcs/wcs-1.0.0"
title: >
A system for describing generalized world coordinate transformations.
description: >
ASDF WCS is a way of specifying transformations (usually from
detector space to world coordinate space and back) by using the
transformations in the `transform-schema` module.
...
2 changes: 1 addition & 1 deletion resources/manifests/gwcs-1.1.0.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
---
id: asdf://asdf-format.org/astronomy/gwcs/manifests/gwcs-1.1.0
extension_uri: asdf://asdf-format.org/astronomy/gwcs/extensions/gwcs-1.1.0
title: gwcs extension 1.1
title: gwcs extension 1.1.0
description: |-
A set of tags for serializing STScI gwcs models.
asdf_standard_requirement:
Expand Down

0 comments on commit 4303814

Please sign in to comment.