from_amuse¶
- astronat.units.from_amuse(quantity)[source]¶
Convert AMUSE quantity to astropy quantity.
only amuse quantities need to be converted. floats and astropy quantities are left as is.
- Parameters
- quantity: AMUSE quantity or array-like
- Returns
- quantity: astropy quantity or array-like
Notes
requires that amuse units are string represented in astropy