Skip to content

Embed URL

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
acceleration
import numpy as np
def acceleration(data):
SSD = np.sum((data.mean() - data)**3)
SCD = np.sum((data.mean() - data)**2)
# catch to make sure SCD isn't zero
if SCD == 0.0:
SCD = 1e-12
acc = SSD / (6 * SCD**1.5)
return acc
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.