qfloat#
- astropop.math.physical.qfloat(value, uncertainty=None, unit=None)#
Create a QFloat from the values.
- Parameters:
- value: number or array_like
Nominal value(s) of the quantity.
- uncertaintynumber, array_like or
None(optional) Uncertainty value of the quantity. If
None, the quantity will be considered with no errors. Must matchvalueshape.- unit: `~astropy.units.Unit` or string (optional)
The data unit. Must be
Unitcompliant.
- Returns:
- f:
QFloat The QFloat created.
- f: