patkit

Base classes

It is good to know what the base classes

Most PATKIT core data structures derive from AbstractDataObject. Those that contain data - Modalities and Statistics - inherit from AbstractDataObject via AbstractData, and those that contain other AbstractDataObjects - DataSets, Sessions, Trials, and Sources - inherit from AbstractDataContainer.

The below diagram includes some non-standard UML to make it a bit more compact. AbstractDataObject has several recorded_ and patkit_ properties which are not all listed but just marked as [recorded_paths] and [patkit_paths]. See the API documentation for what is available.

base data structures

The PATKIT data management principles are reflected in how path data is actually stored. The recorded_ and patkit_ paths give absolute locations of the files, but the file_info field works recursively with contained classes storing only their relative location to the containing class. This means that using file_info directly may lead to unexpected results.