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
Loading
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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)

+6 −6
Original line number Diff line number Diff line
@@ -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()
+4 −4
Original line number Diff line number Diff line
@@ -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======================")