coords-0.7.0

Convert coordinates between vector and directional cosine form.

Description

This schema is for representing any model that takes coordinates and does some computation with them. Models have no parameters. Currently it supports DirCos2Unitless, Unitless2DirCos.

Outline

Schema Definitions

This node must validate against all of the following:

Examples

Convert directional cosines to vectors.:

!<tag:stsci.edu:jwst_pipeline/coords-0.7.0>
  model_type: directional2unitless

Convert vectors to directional cosines.:

!<tag:stsci.edu:jwst_pipeline/coords-0.7.0>
  model_type: unitless2directional

Original Schema

%YAML 1.1
---
$schema: "http://stsci.edu/schemas/yaml-schema/draft-01"
id: "http://stsci.edu/schemas/jwst_pipeline/coords-0.7.0"
tag: "tag:stsci.edu:jwst_pipeline/coords-0.7.0"

title: >
  Convert coordinates between vector and directional cosine form.

description: |
  This schema is for representing any model that takes coordinates and does
  some computation with them. Models have no parameters. Currently it supports
  DirCos2Unitless, Unitless2DirCos.

examples: 
  - 
    - Convert directional cosines to vectors.

    - |
      
        !<tag:stsci.edu:jwst_pipeline/coords-0.7.0>
          model_type: directional2unitless

  -
    - Convert vectors to directional cosines.

    - |
        !<tag:stsci.edu:jwst_pipeline/coords-0.7.0>
          model_type: unitless2directional

allOf:
  - $ref:  "tag:stsci.edu:asdf/transform/transform-1.1.0"
  - object:
    properties:
      model_type: 
        description: |
          The type of class to initialize.
        type: string
    required: [model_type]