multiplyscale-1.0.0

A Multiply model.

Description

Multiply the input by a factor.

Outline

Schema Definitions

This node must validate against all of the following:

  • This type is an object with the following properties:

    • factor

      objectRequired

      Multiplication factor.

      This node must validate against any of the following:

Examples

Multiply the input by a pixel scale factor.:

!transform/multiplyscale-1.0.0
  factor: !unit/quantity-1.1.0 {unit: !unit/unit-1.0.0 arcsec pixel-1,
    value: 0.06}

Original Schema

%YAML 1.1
---
$schema: "http://stsci.edu/schemas/yaml-schema/draft-01"
id: "http://stsci.edu/schemas/asdf/transform/multiplyscale-1.0.0"
title: >
  A Multiply model.
description: >
  Multiply the input by a factor.

examples:
  -
    - Multiply the input by a pixel scale factor.
    - asdf-standard-1.5.0
    - |
        !transform/multiplyscale-1.0.0
          factor: !unit/quantity-1.1.0 {unit: !unit/unit-1.0.0 arcsec pixel-1,
            value: 0.06}

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