Skip to content

ThPredictionsResult should not use C++ #1347

@siranipour

Description

@siranipour

At the moment when computing theory predictions we make calls to C++

th_predictions = ThPredictions(loaded_pdf, loaded_data)

afaict this can be replaced in favour of validphys.convolution. In particular the stats no longer need to be done using C++ too. However, before fixing this I just want to make sure of the following:

When we have

return self._std_error

Is this equivalent to:

np.std(self._rawdata, axis=1)

because at the moment, (for NMC for example)

np.allclose(self.std_error, np.std(self._rawdata, axis=1)
# False

cc @scarrazza

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions