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
911146e1
Commit
911146e1
authored
Apr 15, 2024
by
Feng Shuai
💬
Browse files
Update tests/test_cube3d.py, tests/test_map2d.py, tests/test_spec1d.py
parent
90408531
Pipeline
#4095
failed with stage
in 0 seconds
Changes
3
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
tests/test_cube3d.py
View file @
911146e1
...
...
@@ -24,7 +24,7 @@ class test_cube3d(unittest.TestCase):
print
(
">>> Start Test"
)
print
(
" "
)
inst
=
c
.
instrument
()
inst
=
c
.
config
()
gas_tem
=
s
.
EmissionLineTemplate
(
inst
,
model
=
'hii'
)
stellar_tem
=
s
.
StellarContinuumTemplate
(
inst
)
...
...
tests/test_map2d.py
View file @
911146e1
...
...
@@ -16,7 +16,7 @@ class test_map2d(unittest.TestCase):
def
test_sbmap
(
self
):
inst
=
c
.
instrument
()
inst
=
c
.
config
()
print
(
"------------------------- Sersic Model -------------------------"
)
print
(
" "
)
...
...
@@ -63,7 +63,7 @@ class test_map2d(unittest.TestCase):
def
test_velmap
(
self
):
inst
=
c
.
instrument
()
inst
=
c
.
config
()
print
(
"------------------------ Velocity Model ------------------------"
)
print
(
" "
)
...
...
@@ -104,7 +104,7 @@ class test_map2d(unittest.TestCase):
def
test_gremap
(
self
):
inst
=
c
.
instrument
()
inst
=
c
.
config
()
print
(
"------------------------ Gredient Model ------------------------"
)
print
(
" "
)
...
...
@@ -151,7 +151,7 @@ class test_map2d(unittest.TestCase):
def
test_input_image
(
self
):
inst
=
c
.
instrument
()
inst
=
c
.
config
()
print
(
"------------------------ Feed Image------------------------"
)
print
(
" "
)
...
...
@@ -164,7 +164,7 @@ class test_map2d(unittest.TestCase):
def
test_stellar_population_map
(
self
):
inst
=
c
.
instrument
()
inst
=
c
.
config
()
sbmap
=
m
.
Map2d
(
inst
)
sbmap
.
sersic_map
()
...
...
@@ -202,7 +202,7 @@ class test_map2d(unittest.TestCase):
def
test_ionized_gas_map
(
self
):
inst
=
c
.
instrument
()
inst
=
c
.
config
()
halphamap
=
m
.
Map2d
(
inst
)
halphamap
.
sersic_map
()
...
...
tests/test_spec1d.py
View file @
911146e1
...
...
@@ -17,7 +17,7 @@ class test_spec1d(unittest.TestCase):
def
test_StellarPop
(
self
):
inst
=
c
.
instrument
()
inst
=
c
.
config
()
print
(
"================================================================="
)
print
(
"==================Stellar Population Modelling==================="
)
...
...
@@ -112,7 +112,7 @@ class test_spec1d(unittest.TestCase):
def
test_Star
(
self
):
inst
=
c
.
instrument
()
inst
=
c
.
config
()
print
(
"================================================================"
)
print
(
"=================Single Star Spectra Modelling==================="
)
...
...
@@ -184,7 +184,7 @@ class test_spec1d(unittest.TestCase):
def
test_Gas
(
self
):
inst
=
c
.
instrument
()
inst
=
c
.
config
()
print
(
"================================================================"
)
print
(
"======================Ionized Gas Modelling======================"
)
...
...
@@ -274,7 +274,7 @@ class test_spec1d(unittest.TestCase):
def
test_AGN
(
self
):
inst
=
c
.
instrument
()
inst
=
c
.
config
()
print
(
"================================================================"
)
print
(
"=====================AGN Spectra Modelling======================"
)
...
...
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