obspy.signal.array_analysis.get_spoint
- get_spoint(stream, stime, etime)[source]
Calculates start and end offsets relative to stime and etime for each trace in stream in samples.
- Parameters:
stime (
UTCDateTime
) – Start timeetime (
UTCDateTime
) – End time
- Returns:
start and end sample offset arrays