nmrglue.fileio.sparky.calc_tshape

nmrglue.fileio.sparky.calc_tshape(shape, kbyte_max=128)[source]

Calculate a tile shape from data shape.

Parameters
shapetuple

Shape of NMR data (data.shape).

kbyte_maxfloat or int

Maximum tile size in Kilobytes.

Returns
tshapetuple

Shape of tile.