Unverified Commit 76b9d7e8 authored by Akke Viitanen's avatar Akke Viitanen
Browse files

fix mbh test bug

parent 35601e4b
Loading
Loading
Loading
Loading
Loading

data/lpv/table1.dat

0 → 100644
+12 −0
Original line number Diff line number Diff line
# Iwanek 2021 table 1
0.1  6.863 0.353 5.768 1.473
0.2  4.718 0.098 3.555 1.160
0.3  3.115 0.075 2.438 0.678
0.4  2.260 0.055 1.855 0.405
0.5  1.748 0.037 1.510 0.250
0.6  1.413 0.027 1.280 0.130
0.7  1.175 0.015 1.123 0.062
0.8  1.000 0.000 1.000 0.000
0.9  0.873 0.013 0.905 0.045
1.0  0.765 0.025 0.833 0.078
40.0 0.338 0.233 0.373 0.283
+2 −4
Original line number Diff line number Diff line
@@ -52,10 +52,8 @@ class TestMBH(unittest.TestCase):

        dirname = "data/AGILE_Mstar_Mbh"

        def get(f):
            return mbh.get_log_mbh_continuity_new2(
                log_mstar, z, filename=f"{dirname}/DECODEmeans_Mstar_Mbh_Zou2024cc.dat"
            )
        def get(filename):
            return mbh.get_log_mbh_continuity_new2(log_mstar, z, filename=filename)

        mbh1 = get(f"{dirname}/DECODEmeans_Mstar_Mbh_Zou2024cc.dat")
        mbh2 = get(f"{dirname}/DECODEmeans_Mstar_Mbh_Zou2024c.dat")