pypif.obj.common.property module

class pypif.obj.common.property.Property(name=None, scalars=None, vectors=None, matrices=None, files=None, units=None, conditions=None, method=None, data_type=None, references=None, contacts=None, licenses=None, tags=None, **kwargs)

Bases: pypif.obj.common.value.Value, pypif.obj.common.rcl.Rcl

Class to store information about a property and conditions under which it exists.

__init__(name=None, scalars=None, vectors=None, matrices=None, files=None, units=None, conditions=None, method=None, data_type=None, references=None, contacts=None, licenses=None, tags=None, **kwargs)

Constructor.

Parameters:
  • name – String with the name of the property.
  • 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.
  • files – One of more dictionaries, strings, or FileReference objects.
  • units – String with the units of the property.
  • conditions – List of dictionaries or Value objects with the conditions at which the property exists.
  • method – Dictionary or Method object describing the method used to get the property value.
  • data_type – String containing “EXPERIMENTAL”, “COMPUTATIONAL”, or “MACHINE_LEARNING” to set the broad category of data.
  • references – List of dictionaries or Reference objects where information about the property is published.
  • contacts – List of dictionaries, strings, or Person objects with people to contact for information about the property.
  • licenses – List of dictionaries, strings, or License objects with licensing information for the property.
  • tags – List of strings or numbers that are tags for this object.
  • kwargs – Dictionary of fields that are not supported.
conditions
data_type
files
method