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-sims
csst_ifs_sim
Commits
f6ce7d37
Commit
f6ce7d37
authored
Apr 12, 2024
by
Yan Zhaojun
Browse files
update ifs_sim
parent
67d4743f
Pipeline
#3985
failed with stage
in 0 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
csst_ifs_sim/csst_ifs_sim.py
View file @
f6ce7d37
...
...
@@ -13,7 +13,7 @@ import os
from
scipy.interpolate
import
interp1d
import
astropy.coordinates
as
coord
import
ctypes
import
sys
# from csst_ifs_sim.support import IFSinstrumentModel
# from csst_ifs_sim.support import cosmicrays
# from csst_ifs_sim.support import logger as lg
...
...
@@ -128,9 +128,9 @@ Note:: This class is Python 3 compatible.
###############################################################################
filterPivotWave
=
{
'nuv'
:
2875.5
,
'u'
:
3629.6
,
'g'
:
4808.4
,
'r'
:
6178.2
,
'i'
:
7609.0
,
'z'
:
9012.9
,
'y'
:
9627.9
}
filterIndex
=
{
'nuv'
:
0
,
'u'
:
1
,
'g'
:
2
,
'r'
:
3
,
'i'
:
4
,
'z'
:
5
,
'y'
:
6
}
#
filterPivotWave = {'nuv': 2875.5, 'u': 3629.6, 'g': 4808.4,
#
'r': 6178.2, 'i': 7609.0, 'z': 9012.9, 'y': 9627.9}
#
filterIndex = {'nuv': 0, 'u': 1, 'g': 2, 'r': 3, 'i': 4, 'z': 5, 'y': 6}
def
transRaDec2D
(
ra
,
dec
):
...
...
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