-
Couldn't load subscription status.
- Fork 3
Closed
ubermag/tutorials
#66Description
Hi:
In the unit conversions part of Ubermag, is there a small mistake here?
from astropy import constants as const
induction_field = [(u.T, u.A / u.m, lambda x: x / const.mu0, lambda x: const.mu0 / x)]
I think it should be translated as follows,
induction_field = [(u.T, u.A / u.m, lambda x: x / const.mu0, lambda x: const.mu0 * x)]
namely, the operator in last item should be changed to a *
Metadata
Metadata
Assignees
Labels
No labels