Commit 911146e1 authored by Feng Shuai's avatar 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
...@@ -24,7 +24,7 @@ class test_cube3d(unittest.TestCase): ...@@ -24,7 +24,7 @@ class test_cube3d(unittest.TestCase):
print(">>> Start Test") print(">>> Start Test")
print(" ") print(" ")
inst = c.instrument() inst = c.config()
gas_tem = s.EmissionLineTemplate(inst, model = 'hii') gas_tem = s.EmissionLineTemplate(inst, model = 'hii')
stellar_tem = s.StellarContinuumTemplate(inst) stellar_tem = s.StellarContinuumTemplate(inst)
......
...@@ -16,7 +16,7 @@ class test_map2d(unittest.TestCase): ...@@ -16,7 +16,7 @@ class test_map2d(unittest.TestCase):
def test_sbmap(self): def test_sbmap(self):
inst = c.instrument() inst = c.config()
print("------------------------- Sersic Model -------------------------") print("------------------------- Sersic Model -------------------------")
print(" ") print(" ")
...@@ -63,7 +63,7 @@ class test_map2d(unittest.TestCase): ...@@ -63,7 +63,7 @@ class test_map2d(unittest.TestCase):
def test_velmap(self): def test_velmap(self):
inst = c.instrument() inst = c.config()
print("------------------------ Velocity Model ------------------------") print("------------------------ Velocity Model ------------------------")
print(" ") print(" ")
...@@ -104,7 +104,7 @@ class test_map2d(unittest.TestCase): ...@@ -104,7 +104,7 @@ class test_map2d(unittest.TestCase):
def test_gremap(self): def test_gremap(self):
inst = c.instrument() inst = c.config()
print("------------------------ Gredient Model ------------------------") print("------------------------ Gredient Model ------------------------")
print(" ") print(" ")
...@@ -151,7 +151,7 @@ class test_map2d(unittest.TestCase): ...@@ -151,7 +151,7 @@ class test_map2d(unittest.TestCase):
def test_input_image(self): def test_input_image(self):
inst = c.instrument() inst = c.config()
print("------------------------ Feed Image------------------------") print("------------------------ Feed Image------------------------")
print(" ") print(" ")
...@@ -164,7 +164,7 @@ class test_map2d(unittest.TestCase): ...@@ -164,7 +164,7 @@ class test_map2d(unittest.TestCase):
def test_stellar_population_map(self): def test_stellar_population_map(self):
inst = c.instrument() inst = c.config()
sbmap = m.Map2d(inst) sbmap = m.Map2d(inst)
sbmap.sersic_map() sbmap.sersic_map()
...@@ -202,7 +202,7 @@ class test_map2d(unittest.TestCase): ...@@ -202,7 +202,7 @@ class test_map2d(unittest.TestCase):
def test_ionized_gas_map(self): def test_ionized_gas_map(self):
inst = c.instrument() inst = c.config()
halphamap = m.Map2d(inst) halphamap = m.Map2d(inst)
halphamap.sersic_map() halphamap.sersic_map()
......
...@@ -17,7 +17,7 @@ class test_spec1d(unittest.TestCase): ...@@ -17,7 +17,7 @@ class test_spec1d(unittest.TestCase):
def test_StellarPop(self): def test_StellarPop(self):
inst = c.instrument() inst = c.config()
print("=================================================================") print("=================================================================")
print("==================Stellar Population Modelling===================") print("==================Stellar Population Modelling===================")
...@@ -112,7 +112,7 @@ class test_spec1d(unittest.TestCase): ...@@ -112,7 +112,7 @@ class test_spec1d(unittest.TestCase):
def test_Star(self): def test_Star(self):
inst = c.instrument() inst = c.config()
print("================================================================") print("================================================================")
print("=================Single Star Spectra Modelling===================") print("=================Single Star Spectra Modelling===================")
...@@ -184,7 +184,7 @@ class test_spec1d(unittest.TestCase): ...@@ -184,7 +184,7 @@ class test_spec1d(unittest.TestCase):
def test_Gas(self): def test_Gas(self):
inst = c.instrument() inst = c.config()
print("================================================================") print("================================================================")
print("======================Ionized Gas Modelling======================") print("======================Ionized Gas Modelling======================")
...@@ -274,7 +274,7 @@ class test_spec1d(unittest.TestCase): ...@@ -274,7 +274,7 @@ class test_spec1d(unittest.TestCase):
def test_AGN(self): def test_AGN(self):
inst = c.instrument() inst = c.config()
print("================================================================") print("================================================================")
print("=====================AGN Spectra Modelling======================") print("=====================AGN Spectra Modelling======================")
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment