pyCGM2.Nexus.eclipse#

Classes#

EnfReader(path, enfFile)

A class for handling a generic .enf file.

PatientEnfReader(path, enfFile)

A class for handling a Patient.enf file created by Vicon Nexus.

SessionEnfReader(path, enfFile)

A class for handling a Session.enf file created by Vicon Eclipse.

TrialEnfReader(path, enfFile)

A class for handling a Trial.enf file created by Vicon Eclipse.

Functions#

generateEmptyENF(path)

Generates empty .enf files in a folder containing only .c3d files.

getCurrentMarkedEnfs()

Retrieves currently marked .enf files from the Vicon Eclipse environment.

getCurrentMarkedNodes([fileType])

Retrieves currently marked nodes from the Vicon Eclipse interface.

getEnfFiles(path, type)

Retrieves .enf files from a specified folder based on the enf type.

cleanEnf(path, enf)

Cleans the content of an .enf file, removing any non-standard lines.

Additional functions#

getC3d_enfTrialMetadata(data_path, c3dFilename)

Return the metadata of the Eclipse trial enf file associated with a c3d file.

Eclipse interface for flow#

findStaticTrials(path)

Find the static trials of a session folder from their Eclipse trial enf files (TrialType field).

findMotionTrials(path)

Find the motion trials of a session folder from their Eclipse trial enf files (TrialType field).

findEmgTrials(path)

Find the EMG trials of a session folder from their Eclipse trial enf files (TrialType field).

findMVCTrials(path)

Find the MVC trials of a session folder from their Eclipse trial enf files (TrialType field).

staticDetails(path, enfs)

Return the details of static trials.

FittingDetails(path, enfs)

Return the details of motion (fitting) trials.

EmgDetails(path, enfs)

Return the details of EMG trials.

MvcDetails(path, mvcEnfs)

Return the MVC trials grouped by MVC ID.

getConditions(path, motionEnfs)

Return the conditions of the shared motion trials, sorted by condition number.

list_duplicates(seq)

Return the duplicated items of a sequence.

repareEnf(DATA_PATH)

Rename malformed trial enf files of a folder into <name>.Trial.enf.