Skip to content

onconova.core.measures.schemas

Measure

Bases: Schema

Represents a measurable quantity with its value and unit.

Attributes:

Name Type Description
value float

The numerical value of the measure.

unit str

The unit in which the value is expressed.

unit class-attribute instance-attribute

value class-attribute instance-attribute

MeasureConversion

Bases: Schema

Represents a measure value and its intended conversion to a new unit.

Attributes:

Name Type Description
value float

The numerical value of the measure.

unit str

The unit of the measure.

newUnit str

The new unit to convert the measure to.

newUnit class-attribute instance-attribute

unit class-attribute instance-attribute

value class-attribute instance-attribute

runner