linear1d-1.0.0

A one dimensional line model

Description

A one dimensional line model

Outline

Schema Definitions

This node must validate against all of the following:

  • This type is an object with the following properties:

    • slope

      object

      Slope of the straight line.

      This node must validate against any of the following:

    • intercept

      object

      Intercept of the straight line.

      This node must validate against any of the following:

Original Schema

%YAML 1.1
---
$schema: "http://stsci.edu/schemas/yaml-schema/draft-01"
id: "http://stsci.edu/schemas/asdf/transform/linear1d-1.0.0"
title: >
  A one dimensional line model
description: >
  A one dimensional line model

allOf:
  - $ref: "transform-1.2.0"
  - type: object
    properties:
      slope:
        anyOf:
          - $ref: "../unit/quantity-1.1.0"
          - type: number
        description: Slope of the straight line.
      intercept:
        anyOf:
          - $ref: "../unit/quantity-1.1.0"
          - type: number
        description: Intercept of the straight line.
...