Subtract average
- pyspedas.subtract_average(names, new_names=None, suffix=None, overwrite=None, median=None)
Subtracts the average or the median from data.
- Parameters
names (
str/list
ofstr
) – List of pytplot names.new_names (
str/list
ofstr
, optional) – List of new_names for pytplot variables. If not given, then a suffix is applied.suffix (
str
, optional) – A suffix to apply. Default is ‘-d’.overwrite (
bool
, optional) – If set, then pytplot variables are replaced.median (
float
, optional) – If it is 0 or not set, then it computes the mean. Otherwise, it computes the median.
- Return type
None.