Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
csst-pipeline
csst_common
Commits
92f0f448
Commit
92f0f448
authored
Oct 09, 2023
by
BO ZHANG
🏀
Browse files
init coordinates.py
parent
2babf1d7
Pipeline
#1254
failed with stage
in 0 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
csst_common/coordinates.py
0 → 100644
View file @
92f0f448
from
astropy.wcs
import
WCS
def
transform_coordinate
(
ra
:
float
=
180.000
,
dec
:
float
=
0.0
,
original_epoch
:
float
=
2016.0
,
target_epoch
:
float
=
2020.0
,
)
->
tuple
[
float
,
float
]:
"""Transform a coordinate from `original_epoch` to `target_epoch`."""
pass
def
transform_wcs
(
wcs
:
WCS
,
original_epoch
:
float
=
2016.0
,
target_epoch
:
float
=
2020.0
)
->
WCS
:
"""Transform a wcs from `original_epoch` to `target_epoch`."""
pass
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment