Product#
- class uvex_transients.phase_space.sampling.base.Product(name: str, label: str = '', unit: str = '', draw: bool = False)[source]#
A quantity of the map, and how it is made from the points and the estimate of the success fraction.
- Parameters:
name (
str) – The name of the product, which is the name of its main column. A valid Python identifier, so that it can be used in an expression.label (
str, optional) – What a figure calls the quantity, in mathtext if it has symbols.unit (
str, optional) – The unit of the quantity.draw (
bool, optional) – Whether the default figure of the map has a panel for it. Off by default; aWeightedproduct, which is what a map is for, is drawn unless it says otherwise. Any column can be drawn by asking for it by name.
- Raises:
ValueError – If name is not an identifier.
Methods
Attributes