snell-1.0.0

NIRSpec transforms through the prism.

Description

This model does all transforms through the NIRSpec prism:

  • computes the refraction index as a function of lambda.

  • Applies Snell’s law through front surface.

  • Rotates to back surface.

  • Applies reflection from back surface.

  • Rotates to front surface

  • Applies Snell’s law through front surface.

Outline

Schema Definitions

This node must validate against all of the following:

  • This type is an object with the following properties:

    • prism_angle

      numberRequired

      The angle of the prism in deg.

    • kcoef

      arrayRequired

      K coefficients in Sellmeier equation.

      Minimum length: 3

      Maximum length: 3

      Items in the array are restricted to the following types:

      number

    • lcoef

      arrayRequired

      L coefficients in Sellmeier equation.

      Minimum length: 3

      Maximum length: 3

      Items in the array are restricted to the following types:

      number

    • tcoef

      arrayRequired

      Thermal coefficients of the glass.

      Minimum length: 6

      Maximum length: 6

      Items in the array are restricted to the following types:

      number

    • ref_temp

      numberRequired

      Reference temperature of the glass in [K].

    • ref_pressure

      numberRequired

      Reference pressure of the glass in [ATM].

    • temp

      numberRequired

      System temperature in [K].

    • pressure

      numberRequired

      System pressure in [ATM].

Original Schema

%YAML 1.1
---
$schema: "http://stsci.edu/schemas/yaml-schema/draft-01"
id: "http://stsci.edu/schemas/jwst_pipeline/snell-1.0.0"
title: >
  NIRSpec transforms through the prism.

description: |
  This model does all transforms through the NIRSpec prism:
  - computes the refraction index as a function of lambda.
  - Applies Snell's law through front surface.
  - Rotates to back surface.
  - Applies reflection from back surface.
  - Rotates to front surface
  - Applies Snell's law through front surface.

allOf:
  - $ref: "http://stsci.edu/schemas/asdf/transform/transform-1.2.0"
  - type: object
    properties:
      prism_angle:
        description: |
          The angle of the prism in deg.
        type: number
      kcoef:
        description: |
          K coefficients in Sellmeier equation.
        type: array
        items:
          type: number
        minItems: 3
        maxItems: 3
      lcoef:
        description: |
          L coefficients in Sellmeier equation.
        type: array
        items:
          type: number
        minItems: 3
        maxItems: 3
      tcoef:
        description: |
          Thermal coefficients of the glass.
        type: array
        items:
          type: number
        minItems: 6
        maxItems: 6
      ref_temp:
        description: |
          Reference temperature of the glass in [K].
        type: number
      ref_pressure:
        description: |
          Reference pressure of the glass in [ATM].
        type: number
      temp:
        description: |
          System temperature in [K].
        type: number
      pressure:
        description: |
          System pressure in [ATM].
        type: number
    required: [prism_angle, kcoef, lcoef, tcoef, ref_temp, ref_pressure, temp, pressure]