Previous topic

Module correlationsMain

Next topic

Module correlationsGetParam

This Page

File parameters for the package.

Module correlationsParam

correlations.correlationsParam

This module provide the parameters of the package correlations.

Parameters:
ListOfStations: list

The list of stations. Only correlations which correspond to these stations are compute.

FormatTrace: str

The format to load the trace. Set only ‘npy’ (for numpy array format).

FormatSave: str

The format to save the correlation. Set only ‘npy’ (for numpy array format) or ‘mat’ (for matlab format).

FirstDay, FirstYear: int or str

A julian day and a year. FirstDay and FirstYear compose the date ‘FirstYear/FirstDay’. Only traces with date after this date are processed.

LastDay, LastYear: int or str

A julian day and a year. LastDay and LastYear compose the date ‘LastYear/LastDay’. Only traces with date after this date are processed.

LenTrace: int

The length of the trace.

Maxlag: int

The lag of the correlations.

GoodNumber: int

A number great than LenTrace+Maxlag to optimize the time computing of Fourier transform. If you do not know, set the smaller power of two greater than LenTrace+Maxlag.

ListOfDates: list

A list of dates.

Note

If this list is not empty, it will be take into account instead of the attributes FirstDay, FirstYear, LastDay, LastYear. This provides an ad hoc solution to compute correlations for dates that are not of the form ‘year/day’.

correlations.correlationsParam.ListOfStations
ListOfStations = [‘ARIG’, ‘CAIG’, ‘CCIG’, ‘LPIG’, ‘MEIG’, ‘OXIG’, ‘PLIG’, ‘PNIG’, ‘SCIG’, ‘SRIG’, ‘TGIG’, ‘THIG’, ‘YAIG’, ‘ZIIG’,
‘AMAC0’, ‘AMAC2’, ‘AMAC4’, ‘AMACB’, ‘APAX1’, ‘APAX3’, ‘APAX5’, ‘ATEN1’, ‘ATEN3’, ‘ATLI1’, ‘ATLI3’, ‘ATLI5’, ‘CACA0’, ‘CACA2’, ‘CACA4’, ‘COAC0’, ‘COAC2’, ‘COAC4’, ‘HUIZ0’, ‘HUIZ2’, ‘HUIZ4’, ‘TELO1’, ‘TELO3’, ‘TOMA2’, ‘XALI0’, ‘XALI2’, ‘XALI4’, ‘XALIB’, ‘AMAC1’, ‘AMAC3’, ‘AMAC5’, ‘APAX0’, ‘APAX2’, ‘APAX4’, ‘APAXB’, ‘ATEN2’, ‘ATLI0’, ‘ATLI2’, ‘ATLI4’, ‘ATLIB’, ‘CACA1’, ‘CACA3’, ‘CACA5’, ‘COAC1’, ‘COAC3’, ‘COAC5’, ‘HUIZ1’, ‘HUIZ3’, ‘HUIZ5’, ‘TELO2’, ‘TOMA1’, ‘TOMA3’, ‘XALI1’, ‘XALI3’, ‘XALI5’]

#param for dates

correlations.correlationsParam.ListOfDates

FirstDay = 168 FirstYear = ‘2007’ LastDay = ‘170’ LastYear = ‘2007’


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].