Basic Mathematical Features
arora.math.mean_val
arora.math.mean(signal_list)
Find the mean value of a list of signals. If list is empty, returns 0.0
- Parameters:
- signal_listlist of int or float
- List of signals. 
 
- Returnsfloat
- The mean value of the signals as a float 
For example:
>>> a_list = [1, 2, 3, 4]
>>> arora.math.mean(a_list)
2.5
arora.math.std_val
arora.math.std(signal_list)
Find the standard deviation of a list of signals using statistics.stdev.
- Parameters:
- signal_list: list of int or float
- List of signals. 
 
- Returnsfloat
- The standard deviation of the array 
- RaisesException
- If array is less than two values 
For example:
>>> a_list = [1,2,3,4]
>>> arora.math.std_val(a_list)
Returns : 1.12
arora.math.iqr_standardize
arora.math.iqr_standardize(signals, lowerquantile, upperquantile)
IQR standardization for an array of signals
- Parameters:
- signals: list of int or float
- List of signals. 
- lowerquantileint
- Lower cutoff IQR filtering. 
- upperquantile: int
- Upper cutoff IQR filtering. 
 
- Returns:
- Array of standardized signals as - numpy.ndarray.