nmrglue.fileio.pipe.
write_4D
Write a one or two index 4D NMRPipe file.
See write() for documentation.
write()