Clean spikes
- pyspedas.clean_spikes(names, nsmooth=10, thresh=0.3, sub_avg=False, new_names=None, newname=None, suffix=None, overwrite=None)[source]
Clean spikes from data.
- Parameters:
names (
str/list
ofstr
) – List of pytplot names.new_names (
str/list
ofstr
,optional (Deprecated)
) – List of new names for pytplot variables. If not given, then a suffix is applied.newname (
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 ‘-avg’.overwrite (
bool
, optional) – Replace the existing tplot name.nsmooth (
int
, optional) – the number of data points for smoothingthresh (
float
, optional) – threshold valuesub_avg (
bool
, optional) – if set, subtract the average value of the data prior to checking for spikes
- Return type:
None.