nmrglue.fileio.sparky.get_tile

nmrglue.fileio.sparky.get_tile(f, num_points)[source]

Read the next tile from a Sparky file object.

Parameters
ffile object

Open file object pointing to a Sparky file.

num_pointsint

Number of points in the tile.

Returns
tilendarray

Tile of NMR data. Data is returned as a 1D array.