obspy.io.sac.arrayio.init_header_arrays

init_header_arrays(arrays=('float', 'int', 'str'), byteorder='=')[source]

Initialize arbitrary header arrays.

Parameters:
  • arrays (Tuple of strings {‘float’, ‘int’, ‘str’}) Specify which arrays to initialize and the desired order. If omitted, returned arrays are (‘float’, ‘int’, ‘str’), in that order.
  • byteorder (str {‘<’, ‘=’, ‘>’}) Desired byte order of initialized arrays (little, native, big).
Return type:

list of ndarray instances

Returns:

The desired SAC header arrays.