convnwb.timestamps.update.change_time_units

convnwb.timestamps.update.change_time_units(times, value, operation='divide')[source]

Change the units of timestamps.

Parameters:
times1d array

Vector of timestamps to update.

valuefloat

Value to divide / multiply by.

operation{‘divide’, ‘multiply’}

Operation to apply.