Update ccl_io.py

Added correction for area_s as well as requested by Romain
This commit is contained in:
JakHolzer 2020-11-10 18:39:25 +01:00 committed by GitHub
parent 4343d6e2b6
commit 008761e661
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -260,6 +260,7 @@ def export_comm(data, path, lorentz=False):
corr_factor = np.sin(gamma_angle) * np.cos(nu_angle)
area_n = np.abs(area_n * corr_factor)
area_s = np.abs(area_s * corr_factor)
area_n_str = f"{area_n:>10.2f}"
area_s_str = f"{area_s:>10.2f}"