Commit 3ca25a75 authored by Sven Liefgen's avatar Sven Liefgen

Fix command_line jitter

The jitter task on the command line did not work due to what I suspect
refactoring artifacts.
parent 305f2090
......@@ -46,9 +46,9 @@ def main():
a = latency.analyse(df_data, config)
print(a.corr.sort_values(ascending=False))
else:
df_data = evaluate(data_files["sender"], data_files["receiver"], config=config, kind=0)
df = evaluate(data_files["sender"], data_files["receiver"], config=config, kind=0)
params = {"export": args.export}
params = {"export": args.export, "config": config}
if command == "jitter":
params1 = dict(params)
......@@ -56,9 +56,8 @@ def main():
params2 = dict(params)
params2.update({"file_name": "JitterCauses.pdf"})
df = jitter.prep(df_data, config)
jitter.trace_jitter(df, **params1)
jitter.jitter_causes(df, config["durations"], **params2)
jitter.jitter_causes(df, **params2)
if __name__ == "__main__":
main()
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment