4.4.1.2. eqcorrscan.utils.clustering.SVD_2_stream¶
-
eqcorrscan.utils.clustering.
SVD_2_stream
(SVectors, stachans, k, sampling_rate)[source]¶ Convert the singular vectors output by SVD to streams.
One stream will be generated for each singular vector level, for all channels. Useful for plotting, and aiding seismologists thinking of waveforms!
Parameters: - SVectors (list) List of
numpy.ndarray
Singular vectors - stachans (list) List of station.channel Strings
- k (int) Number of streams to return = number of SV’s to include
- sampling_rate (float) Sampling rate in Hz
Returns: SVstreams, List of
obspy.core.stream.Stream
, with SVStreams[0] being composed of the highest rank singular vectors.- SVectors (list) List of