# `Quantity`

digraph inheritance6a6becd561 { bgcolor=transparent; rankdir=UD; ratio=compress; size="8.0, 12.0"; "ContextQuantity" [color=dodgerblue1,fillcolor=white,fontcolor=black,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.5,shape=box,style=rounded]; "PlainQuantity" -> "ContextQuantity" [arrowsize=0.5,style="setlinewidth(0.5)"]; "DaskQuantity" [color=dodgerblue1,fillcolor=white,fontcolor=black,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.5,shape=box,style=rounded]; "PlainQuantity" -> "DaskQuantity" [arrowsize=0.5,style="setlinewidth(0.5)"]; "Generic" [color=dodgerblue1,fillcolor=white,fontcolor=black,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.5,shape=box,style=rounded,tooltip="Abstract base class for generic types."]; "GroupQuantity" [color=dodgerblue1,fillcolor=white,fontcolor=black,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.5,shape=box,style=rounded]; "PlainQuantity" -> "GroupQuantity" [arrowsize=0.5,style="setlinewidth(0.5)"]; "MeasurementQuantity" [color=dodgerblue1,fillcolor=white,fontcolor=black,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.5,shape=box,style=rounded]; "PlainQuantity" -> "MeasurementQuantity" [arrowsize=0.5,style="setlinewidth(0.5)"]; "NonMultiplicativeQuantity" [color=dodgerblue1,fillcolor=white,fontcolor=black,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.5,shape=box,style=rounded]; "PlainQuantity" -> "NonMultiplicativeQuantity" [arrowsize=0.5,style="setlinewidth(0.5)"]; "NumpyQuantity" [color=dodgerblue1,fillcolor=white,fontcolor=black,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.5,shape=box,style=rounded]; "PlainQuantity" -> "NumpyQuantity" [arrowsize=0.5,style="setlinewidth(0.5)"]; "PlainQuantity" [color=dodgerblue1,fillcolor=white,fontcolor=black,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.5,shape=box,style=rounded,tooltip="Implements a class to describe a physical quantity:"]; "Generic" -> "PlainQuantity" [arrowsize=0.5,style="setlinewidth(0.5)"]; "PrettyIPython" -> "PlainQuantity" [arrowsize=0.5,style="setlinewidth(0.5)"]; "SharedRegistryObject" -> "PlainQuantity" [arrowsize=0.5,style="setlinewidth(0.5)"]; "PrettyIPython" [color=dodgerblue1,fillcolor=white,fontcolor=black,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.5,shape=box,style=rounded,tooltip="Mixin to add pretty-printers for IPython"]; "Quantity" [URL="#taurus.core.units.Quantity",color=dodgerblue1,fillcolor=white,fontcolor=black,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.5,shape=box,style=rounded,target="_top"]; "Quantity" -> "Quantity" [arrowsize=0.5,style="setlinewidth(0.5)"]; "Quantity" [color=dodgerblue1,fillcolor=white,fontcolor=black,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.5,shape=box,style=rounded]; "SystemQuantity" -> "Quantity" [arrowsize=0.5,style="setlinewidth(0.5)"]; "ContextQuantity" -> "Quantity" [arrowsize=0.5,style="setlinewidth(0.5)"]; "DaskQuantity" -> "Quantity" [arrowsize=0.5,style="setlinewidth(0.5)"]; "NumpyQuantity" -> "Quantity" [arrowsize=0.5,style="setlinewidth(0.5)"]; "MeasurementQuantity" -> "Quantity" [arrowsize=0.5,style="setlinewidth(0.5)"]; "NonMultiplicativeQuantity" -> "Quantity" [arrowsize=0.5,style="setlinewidth(0.5)"]; "PlainQuantity" -> "Quantity" [arrowsize=0.5,style="setlinewidth(0.5)"]; "SharedRegistryObject" [color=dodgerblue1,fillcolor=white,fontcolor=black,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.5,shape=box,style=rounded,tooltip="Base class for object keeping a reference to the registree."]; "SystemQuantity" [color=dodgerblue1,fillcolor=white,fontcolor=black,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.5,shape=box,style=rounded]; "GroupQuantity" -> "SystemQuantity" [arrowsize=0.5,style="setlinewidth(0.5)"]; }

class Quantity(value: MagnitudeT, units: UnitLike | None = None)
class Quantity(value: str, units: UnitLike | None = None)
class Quantity(value: Sequence[ScalarT], units: UnitLike | None = None)
class Quantity(value: PlainQuantity[Any], units: UnitLike | None = None)

  Import from `taurus.core.units` as:

      from taurus.core.units import Quantity