Skip to content
GitLab
Explore
Projects
Groups
Snippets
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
3 years ago
by
niejuzi
Browse files
Options
Download
Email Patches
Plain Diff
update code
parent
12f448ca
master
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
csst/msc/calib_pos.py
+2
-2
csst/msc/calib_pos.py
with
2 additions
and
2 deletions
+2
-2
csst/msc/calib_pos.py
+
2
-
2
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
...
...
This diff is collapsed.
Click to expand it.
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
Menu
Explore
Projects
Groups
Snippets