This is a MATLAB code that will compute noise cross correlations.
As of 1 July 2021 the master branch has been renamed main. You need to execute the following code to make this change in your local repository.
git fetch origin
git branch -u origin/main main
git remote set-head origin -a
- The NoiseXcor package relies on the GISMOTOOLS waveform object to hold the data and metadata for each correlation waveform. You can follow the installation instructions here. You will want to follow all steps so that the GISMOTOOLS library is loaded every time you start MATALB.
The remainder of the code uses internal MATLAB libraries. The current version of the code depends on MATLAB v9.2 (2017a). We are constantly working to utilize internal improvements in MATLAB.
After cloning this repository to your local machine, you will need to add the src folder to your MATLAB path. Below is an example in which we append the src folder to the end of the MATLAB path.
addpath('/Users/dmikesell/GIT/NoiseXcor/src', '-end');
You may want to permanently add this path so you do not have to run this command each time you start MATLAB. You can do this by running the path GUI.
pathtool
See the tutorial in examples/Example_SAC/README.md to see how the code runs.