[AstroPy] [EXTERNAL] Help with negative-dex type unit
Derek Homeier
derek at astro.physik.uni-goettingen.de
Sat Jul 18 12:12:34 EDT 2020
Hi Nathaniel,
> On 30 Jun 2020, at 5:34 am, Livesey, Nathaniel J (US 3290) <nathaniel.j.livesey at jpl.nasa.gov> wrote:
>
> Many thanks indeed, that did exactly what I had in mind. Much appreciated!
by way of a late follow-up, this topic just came up again amidst some more general discussion on logarithmic units.
Summary: there is a 1-step recommended alternative
zhPa = u.LogUnit(u.hPa, '-1 dex')
More details on
https://github.com/astropy/astropy/issues/10577
– suggestions for how to better document this are very welcome.
Cheers,
Derek
More information about the AstroPy
mailing list