master
François Boulogne 3 weeks ago
parent e69f87b93e
commit 117d91902c

@ -1 +1 @@
__version__ = '0.1.6.8' __version__ = '0.1.6.9'

@ -46,7 +46,7 @@ def process_data_RH_logger(filepath, every, diff_period=1_000, SG_window=10_000)
df = load_data_RH_logger(filepath, every=1) df = load_data_RH_logger(filepath, every=1)
m0 = df['weight'].iloc[0] m0 = df['weight'].iloc[0]
mf = df['dm_m'].tail(300).mean() mf = df['weight'].tail(300).mean()
# Variation # Variation
df['m'] = df['weight'] - m0 df['m'] = df['weight'] - m0
df['M'] = (df['weight'] - m0) / (mf - m0) df['M'] = (df['weight'] - m0) / (mf - m0)

Loading…
Cancel
Save