dispel.signal.vectorial module#

signal.vectorial module.

A module containing common vector operations

dispel.signal.vectorial.mean_norm_planar(comp1, comp2)[source]#

Compute the mean norm of a 2-dimensional timeseries.

The mean norm of a 2-dimensional timeseries is referred to as the Average Acceleration Amplitude eq. A2 of Martinez(2012) https://doi.org/10.1080/10255842.2011.565753

Parameters:
  • comp1 (Series) – The first component of the signal

  • comp2 (Series) – The second component of the signal

Returns:

The average value of the norm of a 2 dimensional timeseries

Return type:

float

dispel.signal.vectorial.resultant_norm_planar(comp1, comp2)[source]#

Compute the norm of the resultant of a 2-dimensional vector on a plane.

The norm of the resultant of 2-components represents the magnitude of a 2-dimensional vector.

Parameters:
  • comp1 (Series) – The first component of the signal

  • comp2 (Series) – The second component of the signal

Returns:

A series comprising the norm values of the resultant of 2-dimensional vectorial timeseries

Return type:

pd.Series

dispel.signal.vectorial.rms_planar(comp1, comp2)[source]#

Compute the RMS of a 2-dimensional timeseries.

The Root-Mean-Square of a 2-dimensional timeseries as presented in eq. A4 of Martinez(2012) https://doi.org/10.1080/10255842.2011.565753

Parameters:
  • comp1 (Series) – The first component of the signal

  • comp2 (Series) – The second component of the signal

Returns:

The RMS value of a 2-dimensional timeseries

Return type:

float