Here is a summary of major changes in this release. Please refer to changes.txt
in the package directory for detailed notes of changes. The main functionality change/update is the under-the-hood redesign of the cross-correlation workflow. It should be compatible with older scripts doing xcorr. The new/updated do_correlation() added more options.
Updates in v0.9.0:
SCRIPTS:
- Added the scripts for the whole workflow of extracting EGFs.
- Removed some old scripts that are incompatible with the new usage and functions.
SCRIPTS/2_XCORR_MPI.py:
- Added a switch named correct_orientation for channel orientation correction/conversion.
- Added pad_thre to define the maximum threshold of size gaps between channels when doing orientation correction.
- Added a switch named do_rotation for horizontal channel rotation
- Added a switch named channel_pairs for specifying which channel pairs are saved.
SIMULATION MODEL:
- Added build_vmodel() to create a layered model with linearly increasing velocity.
TYPES:
- Added checking for corrdata.data.ndim when initilizing CorrData to make sure substack True for ndim 2 (or >1).
OBSMASTER:
- Moved correct_orientations() out to utils, but kept the block of calling this function to be compatible with old usage.
UTILS:
- Moved correct_orientations() here.
- Fixed a bug where the number of traces in slicing_trace() is 1 trace less than the true number.
NOISE:
- Added trace_info() to extract trace and orientation info.
- Added the function to correct horizontal orientations and convert 1/2 channels to N/E channels.
- Optimized the workflow for cross-correlation with the option to do rotation before xcorr.
3a. Added the function to do channel rotation specified channel pairs
3b. do_correlation(): added an option to specify which channel pairs are saved.
3c. Added assemble_raw() to assemble raw data from h5 files
3d. Updated assemble_fft() to prepare data for FFT with rotation and specified xcorr pairs. - Added get_locator() to read inventory and location id of stations
- Added rotation() to perform horizontal channel rotation