planar2d-1.0.0¶
Two dimensional plane model.
Description
Two dimensional plane model.
Outline
Schema Definitions ¶
This node must validate against all of the following:
This type is an object with the following properties:
slope_x
object Required Slope of the stright line in x.
This node must validate against any of the following:
number
slope_y
object Required Slope of the straight lie in y.
This node must validate against any of the following:
number
intercept
object Required z-intercept of the straight line.
This node must validate against any of the following:
number
Examples ¶
\[f(x, y)= a=5.0x + 2.5y + 11\]
!transform/planar2d-1.0.0 {intercept: 11.0, slope_x: 5.0, slope_y: 2.5}
Original Schema ¶
%YAML 1.1
---
$schema: "http://stsci.edu/schemas/yaml-schema/draft-01"
id: "http://stsci.edu/schemas/asdf/transform/planar2d-1.0.0"
title: >
Two dimensional plane model.
description: >
Two dimensional plane model.
examples:
-
- $$f(x, y)= a=5.0x + 2.5y + 11$$
- |
!transform/planar2d-1.0.0 {intercept: 11.0, slope_x: 5.0, slope_y: 2.5}
allOf:
- $ref: "transform-1.2.0"
- type: object
properties:
slope_x:
anyOf:
- $ref: "../unit/quantity-1.1.0"
- type: number
description: Slope of the stright line in x.
slope_y:
anyOf:
- $ref: "../unit/quantity-1.1.0"
- type: number
description: Slope of the straight lie in y.
intercept:
anyOf:
- $ref: "../unit/quantity-1.1.0"
- type: number
description: z-intercept of the straight line.
required: ['slope_x', 'slope_y', 'intercept']
...