obspy.io.segy.segy.SUFile.write

SUFile.write(file, endian=None)[source]

Write a SU Y file to file which is either a file like object with a write method or a filename string.

If endian is set it will be enforced.