candle.uq_utils.compute_limits#
- candle.uq_utils.compute_limits(numdata, numblocks, blocksize, blockn)#
Generates the limit of indices corresponding to a specific block. It takes into account the non-exact divisibility of numdata into numblocks letting the last block to take the extra chunk.
- Parameters:
- Returns:
start (int) – Position to start assigning indices
end (int) – One beyond position to stop assigning indices