Ejemplo n.º 1
0
 def test_generateCov(self):
     testmodule = Test_cov_utils()
     cov = ans.generateCov(dims=3, seed=42)
     assert np.allclose(cov, testmodule.covStored)
"""
Script to generate example data sets used in examples and tests
"""
import numpy as np
import analyzeSN as ans


# cov_data.data
cov = ans.generateCov(dims=3, seed=42)
np.savetxt('example_data/cov_data.dat', cov)

Ejemplo n.º 3
0
"""
Script to generate example data sets used in examples and tests
"""
import numpy as np
import analyzeSN as ans

# cov_data.data
cov = ans.generateCov(dims=3, seed=42)
np.savetxt('../example_data/cov_data.dat', cov)