pydox.commodities.Data

pydox.commodities.Data#

class Data(value: float | int | ~numpy.number, error: float | int | ~numpy.number = <factory>)[source]#

A placeholder for a frozen numerical item: store a value and an error, as float32

The error is to 0 by default.

__init__(value: float | int | ~numpy.number, error: float | int | ~numpy.number = <factory>) → None#

Methods

__init__(value[, error])

Attributes

value

The value for this data

error

The error for this data