ezmsg.nwb.scaling.VOLTAGE_UNIT_SPELLINGS#
- VOLTAGE_UNIT_SPELLINGS: dict[str, VoltageUnit] = {'microvolt': VoltageUnit.MICROVOLTS, 'microvolts': VoltageUnit.MICROVOLTS, 'millivolt': VoltageUnit.MILLIVOLTS, 'millivolts': VoltageUnit.MILLIVOLTS, 'mv': VoltageUnit.MILLIVOLTS, 'nanovolt': VoltageUnit.NANOVOLTS, 'nanovolts': VoltageUnit.NANOVOLTS, 'nv': VoltageUnit.NANOVOLTS, 'uv': VoltageUnit.MICROVOLTS, 'v': VoltageUnit.VOLTS, 'volt': VoltageUnit.VOLTS, 'volts': VoltageUnit.VOLTS, 'µv': VoltageUnit.MICROVOLTS, 'μv': VoltageUnit.MICROVOLTS}#
Unit strings seen in the wild, lowercased, mapped to what they mean.
Both micro signs are here on purpose: U+00B5 MICRO SIGN and U+03BC GREEK SMALL LETTER MU render identically and writers use both.