rfak


Namerfak JSON
Version 0.0.1 PyPI version JSON
download
home_pagehttps://github.com/akinremisa/rfsed
SummaryA small example package
upload_time2023-11-12 15:23:19
maintainer
docs_urlNone
authorStephen Akinremi
requires_python>=3.8
license
keywords seismology receiver function sediment effect in receiver functions crustal modelling moho earth sciences
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # rfsed
## Receiver functions analysis and dealing with sediment effects in receiver functions.
[![python version](https://img.shields.io/pypi/pyversions/rf.svg)](https://python.org)




## A python package for receiver functions analysis and dealing with sediment effects 

rfsed is developed specifically to implement different techniques of **analysing receiver functions
from stations overlying sedimentary layers.** The package is **adaptable, efficient, and easy-to-use** for different receiver function analysis.

Receiver functions techniques implemented in rfsed are:
+ H-k stacking of Zhu and Kanamori (2000)
+ Sequential H-k stacking of Yeck et al., (2013)
+ Resonance filtering and modified H-k stacking of Yu et al., (2015)
+ H-k stacking and Waveform Fitting two-step method of Akinremi et al., (2024)
+ Analysis of the synthetic reciever functions with the above-mentioned methods.


Beside these receiver function methods, rfsed has the following features:
+ Creating publication quality figures for the results of the analysis.
+ Extracting earthquake data from local seismic record files.
+ Multiprocessing options for waveform fitting and extracting earthquake data from local seismic record files.


Receiver functions streams in the rfsed are handled by the 'RFStream' class of the [rf](https://github.com/trichter/rf) open software, and it inherits a lot of useful methods from the Obspy class 'Stream'. It is supported via the obspyh5 package. For more information on class "RFStream", see documentation on [rf](https://rf.readthedocs.io/en/latest/). 
The rf framework is included in the rfsed package for completness under The MIT License (MIT) Copyright (c) 2013-2019 Tom Eulenfeld. In the rfsed modules to extract earthquake data from local seismic records, read and write support for necessary metadata is provided for SAC, SeismicHanlder and HDF5 formats based on [ObsPy](https://github.com/obspy/obspy).

The receiver function forward calculation in rfsed is done using SynR, which is modified after the [SynSeis module - seispy](https://github.com/xumi1993/seispy) project (under the GNU GENERAL PUBLIC LICENSE).




## Installation and testing of this package

### Installation from PyPi
The easiest way to install rfsed is via `pip`_::

```bash
pip install rfsed
```

### Installation from source code using environment.yml
To obtain the latest updates, you can install rfsed from the source code, available on GitHub.

```bash
# Clone the rfsed repository from GitHub
git clone https://github.com/akinremisa/rfsed.git

# Change directory to the same directory that this repo is in (i.e., same directory as setup.py and environment.yml)
cd cd rfsed  # That's the standard name the folder should have

# Create the conda environment, install dependencies, and install the rfsed package using environment.yml
conda env create -f environment.yml

# Activate the conda environment
conda activate rfsed

```
### Test the rfsed package
You can test the package using pytest by running this command in the directory that has the '/tests/' folder

```bash
pytest -p no:logging tests
```
Or run individual tests in the '/tests/ directory

## Getting started
Access rfsed's documentation [here](https://rfsed.github.io/rfsed/).

rfsed comes with tutorials that demonstrates all its methods. You can find those in the `examples/` directory.

## Reporting Bugs / Contact the developers
This version is an early release of rfsed. If you encounter any issues or unexpected behaviour, please [open an issue](https://github.com/akinremisa/rfsed/issues/new) on GitHub.

## Questions?
If you have any questions about the package, please use the [discussions feature](https://github.com/akinremisa/rfsed/discussions/new/choose)

## Contributing
All contributions are welcome ... e.g. report bugs, discuss or add new features.

## Citing rfsed
If you found this package useful, please consider citing it.

#### References
+ Yeck, W. L., Sheehan, A. F., & Schulte-Pelkum, V. (2013). Sequential h-k stacking to obtain accurate crustal thicknesses beneath sedimentary basins. Bulletin of the Seismological Society of America, 103 , 2142-2150. doi: 10.1785/0120120290
+ Yu, Y., Song, J., Liu, K. H., & Gao, S. S. (2015). Determining crustal structure beneath seismic stations overlying a low-velocity sedimentary layer using receiver functions. Journal of Geophysical Research: Solid Earth, 120 , 3208-3218. doi: 10.1002/2014JB011610
+  Zhu, L., & Kanamori, H. (2000). Moho depth variation in southern California from teleseismic receiver functions. Journal of Geophysical Research: Solid Earth, 105, 2969-2980. doi: 10.1029/1999jb900322

##### Related receiver function projects
+ [rf](https://github.com/trichter/rf) including calculation of receiver functions
+ [seispy](https://github.com/xumi1993/seispy) including hk-stacking
+ [RFPy](https://github.com/paudetseis/RfPy) including hk-stacking, harmonic decomposition
+ [BayHunter](https://github.com/jenndrei/BayHunter) inversion of receiver functions and surface wave dispersion
+ [telewavesim](https://github.com/paudetseis/Telewavesim) synthetics
+ [PyGLImER](https://github.com/PyGLImER/PyGLImER) including common conversion point imaging

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/akinremisa/rfsed",
    "name": "rfak",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=3.8",
    "maintainer_email": "",
    "keywords": "Seismology,Receiver Function,Sediment effect in receiver functions,Crustal modelling,Moho,Earth Sciences",
    "author": "Stephen Akinremi",
    "author_email": "Example Author <author@example.com>",
    "download_url": "https://files.pythonhosted.org/packages/d1/b5/e754679bacb64a40ccb50cc978e3c9cbdbbcf069455667b21bd5bf797ed8/rfak-0.0.1.tar.gz",
    "platform": null,
    "description": "# rfsed\n## Receiver functions analysis and dealing with sediment effects in receiver functions.\n[![python version](https://img.shields.io/pypi/pyversions/rf.svg)](https://python.org)\n\n\n\n\n## A python package for receiver functions analysis and dealing with sediment effects \n\nrfsed is developed specifically to implement different techniques of **analysing receiver functions\nfrom stations overlying sedimentary layers.** The package is **adaptable, efficient, and easy-to-use** for different receiver function analysis.\n\nReceiver functions techniques implemented in rfsed are:\n+ H-k stacking of Zhu and Kanamori (2000)\n+ Sequential H-k stacking of Yeck et al., (2013)\n+ Resonance filtering and modified H-k stacking of Yu et al., (2015)\n+ H-k stacking and Waveform Fitting two-step method of Akinremi et al., (2024)\n+ Analysis of the synthetic reciever functions with the above-mentioned methods.\n\n\nBeside these receiver function methods, rfsed has the following features:\n+ Creating publication quality figures for the results of the analysis.\n+ Extracting earthquake data from local seismic record files.\n+ Multiprocessing options for waveform fitting and extracting earthquake data from local seismic record files.\n\n\nReceiver functions streams in the rfsed are handled by the 'RFStream' class of the [rf](https://github.com/trichter/rf) open software, and it inherits a lot of useful methods from the Obspy class 'Stream'. It is supported via the obspyh5 package. For more information on class \"RFStream\", see documentation on [rf](https://rf.readthedocs.io/en/latest/). \nThe rf framework is included in the rfsed package for completness under The MIT License (MIT) Copyright (c) 2013-2019 Tom Eulenfeld. In the rfsed modules to extract earthquake data from local seismic records, read and write support for necessary metadata is provided for SAC, SeismicHanlder and HDF5 formats based on [ObsPy](https://github.com/obspy/obspy).\n\nThe receiver function forward calculation in rfsed is done using SynR, which is modified after the [SynSeis module - seispy](https://github.com/xumi1993/seispy) project (under the GNU GENERAL PUBLIC LICENSE).\n\n\n\n\n## Installation and testing of this package\n\n### Installation from PyPi\nThe easiest way to install rfsed is via `pip`_::\n\n```bash\npip install rfsed\n```\n\n### Installation from source code using environment.yml\nTo obtain the latest updates, you can install rfsed from the source code, available on GitHub.\n\n```bash\n# Clone the rfsed repository from GitHub\ngit clone https://github.com/akinremisa/rfsed.git\n\n# Change directory to the same directory that this repo is in (i.e., same directory as setup.py and environment.yml)\ncd cd rfsed  # That's the standard name the folder should have\n\n# Create the conda environment, install dependencies, and install the rfsed package using environment.yml\nconda env create -f environment.yml\n\n# Activate the conda environment\nconda activate rfsed\n\n```\n### Test the rfsed package\nYou can test the package using pytest by running this command in the directory that has the '/tests/' folder\n\n```bash\npytest -p no:logging tests\n```\nOr run individual tests in the '/tests/ directory\n\n## Getting started\nAccess rfsed's documentation [here](https://rfsed.github.io/rfsed/).\n\nrfsed comes with tutorials that demonstrates all its methods. You can find those in the `examples/` directory.\n\n## Reporting Bugs / Contact the developers\nThis version is an early release of rfsed. If you encounter any issues or unexpected behaviour, please [open an issue](https://github.com/akinremisa/rfsed/issues/new) on GitHub.\n\n## Questions?\nIf you have any questions about the package, please use the [discussions feature](https://github.com/akinremisa/rfsed/discussions/new/choose)\n\n## Contributing\nAll contributions are welcome ... e.g. report bugs, discuss or add new features.\n\n## Citing rfsed\nIf you found this package useful, please consider citing it.\n\n#### References\n+ Yeck, W. L., Sheehan, A. F., & Schulte-Pelkum, V. (2013). Sequential h-k stacking to obtain accurate crustal thicknesses beneath sedimentary basins. Bulletin of the Seismological Society of America, 103 , 2142-2150. doi: 10.1785/0120120290\n+ Yu, Y., Song, J., Liu, K. H., & Gao, S. S. (2015). Determining crustal structure beneath seismic stations overlying a low-velocity sedimentary layer using receiver functions. Journal of Geophysical Research: Solid Earth, 120 , 3208-3218. doi: 10.1002/2014JB011610\n+  Zhu, L., & Kanamori, H. (2000). Moho depth variation in southern California from teleseismic receiver functions. Journal of Geophysical Research: Solid Earth, 105, 2969-2980. doi: 10.1029/1999jb900322\n\n##### Related receiver function projects\n+ [rf](https://github.com/trichter/rf) including calculation of receiver functions\n+ [seispy](https://github.com/xumi1993/seispy) including hk-stacking\n+ [RFPy](https://github.com/paudetseis/RfPy) including hk-stacking, harmonic decomposition\n+ [BayHunter](https://github.com/jenndrei/BayHunter) inversion of receiver functions and surface wave dispersion\n+ [telewavesim](https://github.com/paudetseis/Telewavesim) synthetics\n+ [PyGLImER](https://github.com/PyGLImER/PyGLImER) including common conversion point imaging\n",
    "bugtrack_url": null,
    "license": "",
    "summary": "A small example package",
    "version": "0.0.1",
    "project_urls": {
        "Homepage": "https://github.com/akinremisa/rfsed"
    },
    "split_keywords": [
        "seismology",
        "receiver function",
        "sediment effect in receiver functions",
        "crustal modelling",
        "moho",
        "earth sciences"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "851c6e223eda01944fd8491c44dc2c5f156babd8e39bfa9d65557d734ac6214f",
                "md5": "a4b6f9ce9ca98d14af2098d7df0b03ea",
                "sha256": "47c9d822f50a2d5c13b9d67b9a1938db6e6ebb2c320bf05726185a81b74a5fd6"
            },
            "downloads": -1,
            "filename": "rfak-0.0.1-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "a4b6f9ce9ca98d14af2098d7df0b03ea",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.8",
            "size": 131201,
            "upload_time": "2023-11-12T15:23:17",
            "upload_time_iso_8601": "2023-11-12T15:23:17.317221Z",
            "url": "https://files.pythonhosted.org/packages/85/1c/6e223eda01944fd8491c44dc2c5f156babd8e39bfa9d65557d734ac6214f/rfak-0.0.1-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "d1b5e754679bacb64a40ccb50cc978e3c9cbdbbcf069455667b21bd5bf797ed8",
                "md5": "7397d0ea683614f40dfd9ecabca60f50",
                "sha256": "1d999ee767902ef75972d65b083e7b75f9b4f235f6cfce969c7a5293d08b4a80"
            },
            "downloads": -1,
            "filename": "rfak-0.0.1.tar.gz",
            "has_sig": false,
            "md5_digest": "7397d0ea683614f40dfd9ecabca60f50",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.8",
            "size": 104948,
            "upload_time": "2023-11-12T15:23:19",
            "upload_time_iso_8601": "2023-11-12T15:23:19.283862Z",
            "url": "https://files.pythonhosted.org/packages/d1/b5/e754679bacb64a40ccb50cc978e3c9cbdbbcf069455667b21bd5bf797ed8/rfak-0.0.1.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-11-12 15:23:19",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "akinremisa",
    "github_project": "rfsed",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": false,
    "lcname": "rfak"
}
        
Elapsed time: 0.13935s