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_gehong
Commits
a21fb694
Commit
a21fb694
authored
Jan 02, 2025
by
Shuai Feng
Browse files
update2412
parent
e7048f6f
Pipeline
#7699
failed with stage
in 0 seconds
Changes
2
Pipelines
1
Expand all
Hide whitespace changes
Inline
Side-by-side
Example_Spec1D.250102 copy.ipynb
0 → 100644
View file @
a21fb694
This diff is collapsed.
Click to expand it.
csst_ifs_gehong/config.py
View file @
a21fb694
...
...
@@ -23,14 +23,15 @@ class config():
dpix : float, optional
Pixel size in the spatial direction, by default 0.2arcsec
"""
def
__init__
(
self
,
wave_min
=
3500.0
,
wave_max
=
10000.0
,
dlam
=
2.0
,
nx
=
30
,
ny
=
30
,
dpix
=
0.2
):
def
__init__
(
self
,
wave_min
=
3500.0
,
wave_max
=
10000.0
,
dlam
=
2.0
,
inst_fwhm
=
0.1
,
nx
=
30
,
ny
=
30
,
dpix
=
0.2
):
self
.
dlam
=
dlam
self
.
wave
=
np
.
arange
(
wave_min
,
wave_max
,
dlam
)
self
.
wave_min
=
wave_min
self
.
inst_fwhm
=
inst_fwhm
self
.
nx
=
nx
self
.
ny
=
ny
self
.
dpix
=
dpix
self
.
fov_x
=
nx
*
dpix
self
.
fov_y
=
ny
*
dpix
self
.
inst_fwhm
=
2.5
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