Skip to content

Correct Conversion of TP Samples to Time #98

@aeoranday

Description

@aeoranday

The new TP format replaced time_over_threshold (TOT) with samples_over_threshold (SOT) and time_peak with samples_to_peak (STP). As a means to move on with the format change, various TA makers replaced references to TOT and time_peak by using a hard-coded conversion (* 32) from SOT to TOT and STP to time_peak.

Each of these conversions is marked with a FIXME comment and details on the problem, e.g.,

ta.time_end = latest_tp_in_window.time_start + latest_tp_in_window.samples_over_threshold * 32; // FIXME: Replace the hard-coded SOT to TOT scaling.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions