InterpolateGaps¶
Finds and interpolate gaps in data.
Automatically finds gaps, ets a new timestamp using sampling rate (if provided) or determines sampling rate from input data, then interpolates data to new timestamps. Optionally this node can fill in missing data points with NaN values instead of interpolation. Currently only does 1-d interpolation on offline chunks for timeaxes. More Info... Version 1.0.1
Ports/Properties¶
data¶
Data to process.
kind¶
Specifies the kind of interpolation. ‘zero’, ‘slinear’, ‘quadratic’ and ‘cubic’ refer to a spline interpolation of zeroth, first, second or third order. If specify_order is selected then the order param must also be specified.
order¶
Order parameter if kind is 'specify_order'.
srate¶
Set the desired sampling rate. If none is specified the sampling rate is determined the rate previously set, or if no rate is set then it will calculate the rate based on the median timestamps'.
use_markers¶
Check this box if you want to use marker times for start and/or end points. This is desirable if your marker endpoints extend beyond the data timestamps because of missing data.
marker_start¶
Specify marker name (as string) to determine starting timepoint.
marker_end¶
Specify marker name (as string) to determine ending timepoint.
allow_extrapolation¶
You probably shouldn't use this. Extrapolation is only warranted in extreme circumstances where the data being interpolated/extrapolated is highly smoothed and the extrapolated samples are within 1/fs sec away. This might be the case if e.g. you are trying to align two time series after already using SelectRange to slice their axes to the minimum overlap.
fill_nans¶
Checking this box will not use interpolation, but instead fill missing data points with NaN ("not a number") values.
set_breakpoint¶
Set a breakpoint on this node. If this is enabled, your debugger (if one is attached) will trigger a breakpoint.
metadata¶
User-definable meta-data associated with the node. Usually reserved for technical purposes.