blackbody-1.0.0

Blackbody model.

Description

Blackbody model using the Planck function.

\[\begin{split}B_{\\nu}(T) = A \frac{2 h \nu^{3} / c^{2}}{exp(h \nu / k T) - 1}\end{split}\]

Outline

Schema Definitions

This node must validate against all of the following:

Examples

\[\begin{split}B_{\\nu}(T) = 10.0 \frac{2 h \nu^{3} / c^{2}}{exp(h \nu / k *6000) - 1}\end{split}\]
!transform/blackbody-1.0.0
  scale: 10.0
  temperature: !unit/quantity-1.1.0 {unit: !unit/unit-1.0.0 K, value: 6000.0}

Original Schema

%YAML 1.1
---
$schema: "http://stsci.edu/schemas/yaml-schema/draft-01"
id: "http://stsci.edu/schemas/asdf/transform/blackbody-1.0.0"
title: >
  Blackbody model.

description: |
  Blackbody model using the Planck function.

  $$B_{\\nu}(T) = A \frac{2 h \nu^{3} / c^{2}}{exp(h \nu / k T) - 1}$$

examples:
  -
    - $$B_{\\nu}(T) = 10.0 \frac{2 h \nu^{3} / c^{2}}{exp(h \nu / k *6000) - 1}$$
    - asdf-standard-1.5.0
    - |
      !transform/blackbody-1.0.0
        scale: 10.0
        temperature: !unit/quantity-1.1.0 {unit: !unit/unit-1.0.0 K, value: 6000.0}

allOf:
  - $ref: "transform-1.2.0"
  - type: object
    properties:
      scale:
        anyOf:
          - $ref: "../unit/quantity-1.1.0"
          - type: number
        description: Scale factor.
      temperature:
        $ref: "../unit/quantity-1.1.0"
        description: Blackbody temperature.

    required: ['scale', 'temperature']
...