%YAML 1.1
---
$schema: "http://stsci.edu/schemas/yaml-schema/draft-01"
id: "http://stsci.edu/schemas/asdf/transform/king_projected_analytic1d-1.1.0"
title: >
  Projected (surface density) analytic King Model.

description: >
  Projected (surface density) analytic King Model.

examples:
  -
    - $$f(x)=f(x)=10.0(12.2)^2\left(\frac{1}{\sqrt{x^2+(12.2)^2}}-\frac{1}{\sqrt{(15.4)^2+(12.2)^2}}\right)^2$$
    - asdf-standard-1.6.0
    - |
      !transform/king_projected_analytic1d-1.1.0
        amplitude: 10.0
        bounding_box: [0.0, 15.4]
        r_core: 12.2
        r_tide: 15.4

allOf:
  - $ref: "transform-1.3.0"
  - type: object
    properties:
      amplitude:
        anyOf:
          - $ref: "../unit/quantity-1.2.0"
          - type: number
        description: Amplitude or scaling factor.
      r_core:
        anyOf:
          - $ref: "../unit/quantity-1.2.0"
          - type: number
        description: Core radius.
      r_tide:
        anyOf:
          - $ref: "../unit/quantity-1.2.0"
          - type: number
        description: Tidal radius.

    required: ['amplitude', 'r_core', 'r_tide']
...
