Look for ways to speed this up.
Suggestions from user:
- parallelize loops in _read_dice_outputs (and/or whatever that function calls). Looking at the code this seems straightforward (here i just mean, to parallelize all the relevant loops on a single node, with multiprocess.Pool.map or some variant).
- see if we can speed up _read_wave_function_magnitudes and other functions that are called; i.e. get rid of list.appends (just preallocate mem and fill things in), and potentially parallelize loop(s) if limiting.
Look for ways to speed this up.
Suggestions from user: