Returns Quantity object from text representation of a value.
Quantity
rep (str) – text representation of a value with unit
str
q – Brian Quantity object