This class encapsulates execution of masking algorithms over windows of a source dataset.
I'm learning all kinds of stuff about pytest while writing the tests :)
Also, itertools.izip() and itertools.repeat() combine really nicely here. We're constrained in how we can pass arguments to the algorithms via pool.imap_unordered() and itertools functions give us a handy iterator over arguments.
This class encapsulates execution of masking algorithms over windows of a source dataset.
I'm learning all kinds of stuff about pytest while writing the tests :)
Also,
itertools.izip()
anditertools.repeat()
combine really nicely here. We're constrained in how we can pass arguments to the algorithms viapool.imap_unordered()
and itertools functions give us a handy iterator over arguments.