-
-
Notifications
You must be signed in to change notification settings - Fork 68
Description
The most common way to estimate errors in a MCF analysis is to repeatedly count marked pairs with scrambled marks. The current API makes this process very slow, because with each call to the MCF, pairs of points need to be found all over again. There should be a way to open each pair of cells only once. The naive way of doing this would be to pass in a multi-dimensional array of shape (num_pts, num_realizations), and simply loop over num_realizations for each pair of cells. However, memory constraints make this infeasible for reasonable sample sizes and numbers of realizations, so we will need to be clever.
@duncandc - now that I have finished giving the underlying mock_observables engine a rewrite, I think now is the time to implement this, so let's hash this out when we sit down later this week to port the new engine to the rest of the mock_observables functions.
CC @vcalderon2009 and @andrew-zentner , who have both requested this feature.