frames/cirs-1.0.0
Represents a CIRS coordinate object from astropy
Outline
Schema Definitions ¶
This node must validate against all of the following:
This type is an object with the following properties:
frame_attributes
object This type is an object with the following properties:
obstime
http://stsci.edu/schemas/asdf/time/time-1.1.0 Required
Examples ¶
A CIRS frame without data:
!<tag:astropy.org:astropy/coordinates/frames/cirs-1.0.0>
frame_attributes:
obstime: !time/time-1.1.0 {scale: tai, value: B1950.000}
A CIRS frame with data:
!<tag:astropy.org:astropy/coordinates/frames/cirs-1.0.0>
data: !<tag:astropy.org:astropy/coordinates/representation-1.0.0>
components:
lat: !<tag:astropy.org:astropy/coordinates/latitude-1.0.0> {unit: !unit/unit-1.0.0 deg,
value: 10.0}
lon: !<tag:astropy.org:astropy/coordinates/longitude-1.0.0>
unit: !unit/unit-1.0.0 deg
value: 120.0
wrap_angle: !<tag:astropy.org:astropy/coordinates/angle-1.0.0> {unit: !unit/unit-1.0.0 deg,
value: 360.0}
type: UnitSphericalRepresentation
frame_attributes:
obstime: !time/time-1.1.0 {scale: tai, value: B1950.000}
Original Schema ¶
%YAML 1.1
---
$schema: "http://stsci.edu/schemas/yaml-schema/draft-01"
id: "http://astropy.org/schemas/astropy/coordinates/frames/cirs-1.0.0"
title: |
Represents a CIRS coordinate object from astropy
examples:
-
- A CIRS frame without data
- asdf-standard-1.5.0
- |
!<tag:astropy.org:astropy/coordinates/frames/cirs-1.0.0>
frame_attributes:
obstime: !time/time-1.1.0 {scale: tai, value: B1950.000}
-
- A CIRS frame with data
- asdf-standard-1.5.0
- |
!<tag:astropy.org:astropy/coordinates/frames/cirs-1.0.0>
data: !<tag:astropy.org:astropy/coordinates/representation-1.0.0>
components:
lat: !<tag:astropy.org:astropy/coordinates/latitude-1.0.0> {unit: !unit/unit-1.0.0 deg,
value: 10.0}
lon: !<tag:astropy.org:astropy/coordinates/longitude-1.0.0>
unit: !unit/unit-1.0.0 deg
value: 120.0
wrap_angle: !<tag:astropy.org:astropy/coordinates/angle-1.0.0> {unit: !unit/unit-1.0.0 deg,
value: 360.0}
type: UnitSphericalRepresentation
frame_attributes:
obstime: !time/time-1.1.0 {scale: tai, value: B1950.000}
allOf:
- $ref: baseframe-1.0.0
- properties:
frame_attributes:
type: object
properties:
obstime:
$ref: "http://stsci.edu/schemas/asdf/time/time-1.1.0"
required: [obstime]
...