piel.analysis.signals.time.core.dimension

piel.analysis.signals.time.core.dimension#

Attributes#

Functions#

resize_data_time_signal_units(→ piel.types.TimeSignalData)

Applies unit corrections to the time and data arrays of a TimeSignalData object.

Module Contents#

logger#
resize_data_time_signal_units(waveform: piel.types.TimeSignalData, time_unit: piel.types.Unit, data_unit: piel.types.Unit, corrected_name_suffix: str = '_corrected') piel.types.TimeSignalData[source]#

Applies unit corrections to the time and data arrays of a TimeSignalData object.

Parameters: - waveform: The original waveform data. - time_unit: The unit to apply to the time axis. - data_unit: The unit to apply to the data. - corrected_name_suffix: Suffix to append to the data name after correction.

Returns: - A new TimeSignalData object with corrected time and data.