Small package which provides convenience tools to access quantities based on Unitful.jl and PhysicalConstants.jl in an "unitless" way -- as floating point numbers representing the numerical value of a quantity expressed in preferred units (SI base units by default). This appears to be useful in projects using code which cannot easily made unit-aware, e.g. due to the use of sparse linear algebra.
Unitful.@u_str
is not anymore re-exported. Instead,using Unitful
should be used.- The functor method
(::Unitful.FreeUnits)(x::Real)
is now exported by the submoduleLessUnitful.MoreUnitful
. So if something likex=1|>u"cm"
is required (which should give 100cm because1
is assumed to be a value in the SI Basic units in this method), one needsLessUnitful.MoreUnitful
. Due to the type piracy behind this, using this in packages should be avoided. - Calculation of physical constants like
ph"N_A*e"
has been removed as this depended on undocumented internals ofUnitful.jl
. Just replace this byph"N_A"*ph"e"
.