drude1d-1.0.0

One dimensional Drude model

Description

Drude model based one the behavior of electons in materials (esp. metals).

Outline

Schema Definitions

This node must validate against all of the following:

  • This type is an object with the following properties:

    • amplitude

      objectRequired

      Peak value.

      This node must validate against any of the following:

    • x_0

      objectRequired

      x position of the peak.

      This node must validate against any of the following:

    • fwhm

      objectRequired

      Full width at half maximum

      This node must validate against any of the following:

Examples

\[f(x) = 10.0 \frac{(2.5/0.5)^2}{((x/0.5 - 0.5/x)^2 + (2.5/0.5)^2}\]
!transform/drude1d-1.0.0
  amplitude: 10.0
  bounding_box: [-124.5, 125.5]
  fwhm: 2.5
  x_0: 0.5

Original Schema

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

description: >
  Drude model based one the behavior of electons in materials (esp. metals).

examples:
  -
    - $$f(x) = 10.0 \frac{(2.5/0.5)^2}{((x/0.5 - 0.5/x)^2 + (2.5/0.5)^2}$$
    - |
      !transform/drude1d-1.0.0
        amplitude: 10.0
        bounding_box: [-124.5, 125.5]
        fwhm: 2.5
        x_0: 0.5

allOf:
  - $ref: "transform-1.2.0"
  - type: object
    properties:
      amplitude:
        anyOf:
          - $ref: "../unit/quantity-1.1.0"
          - type: number
        description: Peak value.
      x_0:
        anyOf:
          - $ref: "../unit/quantity-1.1.0"
          - type: number
        description: x position of the peak.
      fwhm:
        anyOf:
          - $ref: "../unit/quantity-1.1.0"
          - type: number
        description: Full width at half maximum

    required: ['amplitude', 'x_0', 'fwhm']
...