GetTimeShifts¶
Retrieve the time shifts between a chunk's time axis and another set of timestamps.
Version 0.1.1
Ports/Properties¶
data¶
Data to process.
offset¶
TimeShift offset
scale¶
Timeshift scale
timestamp_pairs¶
Pairs of timestamps used to calculate piecewise interpolation. Used by ShiftTimestamps node. Returns a nested array of floats: [[other, this], [other, this], ...].
other_source¶
The source of timestamps from the 'other' clock that will be compared to the timestamps in the time axis. Set this to 'data' to use the values in the data tensor (chunk.block.data). Any other string will be assumed to be the name of an instance axis field containing the timestamps.
allow_scaling¶
If the other timestamp source was in different units (i.e . not in seconds) then set this to True to allow the scale-factor to be != 1.
return_inverse¶
When False (default), this node returns the offset (and scale factor) to transform a time vector from the clock used for the timestamps defined in other_source to the clock used for the time axis timestamps. If set to True, then the offset (and scale factor) will transform the time vector from the time axis clock, into the other_source clock.
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.