ANXCOR is a python library for performing seismic ambient noise crosscorrelations
Project description
ANXCOR: Ambient Noise X (cross) Correlation
Currently in Beta!
ANXCOR is a python library for performing seismic ambient noise crosscorrelations.
ANXCOR's goal is to provide a framework to reproduce academic studies, rapididly prototype experimental workflows, and produce medium-sized arrays of seismic noise cross-correlations. Anxcor was designed from the outset with readability and explicit documentation in mind, with the overall architecture following most of the practices outlined in the Clean Code Handbook by Robert C. Martin.
ANXCOR integrates seamlessly into the current python datascience stack by leveraging common datascience packages like pandas, NumPy, and SciPy, as well as the popular seismology package ObsPy. Furthermore, we leverage both xarray and dask to achieve embarassingly parallel execution. Use of these popular packages makes working with ANXCOR intuitive, concise, and extensible without deep domain experience in compiled languages.
Documentation
learn more about ANXCOR at the wiki.
Acknowledgements
Kevin A. Mendoza served as chief architect and programmer of ANXCOR. Development of the project was inspired by Dr. Fan-Chi Lin's work in Ambient Noise Seismic Tomography. Many of the routines implemented here were written after careful consultation with him and his Graduate Student work group (However, none of their code was copied or directly translated into anxcor).
Attribution
Mendoza, Kevin Anthony, Ben Baker, and Kristine L. Pankow. "ANXCOR: Ambient Noise Cross-Correlation with Python." AGU Fall Meeting 2019. AGU, 2019.
Known Issues
-
Using obsplus Wavebank creates runtime race condition on hdf5 table reading, causing index corruption. Error not encountered if restricting workers to a single thread.
-
Returned DataSet requires some unravelling to properly plot.
Planned Enhancements
- FTAN and beamforming routines
Contributing
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
Please make sure to update tests as appropriate.
Contributors
- PhD Student Kevin A. Mendoza was the primary developer, and is responsible for the original architecture of the project.
LICENSE
Copyright 2019 Kevin A Mendoza
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file anxcor-0.1.0.tar.gz
.
File metadata
- Download URL: anxcor-0.1.0.tar.gz
- Upload date:
- Size: 25.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/42.0.1 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.6.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 85dd83cbf66c17747e0fad609457517dfaec7734a21230980f602af12c664f7a |
|
MD5 | e41cb1f30fedeb81a7ef471a881143b6 |
|
BLAKE2b-256 | c3cca0b6da4913ab5e4af085516c445b97f4bf167932d978fece0c697c186032 |
File details
Details for the file anxcor-0.1.0-py3-none-any.whl
.
File metadata
- Download URL: anxcor-0.1.0-py3-none-any.whl
- Upload date:
- Size: 29.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/42.0.1 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.6.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 32c0ed1652c555f2cbf39445ea20fc885f43be905d9d2ce7b2447675fe434b3b |
|
MD5 | ad019581580a54ee6bcac118be04fdb7 |
|
BLAKE2b-256 | 3867386e7c463c93b626f8d6f241828dcc89bb6ff8821c22917654bde4bad7d1 |