import endaq
endaq.plot.utilities.set_theme()
import plotly.graph_objects as go

# Get Accel, 6M datapoints per axis
accel = endaq.ide.get_primary_sensor_data('https://info.endaq.com/hubfs/ford_f150.ide',
    measurement_type='accel',
    time_mode='datetime')

# Apply Highpass Filter
accel = endaq.calc.filters.butterworth(accel, low_cutoff=2)

# Generate Shaded Bar Plot of All Data
fig = endaq.plot.rolling_min_max_envelope(accel)
fig.show()