2022-05-24 17:06:49 +02:00
|
|
|
from compare_halos import compare_halo_resolutions
|
|
|
|
|
2022-06-30 18:14:20 +02:00
|
|
|
something_failed = False
|
2022-05-25 17:17:24 +02:00
|
|
|
for wf in ["DB2", "DB4", "DB8", "shannon"]:
|
2022-05-24 17:06:49 +02:00
|
|
|
for res in [128, 256, 512]:
|
2022-06-10 11:05:07 +02:00
|
|
|
for source_wf in [wf, "shannon"]:
|
2022-06-30 18:14:20 +02:00
|
|
|
try:
|
|
|
|
compare_halo_resolutions(
|
|
|
|
ref_waveform=source_wf,
|
|
|
|
reference_resolution=128,
|
|
|
|
comp_waveform=wf,
|
|
|
|
comparison_resolution=res,
|
|
|
|
plot=False,
|
|
|
|
plot3d=False,
|
|
|
|
velo_halos=True,
|
|
|
|
single=False
|
|
|
|
)
|
|
|
|
except:
|
|
|
|
something_failed = True
|
|
|
|
continue
|
|
|
|
|
|
|
|
if something_failed:
|
|
|
|
print("\n\nAt least one comparison failed")
|