offspect.cache.attrs¶
-
class
AnnotationDictionary(*args, **kwargs)[source]¶ A subclass of dict storing all values internally as string
encoding / decoding is performed with
encode()anddecode(), and valid values should be limited to int, float and str and the respective Lists of them.Hint
use the get and set methods to directly access the string representation, the [key] approach automatically decodes / encodes
use update to overwrite without encoding, e.g. if the values are already str
-
class
AnnotationFactory(readin, readout, origin='')[source]¶ A factory to create new annotations
- Parameters
readin (str) – the format of the data being readin, e.g. tms or pes
readout (str) – the format of how the data will be used for display and analysis, e.g. wave, cmep, imep, erp
origin (str) – the original source-file from where this data is coming from
-
property
rio¶ The readin/out parameter
This parameter defines which keys are valid for the TraceAttributes and defines what the GUI should show
-
property
valid_trace_keys¶ a list of which keys are required and valid for the TraceAttributes