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
Bo Zhang
csst
Commits
b5a65383
Commit
b5a65383
authored
Jun 21, 2022
by
niejuzi
Browse files
update code
parent
12f448ca
Changes
1
Hide whitespace changes
Inline
Side-by-side
csst/msc/calib_pos.py
View file @
b5a65383
...
...
@@ -170,7 +170,7 @@ class CsstProcMscPositionCalibration(CsstProcessor):
tbl2
.
header
[
'EXTNAME'
]
=
'LDAC_OBJECTS'
return
tbl1
,
tbl2
def
get_refcat
(
self
,
img_list
,
path_gaia
,
search_radius
,
silent
=
True
,
pm_correct
=
True
):
def
get_refcat
(
self
,
img_list
,
path_gaia
,
search_radius
,
silent
=
True
,
pm_correct
=
True
):
"""
Get reference catalog for scamp. The reference cat is GAIA EDR3.
...
...
@@ -190,7 +190,7 @@ class CsstProcMscPositionCalibration(CsstProcessor):
filename of the cross matched catalog: ref.cat
"""
outcat
=
self
.
dm
.
pc_ref_cat
fn
m
ae
=
self
.
dm
.
pc_combined_file
(
"img"
,
"fits"
)
fna
m
e
=
self
.
dm
.
pc_combined_file
(
"img"
,
"fits"
)
hdu
=
fits
.
open
(
fname
)
header1
=
hdu
[
0
].
header
header2
=
hdu
[
1
].
header
...
...
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