Skip to content

Commit 880f3a0

Browse files
authored
Merge pull request #78 from nden/tete-frame
Аdd TETE and TEME frames
2 parents 3ad7f68 + 70e1fda commit 880f3a0

4 files changed

Lines changed: 180 additions & 0 deletions

File tree

CHANGES.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
------------------
33

44
- Drop Python 3.9 support [#77]
5+
- Add TETE and TEME coordinate frames. [#78]
56

67
0.4.0 (2025-05-27)
78
------------------
Lines changed: 85 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,85 @@
1+
id: asdf://asdf-format.org/astronomy/coordinates/manifests/coordinates-1.3.0
2+
extension_uri: asdf://asdf-format.org/astronomy/coordinates/extensions/coordinates-1.3.0
3+
title: Coordinates extension
4+
description: |-
5+
A set of tags for serializing coordinates.
6+
tags:
7+
- tag_uri: tag:astropy.org:astropy/coordinates/angle-1.2.0
8+
schema_uri: http://astropy.org/schemas/astropy/coordinates/angle-1.2.0
9+
title: Represents an Angle.
10+
description: |-
11+
This object represents a subtype of Quantity which has units equivalent to radians or degrees.
12+
- tag_uri: tag:astropy.org:astropy/coordinates/earthlocation-1.2.0
13+
schema_uri: http://astropy.org/schemas/astropy/coordinates/earthlocation-1.2.0
14+
title: Represents EarthLocation objects from astropy.
15+
description: |-
16+
Location on the Earth.
17+
- tag_uri: tag:astropy.org:astropy/coordinates/frames/baseframe-1.2.0
18+
schema_uri: http://astropy.org/schemas/astropy/coordinates/frames/baseframe-1.2.0
19+
title: Represents a coordinate frame object from astropy
20+
description: |-
21+
This schema is designed to be extended by other schemas to restrict the
22+
allowable frame_attributes.
23+
- tag_uri: tag:astropy.org:astropy/coordinates/frames/cirs-1.2.0
24+
schema_uri: http://astropy.org/schemas/astropy/coordinates/frames/cirs-1.2.0
25+
title: Represents a CIRS coordinate object from astropy
26+
- tag_uri: tag:astropy.org:astropy/coordinates/frames/fk4-1.2.0
27+
schema_uri: http://astropy.org/schemas/astropy/coordinates/frames/fk4-1.2.0
28+
title: Represents a FK4 coordinate object from astropy
29+
- tag_uri: tag:astropy.org:astropy/coordinates/frames/fk4noeterms-1.2.0
30+
schema_uri: http://astropy.org/schemas/astropy/coordinates/frames/fk4noeterms-1.2.0
31+
title: Represents a FK4NoETerms coordinate object from astropy
32+
- tag_uri: tag:astropy.org:astropy/coordinates/frames/fk5-1.2.0
33+
schema_uri: http://astropy.org/schemas/astropy/coordinates/frames/fk5-1.2.0
34+
title: Represents a FK5 coordinate object from astropy
35+
- tag_uri: tag:astropy.org:astropy/coordinates/frames/galactic-1.2.0
36+
schema_uri: http://astropy.org/schemas/astropy/coordinates/frames/galactic-1.2.0
37+
title: Represents an Galactic coordinate object from astropy.
38+
- tag_uri: tag:astropy.org:astropy/coordinates/frames/galactocentric-1.2.0
39+
schema_uri: http://astropy.org/schemas/astropy/coordinates/frames/galactocentric-1.2.0
40+
title: Represents an galactocentric coordinate object from astropy
41+
- tag_uri: tag:astropy.org:astropy/coordinates/frames/gcrs-1.2.0
42+
schema_uri: http://astropy.org/schemas/astropy/coordinates/frames/gcrs-1.2.0
43+
title: Represents a GCRS coordinate object from astropy
44+
- tag_uri: tag:astropy.org:astropy/coordinates/frames/icrs-1.3.0
45+
schema_uri: http://astropy.org/schemas/astropy/coordinates/frames/icrs-1.3.0
46+
title: Represents an ICRS coordinate object from astropy.
47+
- tag_uri: tag:astropy.org:astropy/coordinates/frames/itrs-1.2.0
48+
schema_uri: http://astropy.org/schemas/astropy/coordinates/frames/itrs-1.2.0
49+
title: Represents a ITRS coordinate object from astropy
50+
- tag_uri: tag:astropy.org:astropy/coordinates/frames/precessedgeocentric-1.2.0
51+
schema_uri: http://astropy.org/schemas/astropy/coordinates/frames/precessedgeocentric-1.2.0
52+
title: Represents a PrecessedGeocentric coordinate object from astropy
53+
- tag_uri: tag:astropy.org:astropy/coordinates/frames/teme-1.0.0
54+
schema_uri: http://astropy.org/schemas/astropy/coordinates/frames/teme-1.0.0
55+
title: Represents a TEME coordinate object from astropy
56+
description: |-
57+
This schema defines the TEME (True Equator, Mean Equinox) coordinate frame
58+
from astropy.coordinates
59+
- tag_uri: tag:astropy.org:astropy/coordinates/frames/tete-1.0.0
60+
schema_uri: http://astropy.org/schemas/astropy/coordinates/frames/tete-1.0.0
61+
title: Represents a TETE coordinate object from astropy
62+
description: |-
63+
This schema defines the TETE (True Equator, True Equinox) coordinate frame
64+
from astropy.coordinates.
65+
- tag_uri: tag:astropy.org:astropy/coordinates/latitude-1.2.0
66+
schema_uri: http://astropy.org/schemas/astropy/coordinates/latitude-1.2.0
67+
title: Represents latitude-like angles.
68+
description: |-
69+
Represents latitude-like angle(s) which must be in the range -90 to +90 deg.
70+
- tag_uri: tag:astropy.org:astropy/coordinates/longitude-1.2.0
71+
schema_uri: http://astropy.org/schemas/astropy/coordinates/longitude-1.2.0
72+
title: Represents longitude-like angles.
73+
description: |-
74+
Longitude-like angle(s) which are wrapped within a contiguous 360 degree range.
75+
- tag_uri: tag:astropy.org:astropy/coordinates/representation-1.2.0
76+
schema_uri: http://astropy.org/schemas/astropy/coordinates/representation-1.2.0
77+
title: Representation of points or differentials in two or three dimensional space.
78+
description: |-
79+
Representation of points or differentials in two or three dimensional space.
80+
- tag_uri: tag:astropy.org:astropy/coordinates/skycoord-1.0.0
81+
schema_uri: http://astropy.org/schemas/astropy/coordinates/skycoord-1.0.0
82+
title: Represents a SkyCoord object from astropy
83+
- tag_uri: tag:astropy.org:astropy/coordinates/spectralcoord-1.2.0
84+
schema_uri: http://astropy.org/schemas/astropy/coordinates/spectralcoord-1.2.0
85+
title: Represents a SpectralCoord object from astropy
Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
$schema: "http://stsci.edu/schemas/yaml-schema/draft-01"
2+
id: "http://astropy.org/schemas/astropy/coordinates/frames/teme-1.0.0"
3+
4+
title: |
5+
Represents a TEME coordinate object from astropy.
6+
7+
description: |-
8+
This schema defines the TEME (True Equator, Mean Equinox) coordinate frame
9+
from astropy.coordinates.
10+
11+
examples:
12+
-
13+
- A TEME frame without data
14+
- asdf-standard-1.6.0
15+
- |
16+
!<tag:astropy.org:astropy/coordinates/frames/teme-1.0.0>
17+
frame_attributes:
18+
obstime: !time/time-1.2.0 {scale: tai, value: B1950.000}
19+
-
20+
- A TEME frame with data
21+
- asdf-standard-1.6.0
22+
- |
23+
!<tag:astropy.org:astropy/coordinates/frames/teme-1.0.0>
24+
data: !<tag:astropy.org:astropy/coordinates/representation-1.1.0>
25+
components:
26+
lat: !<tag:astropy.org:astropy/coordinates/latitude-1.1.0> {unit: !unit/unit-1.0.0 deg,
27+
value: 10.0}
28+
lon: !<tag:astropy.org:astropy/coordinates/longitude-1.1.0>
29+
unit: !unit/unit-1.0.0 deg
30+
value: 120.0
31+
wrap_angle: !<tag:astropy.org:astropy/coordinates/angle-1.1.0> {unit: !unit/unit-1.0.0 deg,
32+
value: 360.0}
33+
type: UnitSphericalRepresentation
34+
frame_attributes:
35+
obstime: !time/time-1.2.0 {scale: tai, value: B1950.000}
36+
37+
allOf:
38+
- $ref: baseframe-1.2.0
39+
- properties:
40+
frame_attributes:
41+
type: object
42+
properties:
43+
obstime:
44+
tag: "tag:stsci.edu:asdf/time/time-1.*"
45+
required: [obstime]
46+
...
Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
$schema: "http://stsci.edu/schemas/yaml-schema/draft-01"
2+
id: "http://astropy.org/schemas/astropy/coordinates/frames/tete-1.0.0"
3+
4+
title: |
5+
Represents a TETE coordinate object from astropy.
6+
7+
description: |-
8+
This schema defines the TETE (True Equator, True Equinox) coordinate frame
9+
from astropy.coordinates.
10+
11+
examples:
12+
-
13+
- A TETE frame without data
14+
- asdf-standard-1.6.0
15+
- |
16+
!<tag:astropy.org:astropy/coordinates/frames/tete-1.0.0>
17+
frame_attributes:
18+
obstime: !time/time-1.2.0 {scale: tai, value: B1950.000}
19+
-
20+
- A TETE frame with data
21+
- asdf-standard-1.6.0
22+
- |
23+
!<tag:astropy.org:astropy/coordinates/frames/tete-1.0.0>
24+
data: !<tag:astropy.org:astropy/coordinates/representation-1.1.0>
25+
components:
26+
lat: !<tag:astropy.org:astropy/coordinates/latitude-1.1.0> {unit: !unit/unit-1.0.0 deg,
27+
value: 10.0}
28+
lon: !<tag:astropy.org:astropy/coordinates/longitude-1.1.0>
29+
unit: !unit/unit-1.0.0 deg
30+
value: 120.0
31+
wrap_angle: !<tag:astropy.org:astropy/coordinates/angle-1.1.0> {unit: !unit/unit-1.0.0 deg,
32+
value: 360.0}
33+
type: UnitSphericalRepresentation
34+
frame_attributes:
35+
obstime: !time/time-1.2.0 {scale: tai, value: B1950.000}
36+
37+
allOf:
38+
- $ref: baseframe-1.2.0
39+
- properties:
40+
frame_attributes:
41+
type: object
42+
properties:
43+
obstime:
44+
tag: "tag:stsci.edu:asdf/time/time-1.*"
45+
location:
46+
tag: "tag:astropy.org:astropy/coordinates/earthlocation-1.*"
47+
required: [obstime, location]
48+
...

0 commit comments

Comments
 (0)