parse_cm.characteristics.read_characteristics#
- parse_cm.characteristics.read_characteristics(content='CHARACTERIS_12OCT15', item=None, raw=False)#
Read OFLS ODB CHARACTERISTICS file.
If
item
is supplied then only that item is returns.By default any available transformation routines will be applied. Transform routines are any function named
transform_<item>
. This can be disabled by settingraw=True
to get raw values.- Parameters:
content – OFLS ODB characteristics file name or lines
item – return only the
item
characteristicraw – return raw values instead of transforming where possible
- Returns:
dictionary of characteristic values