pyCGM2 core utilities#

Logging#

pyCGM2_Logger(name)

Wrapper around a logging.Logger with the pyCGM2 message format.

Decorators#

time_tracker()

Decorator factory printing the execution time of the decorated function.

timetrackerLog(message)

Print an execution-time message.

Normative spatio-temporal data#

NormativeStpHelper()

Access to the pyCGM2 normative spatio-temporal parameter dataset.

Pipeline generation#

scanViconTemplatePipeline(sourcePath, ...)

Copy Vicon Nexus pipeline templates, replacing the hard-coded Apps path.

Feature skeleton#

AbstractFeatureProcedure()

abstract procedure

ConcreteFeatureProcedure()

Example of a concrete procedure summing two arguments.

VeryBasicFilter(arg1, arg2)

very basic skeleton of a filter

procedureFilter(arg1, arg2, procedure)

Skeleton of a filter calling a procedure