Output csv precision fix

Switched to 4 decimal digits.
This commit is contained in:
2026-04-17 12:52:19 +03:00
parent 31c276b9af
commit 04c6a4b250
+1 -1
View File
@@ -403,7 +403,7 @@ class BetaSpectrumAnalyzer:
import pandas as pd
df = pd.DataFrame(data)
df.to_csv(filename, index=False, float_format="%.3e")
df.to_csv(filename, index=False, float_format="%.4e")
print(f"Spectrum exported to {filename}")
def get_data(self) -> Dict: