ForcePlateAnomalyProcedure#

class pyCGM2.Anomaly.anomalyDetectionProcedures.ForcePlateAnomalyProcedure#

Force plate anomaly detector.

This class is designed to detect anomalies in force plate data, such as saturated signals.

Inherits from AnomalyDetectionProcedure.

__init__()#

Initializes the ForcePlateAnomalyProcedure class.

Methods

__init__()

Initializes the ForcePlateAnomalyProcedure class.

getAnomaly()

Returns the detected anomaly.

run(acq, filename, options)

Run the force plate anomaly detection procedure.

run(acq: btkAcquisition, filename: str, options: Dict)#

Run the force plate anomaly detection procedure.

This method checks force plate signals for anomalies like saturation. The analysis can be customized using the options dictionary.

Parameters:
  • acq (btk.btkAcquisition) – A btk acquisition instance.

  • filename (str) – Filename of the data being processed.

  • options (Dict) – Additional options passed from the filter. It can include: - ‘frameRange’ (List[int, int]): A list of two integers specifying the start and end frames for the analysis. If not provided, the analysis uses the full range of frames available in the acquisition data.

Note: Other options may be included in the dictionary, but they are not currently used in this implementation.