General workflow
The package correlations provides some tools in order to compute all the correlations from a directory with a valid architecture (See requirement in the module correlations.correlationsMain):
General specification
Centralized case:
Given:
- A ‘LoadDirectory’.
- A ‘SaveDirectory’.
- A first component.
- A second component.
- A set of dates.
- A set of stations.
Make:
Compute the correlations of all the couples of traces from the ‘LoadDirectory’ whose correspond to the FirstComponent, the SecondComponent, the set of dates and the set of stations.
Save the correlations in the ‘SaveDirectory’ with architecture:
SaveDirectory -> FirstComponent_SecondComponent -> Year -> JulianDay -> FirstStation -> FirstStation_SecondStation.npy
Decentralized case:
Given:
A ‘LoadDirectory’.
A ‘SaveDirectory’.
A first component.
A second component.
For the dates:
- A set of dates.
- A number of sublist of dates.
- An index of sublist of dates.
For the station:
- A set of stations.
- A number of sublist of stations.
- Either one index of sublist of stations.
- Or either two indexes for two disjoints sublists of stations.
Make:
Compute the correlations of all the couples of traces from the ‘LoadDirectory’ whose correspond to the FirstComponent, the SecondComponent, the sublists of dates and the one or two sublists of stations.
Save the correlations in the ‘SaveDirectory’ with architecture:
SaveDirectory -> FirstComponent_SecondComponent -> Year -> JulianDay -> FirstStation -> FirstStation_SecondStation.npy
General architecture
Architecture of modules (prefix “correlations” is omitted):
See also the tutorial
Whisper project: FP7 ERC Advanced grant 227507 (WHISPER).
Codes are develop for the Whisper project (Seismic ambient noise).
If you use this code, specify it is provide by: Whisper project FP7 ERC Advanced grant 227507 (WHISPER).
Author: Xavier Briand.
For questions, send email to xav.briand.whisper@gmail.com with subject begin exactly with [whisper].