Dealing with unit strings received from somewhere, it would be nice if astropy supported common unicode symbols.
E.g.
import astropy.units as u
u.Unit('µg') # MICRO SIGN (U+00B5)
u.Unit('μm') # GREEK SMALL LETTER MU (U+03BC)
u.Unit('m²') # SUPERSCRIPT TWO (U+00B2)
u.Unit('m³') # SUPERSCRIPT THREE (U+00B3)
u.Unit('s⁻¹') # SUPERSCRIPT MINUS (U+207B) + SUPERSCRIPT 1 (U+00B9)
Probably there is more...
Dealing with unit strings received from somewhere, it would be nice if astropy supported common unicode symbols.
E.g.
Probably there is more...