nxtomomill.utils.pintutils.get_unit# nxtomomill.utils.pintutils.get_unit(unit, default, from_dataset)[source]# Convert given unit as an str to a pint unit. Else fallback to ‘default’ Return type: Unit