From fcbd5b8aec897e9711be00be3ab5d2efa174fe1d Mon Sep 17 00:00:00 2001 From: Thibault Barnouin Date: Tue, 8 Apr 2025 19:48:46 +0200 Subject: [PATCH] some more formatting fix rebase display on main --- package/FOC_reduction.py | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/package/FOC_reduction.py b/package/FOC_reduction.py index d3aee2c..d3782cb 100755 --- a/package/FOC_reduction.py +++ b/package/FOC_reduction.py @@ -290,12 +290,7 @@ def main(target=None, proposal_id=None, infiles=None, output_dir="./data", crop= print( "F_int({0:.0f} Angs) = ({1} ± {2})e{3} ergs.cm^-2.s^-1.Angs^-1".format( flux_head["PHOTPLAM"], - *sci_not( - flux_data[flux_mask].sum() * flux_head["PHOTFLAM"], - np.sqrt(np.sum(flux_error[flux_mask] ** 2)) * flux_head["PHOTFLAM"], - 2, - out=int, - ), + *sci_not(flux_data[flux_mask].sum() * flux_head["PHOTFLAM"], np.sqrt(np.sum(flux_error[flux_mask] ** 2)) * flux_head["PHOTFLAM"], 2, out=int), ) ) print("P_int = {0:.1f} ± {1:.1f} %".format(header_stokes["p_int"] * 100.0, np.ceil(header_stokes["sP_int"] * 1000.0) / 10.0))