scale-1.2.0

A Scale model.

Description

Scale the input by a dimensionless factor.

Outline

Schema Definitions

This node must validate against all of the following:

  • This type is an object with the following properties:

    • factor

      objectRequired

      Scale factor.

      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/scale-1.2.0"
title: >
  A Scale model.
description: >
  Scale the input by a dimensionless factor.

allOf:
  - $ref: "transform-1.2.0"
  - type: object
    properties:
      factor:
        anyOf:
          - $ref: "../unit/quantity-1.1.0"
          - type: number
        description: Scale factor.
    required: [factor]
...