DiscretePointsFilter#
- class pyCGM2.Processing.DiscretePoints.discretePointFilters.DiscretePointsFilter(discretePointProcedure: DiscretePointProcedure, analysis: Analysis, modelInfo: Dict | None = None, subjInfo: Dict | None = None, condExpInfo: Dict | None = None)#
Filter to extract discrete points from biomechanical data cycles.
- Parameters:
discretePointProcedure (DiscretePointProcedure) – Procedure to extract discrete points.
analysis (Analysis) – Analysis instance containing biomechanical data.
modelInfo (Optional[Dict]) – Information about the biomechanical model.
subjInfo (Optional[Dict]) – Information about the subject.
condExpInfo (Optional[Dict]) – Information about the experimental conditions.
- __init__(discretePointProcedure: DiscretePointProcedure, analysis: Analysis, modelInfo: Dict | None = None, subjInfo: Dict | None = None, condExpInfo: Dict | None = None)#
Methods
__init__
(discretePointProcedure, analysis[, ...])Get the output DataFrame with all discrete values according to the procedure.
setCondExpInf
(condExpInfo)Set experimental condition information.
setModelInfo
(modelInfo)Set model information.
setSubjInfo
(subjInfo)Set subject information.
- getOutput()#
Get the output DataFrame with all discrete values according to the procedure.
- Returns:
pd.DataFrame – DataFrame containing the discrete values extracted.
- setCondExpInf(condExpInfo: Dict)#
Set experimental condition information.
- Parameters:
condExpInfo (Dict) – Experimental condition information.
- setModelInfo(modelInfo: Dict)#
Set model information.
- Parameters:
modelInfo (Dict) – Model information.
- setSubjInfo(subjInfo: Dict)#
Set subject information.
- Parameters:
subjInfo (Dict) – Subject information.