Debian Codegraph @

resources/schemas/stsci.edu/gwcs/grating_equation-1.2.0.yaml

raw
1 %YAML 1.1
2 ---
3 $schema: "http://stsci.edu/schemas/yaml-schema/draft-01"
4 id: "http://stsci.edu/schemas/gwcs/grating_equation-1.2.0"
5
6 title: >
7 A grating equation model.
8 description: |
9 Supports two models:
10 - Given incident angle and wavelength compute the refraction/difraction angle.
11 - Given an incident angle and a refraction angle compute the wavelength.
12
13 examples:
14 -
15 - AnglesFromGratingEquation3D model.
16 - asdf-standard-1.6.0
17 - |
18 !<tag:stsci.edu:gwcs/grating_equation-1.2.0>
19 groove_density: 2700.0
20 order: 2.0
21 output: angle
22
23 -
24 - WavelengthFromGratingEquation model.
25 - asdf-standard-1.6.0
26 - |
27 !<tag:stsci.edu:gwcs/grating_equation-1.2.0>
28 groove_density: 2700.0
29 order: 2.0
30 output: wavelength
31
32 allOf:
33 - $ref: "http://stsci.edu/schemas/asdf/transform/transform-1.3.0"
34 - type: object
35 properties:
36 groove_density:
37 description: |
38 The groove density of the grating
39 anyOf:
40 - type: number
41 - $ref: "http://stsci.edu/schemas/asdf/unit/quantity-1.2.0"
42 order:
43 description: |
44 Spectral order
45 type: number
46 output:
47 type: string
48 description: |
49 indicates which quantity the grating equation is solved for.
50 enum: [wavelength, angle]
51 required: [groove_density, order, output]
52 ...