core/transformations/rotation-1.0.0¶
Schema to describe a 3D rotation.
Description
ASDF implementation for Scipy.Rotation class.
Outline
Schema Definitions ¶
This node must validate against one of the following:
- This type is an object with the following properties:
- quaternions
tag:stsci.edu:asdf/core/ndarray-1.0.0 Required - This type is an object with the following properties:
- matrix
tag:stsci.edu:asdf/core/ndarray-1.0.0 Required - This type is an object with the following properties:
- rotvec
tag:stsci.edu:asdf/core/ndarray-1.0.0 Required - This type is an object with the following properties:
- sequence
string Required Euler angles rotation sequence.No length restriction - angles
tag:stsci.edu:asdf/unit/quantity-1.1.0 Required Rotation angles data.wx_unit: degree
Original Schema ¶
%YAML 1.1 --- $schema: "http://stsci.edu/schemas/yaml-schema/draft-01" id: "http://weldx.bam.de/schemas/weldx/core/transformations/rotation-1.0.0" tag: "tag:weldx.bam.de:weldx/core/transformations/rotation-1.0.0" title: | Schema to describe a 3D rotation. description: | ASDF implementation for Scipy.Rotation class. oneOf: - type: object description: | Quaternion rotation representation. properties: quaternions: tag: "tag:stsci.edu:asdf/core/ndarray-1.0.0" required: [quaternions] flowStyle: block additionalProperties: false - type: object description: | Matrix rotation representation. properties: matrix: tag: "tag:stsci.edu:asdf/core/ndarray-1.0.0" required: [matrix] flowStyle: block additionalProperties: false - type: object description: | Rotation vector representation. properties: rotvec: tag: "tag:stsci.edu:asdf/core/ndarray-1.0.0" required: [rotvec] flowStyle: block additionalProperties: false - type: object description: | Euler angles representation. properties: sequence: description: | Euler angles rotation sequence. type: string # TODO: add enum or regex angles: description: | Rotation angles data. tag: "tag:stsci.edu:asdf/unit/quantity-1.1.0" wx_unit: "degree" required: [sequence, angles] flowStyle: block additionalProperties: false ...
Schema documentation automatically generated by sphinx-asdf 0.1.0rc9.dev24+g87e6fa8.