obspy.segy.segy.SEGYFile._writeTextualHeader

SEGYFile._writeTextualHeader(file)[source]

Write the textual header in various encodings. The encoding will depend on self.textual_header_encoding. If self.textual_file_header is too small it will be padded with zeros. If it is too long or an invalid encoding is specified an exception will be raised.

This Page