Write a slice of a 3D data array to file.
Opens (or if necessary creates) a 2D NMRPipe file(s) to write data, where the total 3D file size is given by shape.
Parameters : | filemask : str
dic : dict
data : ndarray
shape : tuple
(sz, sy, sx) : slices
|
---|
See also
Notes
This function memmaps 2D NMRPipe files for speed. It only writes dictionaries to file when created, leaving them unmodified if the file exists. Only error checking is that data is 3D.