Closed cristinasewell closed 4 months ago
Consider relying on pint for unit conversion.
Using a dictionary units in the constants module.
units
As we do it in pcdsdevices: https://github.com/pcdshub/pcdsdevices/blob/5ee91018658423b297e17a242f72b09bfcefc87e/pcdsdevices/utils.py#L93-L122
pcdsdevices
Given the recent trouble we've had with pint and our decision to move away from it, I'm going to close this issue
pint
Consider relying on pint for unit conversion.
Current Behavior
Using a dictionary
units
in the constants module.Possible Solution
As we do it in
pcdsdevices
: https://github.com/pcdshub/pcdsdevices/blob/5ee91018658423b297e17a242f72b09bfcefc87e/pcdsdevices/utils.py#L93-L122