%YAML 1.1
---
$schema: "http://stsci.edu/schemas/yaml-schema/draft-01"
id: "http://stsci.edu/schemas/asdf/transform/exponential_cutoff_power_law1d-1.2.0"
title: >
  One dimensional power law model with an exponential cutoff.

description: >
  One dimensional power law model with an exponential cutoff.

examples:
  -
    - $$f(x) = 10.0 (x / 5.0) ^ {-2.0} \exp (-x / 7.0)$$
    - asdf-standard-1.6.0
    - |
      !transform/exponential_cutoff_power_law1d-1.2.0 {alpha: 2.0, amplitude: 10.0, x_0: 5.0, x_cutoff: 7.0}

allOf:
  - $ref: "transform-1.4.0"
  - type: object
    properties:
      amplitude:
        anyOf:
          - tag: "tag:stsci.edu:asdf/unit/quantity-1.*"
          - type: number
        description: Model amplitude.
      x_0:
        anyOf:
          - tag: "tag:stsci.edu:asdf/unit/quantity-1.*"
          - type: number
        description: Reference point.
      alpha:
        anyOf:
          - tag: "tag:stsci.edu:asdf/unit/quantity-1.*"
          - type: number
        description: Power law index.
      x_cutoff:
        anyOf:
          - tag: "tag:stsci.edu:asdf/unit/quantity-1.*"
          - type: number
        description: Cutoff point.

    required: ['amplitude', 'x_0', 'alpha', 'x_cutoff']
...
