In [1]:
import itertools
import sys
import numpy as np
import matplotlib.pyplot as plt
import seaborn as sns
sys.path.append('..')
from antlia import record
from antlia import exp1
from antlia import plot_braking as braking
%load_ext autoreload
%autoreload 2
DEFAULT_FIGSIZE = (14, 7)
In [2]:
records = exp1.load_records()
In [3]:
metrics = exp1.get_metrics(records)
print(metrics.dtype.names)
In [4]:
plt.close('all')
for rid in np.unique(metrics['rider id']):
braking.plot_rider_velocities(records, rid,
figsize=DEFAULT_FIGSIZE)
plt.show()