Output csv precision fix
Switched to 4 decimal digits.
This commit is contained in:
@@ -403,7 +403,7 @@ class BetaSpectrumAnalyzer:
|
|||||||
import pandas as pd
|
import pandas as pd
|
||||||
|
|
||||||
df = pd.DataFrame(data)
|
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}")
|
print(f"Spectrum exported to {filename}")
|
||||||
|
|
||||||
def get_data(self) -> Dict:
|
def get_data(self) -> Dict:
|
||||||
|
|||||||
Reference in New Issue
Block a user