Type of data expected by fill
.
Type of data expected by fill
.
The type of the immutable version of this container.
The type of the immutable version of this container.
Intended for the general user to copy a complex container's type into the as
method of a container whose type is not known at compile-time.
Intended for the general user to copy a complex container's type into the as
method of a container whose type is not known at compile-time.
Typical use: filledHistogram.as[initialHistogram.Type]
Reweight the contents in all nested aggregators by a scalar factor, as though they had been filled with a different weight.
Reweight the contents in all nested aggregators by a scalar factor, as though they had been filled with a different weight.
If the container is mutable (with org.dianahep.histogrammar.Aggregation), the new one will be, too.
The original is unaffected.
Add two containers of the same type.
Add two containers of the same type.
If these containers are mutable (with org.dianahep.histogrammar.Aggregation), the new one will be, too.
The originals are unaffected.
Attempt to get key x
, throwing an exception if it does not exist.
Cast the container to a given type.
Cast the container to a given type. Especially useful for containers reconstructed from JSON or stored in org.dianahep.histogrammar.UntypedLabeling/org.dianahep.histogrammar.UntypedLabeled.
Map of string category and the associated container of values associated with it.
List of sub-aggregators, to make it possible to walk the tree.
List of sub-aggregators, to make it possible to walk the tree.
List of sub-aggregators, to make it possible to walk the tree.
List of sub-aggregators, to make it possible to walk the tree.
Copy this container, making a clone with no reference to the original.
Copy this container, making a clone with no reference to the original.
If these containers are mutable (with org.dianahep.histogrammar.Aggregation), the new one will be, too.
Weighted number of entries (sum of all observed weights).
Weighted number of entries (sum of all observed weights).
Reference to the container's factory for runtime reflection.
Reference to the container's factory for runtime reflection.
Entry point for the general user to pass data into the container for aggregation.
Entry point for the general user to pass data into the container for aggregation.
Usually all containers in a collection of histograms take the same input data by passing it recursively through the tree. Quantities to plot are specified by the individual container's lambda functions.
The container is changed in-place.
Attempt to get key x
, returning None
if it does not exist.
Attempt to get key x
, returning an alternative if it does not exist.
Set of keys among the bins
.
Iterable over the keys of the bins
.
Numerical function to track.
Numerical function to track.
Number of bins
.
Convert any Container into a NoAggregation Container.
Convert any Container into a NoAggregation Container.
Convert this container to JSON (dropping its fill
method, making it immutable).
Convert this container to JSON (dropping its fill
method, making it immutable).
Note that the org.dianahep.histogrammar.json.Json object has a stringify
method to serialize.
Used internally to convert the container to JSON without its "type"
header.
Used internally to convert the container to JSON without its "type"
header.
Iterable over the values of the bins
.
Create an empty container with the same parameters as this one.
Create an empty container with the same parameters as this one.
If this container is mutable (with org.dianahep.histogrammar.Aggregation), the new one will be, too.
The original is unaffected.
Accumulating a quantity by splitting it by its categorical (string-based) value and filling only one category per datum.
Use the factory org.dianahep.histogrammar.Categorize to construct an instance.