value#

named_arrays.value(a)#

Remove the units (if they exist) from the input.

Parameters:

a (float | Quantity | AbstractArray) – A numeric value that may or may not have associated units

Return type:

The same numeric value, but guaranteed to be dimensionless.