Method renamed
This commit is contained in:
parent
657c15d845
commit
c908d8429d
@ -7,10 +7,10 @@ import astropy.units as u
|
|||||||
|
|
||||||
|
|
||||||
class TestRadiantFactory(TestCase):
|
class TestRadiantFactory(TestCase):
|
||||||
def test_fromConfig(self):
|
def test_fromConfigBatch(self):
|
||||||
conf = Configuration("data/esbo-etc_defaults.xml").conf
|
conf = Configuration("data/esbo-etc_defaults.xml").conf
|
||||||
factory = RadiantFactory(conf.common.wl_bins())
|
factory = RadiantFactory(conf.common.wl_bins())
|
||||||
parent = factory.fromConfig(conf)
|
parent = factory.fromConfigBatch(conf)
|
||||||
|
|
||||||
parent_2 = BlackBodyTarget(conf.common.wl_bins(), 5778 * u.K, 10 * u.mag, "V")
|
parent_2 = BlackBodyTarget(conf.common.wl_bins(), 5778 * u.K, 10 * u.mag, "V")
|
||||||
parent_2 = oc.Atmosphere(parent_2, "data/atmosphere/transmittance.csv", "data/atmosphere/emission.csv")
|
parent_2 = oc.Atmosphere(parent_2, "data/atmosphere/transmittance.csv", "data/atmosphere/emission.csv")
|
||||||
|
Loading…
Reference in New Issue
Block a user