grating_equation-1.0.0
A grating equation model.
Description
Supports two models:
Given incident angle and wavelength compute the refraction/diffraction angle.
Given an incident angle and a refraction angle compute the wavelength.
Outline
Schema Definitions ¶
This node must validate against all of the following:
This type is an object with the following properties:
groove_density
number Required The groove density of the grating
order
number Required Spectral order
Examples ¶
AngleFromGratingEquation model.:
!<tag:stsci.edu:jwst_pipeline/grating_equation-1.0.0>
groove_density: 2700.0
order: 2.0
output: angle
WavelengthFromGratingEquation model.:
!<tag:stsci.edu:jwst_pipeline/grating_equation-1.0.0>
groove_density: 2700.0
order: 2.0
output: wavelength
Original Schema ¶
%YAML 1.1
---
$schema: "http://stsci.edu/schemas/yaml-schema/draft-01"
id: "http://stsci.edu/schemas/jwst_pipeline/grating_equation-1.0.0"
title: >
A grating equation model.
description: |
Supports two models:
- Given incident angle and wavelength compute the refraction/diffraction angle.
- Given an incident angle and a refraction angle compute the wavelength.
examples:
-
- AngleFromGratingEquation model.
- |
!<tag:stsci.edu:jwst_pipeline/grating_equation-1.0.0>
groove_density: 2700.0
order: 2.0
output: angle
-
- WavelengthFromGratingEquation model.
- |
!<tag:stsci.edu:jwst_pipeline/grating_equation-1.0.0>
groove_density: 2700.0
order: 2.0
output: wavelength
allOf:
- $ref: "http://stsci.edu/schemas/asdf/transform/transform-1.2.0"
- type: object
properties:
groove_density:
description: |
The groove density of the grating
type: number
order:
description: |
Spectral order
type: number
required: [groove_density, order]