diff --git a/tests/test_cube3d.py b/tests/test_cube3d.py index c60d6423de5fb27a53dcb7b6564f71f350f33bd3..655157274d738ee70175068f1ac30c1da1ff2883 100644 --- a/tests/test_cube3d.py +++ b/tests/test_cube3d.py @@ -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) diff --git a/tests/test_map2d.py b/tests/test_map2d.py index 0305204c54db0163fd4eafd0749a39f914ecb48f..2581686706db8761110a024514112fed411aed3a 100644 --- a/tests/test_map2d.py +++ b/tests/test_map2d.py @@ -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() diff --git a/tests/test_spec1d.py b/tests/test_spec1d.py index abe81173f7f2c24bf7e8b0bc8ebd33ef963124b8..08bdb67c78696bd2d610fc60dae2ee74806c460b 100644 --- a/tests/test_spec1d.py +++ b/tests/test_spec1d.py @@ -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======================")