pypif.obj.common.value module

class pypif.obj.common.value.Value(name=None, scalars=None, vectors=None, matrices=None, units=None, tags=None, **kwargs)

Bases: pypif.obj.common.pio.Pio

Information about a scalar, vector, or matrix, or a list of one of those.

__init__(name=None, scalars=None, vectors=None, matrices=None, units=None, tags=None, **kwargs)

Constructor.

Parameters:
  • name – String with the name of the value.
  • scalars – One or more dictionaries, strings, numbers, or Scalar objects.
  • vectors – One or more lists of dictionaries, strings, numbers, or Scalar objects, each representing a vector.
  • matrices – One of more lists of lists of dictionaries, strings, numbers, or Scalar objects, each representing a matrix with rows as the innermost lists.
  • units – String with the units of the value.
  • tags – List of strings or numbers that are tags for this object.
  • kwargs – Dictionary of fields that are not supported.
matrices
name
normalize()
scalars
units
vectors