mt_metadata.common.range ======================== .. py:module:: mt_metadata.common.range Classes ------- .. autoapisummary:: mt_metadata.common.range.MinMaxRange mt_metadata.common.range.StartEndRange Module Contents --------------- .. py:class:: MinMaxRange(**data) Bases: :py:obj:`mt_metadata.base.MetadataBase` Range of values. .. attribute:: minimum Minimum value of the range. :type: float .. attribute:: maximum Maximum value of the range. :type: float .. py:attribute:: minimum :type: Annotated[float, Field(default=0.0, description='Minimum value of the range.', validation_alias=AliasChoices('minimum', 'min'), json_schema_extra={'examples': '1.0', 'type': 'number', 'units': None, 'required': True})] .. py:attribute:: maximum :type: Annotated[float, Field(default=0.0, description='Maximum value of the range.', validation_alias=AliasChoices('maximum', 'max'), json_schema_extra={'examples': '1.0', 'type': 'number', 'units': None, 'required': True})] .. py:class:: StartEndRange(**data) Bases: :py:obj:`mt_metadata.base.MetadataBase` Range of values. .. attribute:: start starting value of the range. :type: float .. attribute:: end Ending value of the range. :type: float .. py:attribute:: start :type: Annotated[float, Field(default=0.0, description='Starting value.', validation_alias=AliasChoices('start', 'beginning'), json_schema_extra={'examples': '1.0', 'type': 'number', 'units': None, 'required': True})] .. py:attribute:: end :type: Annotated[float, Field(default=0.0, description='Ending value of the range.', validation_alias=AliasChoices('end', 'finish'), json_schema_extra={'examples': '1.0', 'type': 'number', 'units': None, 'required': True})]