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

description: >
  One dimensional arctangent.

examples:
  -
    - $$f(x)=((arctan(x/10.0) / 2\pi) - 1.0) / 0.5$$
    - |
      !transform/arctangent1d-1.2.0 {amplitude: 10.0, frequency: 0.5, phase: 1.0}

allOf:
  - $ref: "transform-1.4.0"
  - type: object
    properties:
      amplitude:
        anyOf:
          - tag: "tag:stsci.edu:asdf/unit/quantity-1.*"
          - type: number
        description: Oscillation amplitude.
      frequency:
        anyOf:
          - tag: "tag:stsci.edu:asdf/unit/quantity-1.*"
          - type: number
        description: Oscillation frequency.
      phase:
        anyOf:
          - tag: "tag:stsci.edu:asdf/unit/quantity-1.*"
          - type: number
        description: Oscillation phase.

    required: ['amplitude', 'frequency', 'phase']
...
