Skip to content
Snippets Groups Projects
Commit fd06902b authored by Tamas Gal's avatar Tamas Gal :speech_balloon:
Browse files

Add verbosity

parent feb41380
No related branches found
No related tags found
No related merge requests found
......@@ -35,8 +35,10 @@ def main():
hours = 2
while True:
print("Reading data...")
df = pd.read_csv(args['TIME_RESIDUALS_FILE'])
df = df[df.timestamp > time.time() - 60 * 60 * hours]
print(f" -> number of entries: {len(df)}")
fig, axes = plt.subplots(nrows=6,
ncols=3,
......@@ -49,6 +51,7 @@ def main():
for du in np.unique(df.du):
_df = df[df.du == du]
t_res = _df[_df.floor == floor].t_res
print(f" DU {du} floor {floor}: {len(t_res)} entries")
ax.hist(-t_res,
bins=100,
histtype='step',
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment