pyhctsa.quality.Quality

class pyhctsa.quality.Quality(value)

What a computed value is. Only GOOD values are kept; all others are stored as NaN.

Attributes

GOOD

A real, finite number.

ERROR

The computation raised an exception (the message is recorded separately).

NAN

The computation returned NaN: the quantity is undefined or not appropriate for this input.

INF

The computation returned +Inf.

NEG_INF

The computation returned -Inf.

COMPLEX

The computation returned a complex number with a non-zero imaginary part (a bug).

EMPTY

The computation returned nothing (None or an empty array).

LINK_ERROR

An expected output was missing from the computation's result (as in hctsa).

NON_SCALAR

The computation returned something that is not a single number (a bug).

REJECTED

The input was rejected before any computation (e.g. constant, or containing NaN or Inf).

NOT_COMPUTED

Not computed (yet).

GOOD = 0

A real, finite number.

ERROR = 1

The computation raised an exception (the message is recorded separately).

NAN = 2

The computation returned NaN: the quantity is undefined or not appropriate for this input.

INF = 3

The computation returned +Inf.

NEG_INF = 4

The computation returned -Inf.

COMPLEX = 5

The computation returned a complex number with a non-zero imaginary part (a bug).

EMPTY = 6

The computation returned nothing (None or an empty array).

An expected output was missing from the computation’s result (as in hctsa).

NON_SCALAR = 8

The computation returned something that is not a single number (a bug).

REJECTED = 9

The input was rejected before any computation (e.g. constant, or containing NaN or Inf).

NOT_COMPUTED = 255

Not computed (yet).