mendevi.database.meta
Help to get the good extractor.
Classes
|
Create new instance of ExtractContext(label, func, is_log) |
Functions
|
Get the way to deserialize a raw value. |
Details
- class mendevi.database.meta.ExtractContext(label, func, is_log)
Create new instance of ExtractContext(label, func, is_log)
- mendevi.database.meta.get_extractor(name: str)[source]
Get the way to deserialize a raw value.
Parameters
- namestr
The label name.
Returns
- labelstr
The description of the physical quantity. This description can be used to label the axes of a graph.
- funccallable
The function that performs the verification and deserialisation task.
- is_logboolean or None
True to display in log space, False for linear. The value None means the axis is not continuous.