compose-1.1.0¶
Perform a list of subtransforms in series.
Description
The output of each subtransform is fed into the input of the next subtransform.
The number of output dimensions of each subtransform must be equal to the number of input dimensions of the next subtransform in list. To reorder or add/drop axes, insert remap_axes
transforms in the subtransform list.
Invertibility: All ASDF tools are required to be able to compute the analytic inverse of this transform, by reversing the list of transforms and applying the inverse of each.
Outline
Schema Definitions ¶
This node must validate against all of the following:
This type is an object with the following properties:
forward
No length restrictionarray Required Items in the array are restricted to the following types:
Examples ¶
A series of transforms:
!transform/compose-1.1.0
forward:
- !transform/shift-1.1.0
offset: 2.0
- !transform/shift-1.1.0
offset: 3.0
Original Schema ¶
%YAML 1.1
---
$schema: "http://stsci.edu/schemas/yaml-schema/draft-01"
id: "http://stsci.edu/schemas/asdf/transform/compose-1.1.0"
title: >
Perform a list of subtransforms in series.
description: |
The output of each subtransform is fed into the input of the next
subtransform.
The number of output dimensions of each subtransform must be equal
to the number of input dimensions of the next subtransform in list.
To reorder or add/drop axes, insert `remap_axes` transforms in the
subtransform list.
Invertibility: All ASDF tools are required to be able to compute the
analytic inverse of this transform, by reversing the list of
transforms and applying the inverse of each.
examples:
-
- A series of transforms
- |
!transform/compose-1.1.0
forward:
- !transform/shift-1.1.0
offset: 2.0
- !transform/shift-1.1.0
offset: 3.0
allOf:
- $ref: "transform-1.1.0"
- properties:
forward:
type: array
items:
$ref: "transform-1.1.0"
required: [forward]
...