At the moment, it is only possible to apply manipulate functions on the disk object, modifying it.
Sometimes, it is definitely useful to be able to get the manipulation in memory, but this of course has to be done one element at a time (otherwise we won't reduce the memory consumed by EKO).
Thus, we want to reshape and yield one by one:
def xgrid_reshape_iter(...):
for mu2 in mu2grid:
yield reshape(eko[mu2])
At the moment, it is only possible to apply
manipulatefunctions on the disk object, modifying it.Sometimes, it is definitely useful to be able to get the manipulation in memory, but this of course has to be done one element at a time (otherwise we won't reduce the memory consumed by EKO).
Thus, we want to reshape and yield one by one: