ObservableValues¶
- class madspace.ObservableValues(self: madspace._madspace_py.ObservableValues, observables: collections.abc.Sequence[madspace._madspace_py.Observable])¶
Bases:
FunctionGeneratorPer-event observable values, without binning.
Evaluates one Observable per entry of
observablesand returns the raw values instead of accumulating them. Unlike ObservableHistograms this keeps the full event sample, so the binning can be chosen afterwards when the generated events are combined.batchis the leading batch dimension.iindexes the observables.Arguments
momenta–float, shape(batch, n, 4)– the event momenta.
Returns
value_i–float, shape(batch,)– the value of observablei. An event-level observable returning a vector keeps its own shape.
References
[1] T. Heimel, O. Mattelaer, R. Winterhalder, “MadSpace”, https://arxiv.org/abs/2602.06895 (Sec. 3.2.5)
- Parameters:
observables – The observables to evaluate.
- property observables¶
The observables passed to the constructor.