# SMA, SVM and PSD python

I'm looking for python functions (package) to calculate SMA (signal magnitude area), SVM (signal vector magnitude) and PSD (Power Spectral Density). The goal is to extract features from an accelerometer data. Thanks

You can use matplotlib.pyplot.psd to get PSD (Power Spectral Density): it returns the values for the power spectrum and the corresponding frequencies.