-
classmethod colliderscope.Histogram.from_interface(hist: HistogramLike, copy: bool =
True) → Self
Instantiates Histogram from a generic HistogramLike
interface.
- Parameters:
- hist : HistogramLike
The histogram data to convert.
- copy : bool
If True, the data from the counts attribute will be
copied to the returned instance. If False, they will
share the same underlying memory. Default is True.
- Returns:
Histogram instance, converted from input histogram.
- Return type:
Histogram
Last update:
Jun 27, 2025