Commit 834d595c authored by Lukas Platz's avatar Lukas Platz

rename demo, improve debug output

parent 47b0ac0b
......@@ -55,7 +55,7 @@ if __name__ == '__main__':
if not mode in (0, 1):
raise ValueError("Only modes 0 and 1 defined")
filename = f"test-MultiCorrelatedField-{mode}" + "-{}.png"
filename = f"demo-MultiCorrelatedField-mode_{mode}" + "-{}.png"
# Two-dimensional signal on RGs with inhomogeneous exposure
N = 128
......@@ -219,5 +219,5 @@ if __name__ == '__main__':
for key, hpar in zip(keys, hyperparams):
op = ift.InverseGammaOperator(sky.domain[key], *hpar)
print(f"{key}:")
print(f"\tmock: {float(op(mock_position[key]).local_data):+2.3f}")
print(f"\t rec: {float(op(pos[key]).local_data):+2.3f}\n")
print(f"\tmock: {float(op(mock_position[key]).local_data):+1.2e}")
print(f"\t rec: {float(op(pos[key]).local_data):+1.2e}\n")
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment