obspy.core.stream.Stream.insert

Stream.insert(position, object)[source]

Insert either a single Trace or a list of Traces before index.

Parameters:
  • position – The Trace will be inserted at position.

  • object – Single Trace object or list of Trace objects.