obspy.io.sac.arrayio.dict_to_header_arrays

dict_to_header_arrays(header=None, byteorder='=')[source]

Returns null hf, hi, hs arrays, optionally filled with values from a dictionary.

No header checking.

Parameters
  • header (dict) – SAC header dictionary.

  • byteorder (str) – Desired byte order of initialized arrays (little, native, big, as {‘<’, ‘=’, ‘>’}).

Returns

The float, integer, and string header arrays, in that order.

Return type

tuple(numpy.ndarray)