{ "info": { "author": "Indra Rudianto", "author_email": "indrarudianto.official@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 5 - Production/Stable", "Environment :: Console", "Intended Audience :: Science/Research", "Natural Language :: English", "Operating System :: POSIX :: Linux", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3.6", "Programming Language :: Python :: 3.7" ], "description": "# bpptkg-richter\n\nPython library for computing Richter local magnitude scales on BPPTKG seismic network.\n\n## Requirements\n\n* Python 3.5+\n* numpy\n\n## Installation\n\n**bpptkg-richter** is available on PyPI, you can install it by typing this\ncommand:\n\n pip install -U bpptkg-richter\n\n## Richter Magnitude Scales\n\nThis package also provides a method for computing Richter local magnitude scales\non BPPTKG seismic network (`VG`). Currently supported stations are `MEDEL`,\n`MELAB`, `MEPAS`, `MEPUS` and only support `Z` component.\n\nYou may want to install [ObsPy](https://www.obspy.org/) package, because\nthis package only work on ObsPy stream type. Default network is `VG` and\ndefault component is `Z`:\n\n```python\nfrom obspy import read\nimport richter\n\nstream = read('/path/to/stream.mseed')\n\n# Compute Richter local magnitude for station MEPAS\nml = richter.compute_ml(stream, 'MEPAS', network='VG', component='Z')\n\n# Compute Wood-Anderson zero-to-peak amplitude in meter for station MEPAS\nwa_ampl = richter.compute_wa(stream, 'MEPAS', network='VG', component='Z')\n\n# Compute count amplitude peak-to-peak for station MEPAS\napp = richter.compute_app(stream, 'MEPAS', network='VG', component='Z')\n```\n\nor for short version:\n\n```python\nfrom obspy import read\nimport richter\n\nstream = read('/path/to/stream.mseed')\n\nml = richter.compute_ml(stream, 'MEPAS')\nwa_ampl = richter.compute_wa(stream, 'MEPAS')\napp = richter.compute_app(stream, 'MEPAS')\n```\n\nFor current version, on computing local magnitude (`compute_ml`) and\nWood-Anderson amplitude(`compute_wa`), supported component is only `Z`\ncomponent.\n\nMethod `compute_app` support other components, for example:\n\n```python\napp = richter.compute_app(stream, 'MELAB', component='E') \n```\n\n## Documentation\n\nFull documentation and guides are available at `docs/` directory. You can build\nthe documentation by running these commands:\n\n cd /path/to/bpptkg-richter/\n pip install -r requirements.txt\n sphinx-build -b html docs/ /path/to/build/\n\n## Support\n\nThis project is maintained by Indra Rudianto. If you have any question about\nthis project, you can contact him at .\n\n## License\n\nBy contributing to the project, you agree that your contributions will be\nlicensed under its MIT license. See\n[LICENSE](https://gitlab.com/bpptkg/bpptkg-richter/blob/master/LICENSE) for\ndetails.", "description_content_type": "text/markdown", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://gitlab.com/bpptkg/bpptkg-richter", "keywords": "", "license": "BPPTKG", "maintainer": "", "maintainer_email": "", "name": "bpptkg-richter", "package_url": "https://pypi.org/project/bpptkg-richter/", "platform": "", "project_url": "https://pypi.org/project/bpptkg-richter/", "project_urls": { "Homepage": "https://gitlab.com/bpptkg/bpptkg-richter" }, "release_url": "https://pypi.org/project/bpptkg-richter/0.1.0/", "requires_dist": null, "requires_python": "", "summary": "Python library for computing Richter local magnitude scales on BPPTKG seismic network", "version": "0.1.0" }, "last_serial": 5799143, "releases": { "0.1.0": [ { "comment_text": "", "digests": { "md5": "b5a86b4f77a131222365242bb16c3bcf", "sha256": "afe6d6be395fcc0c148734a167019fde17ede87aec8936bc287eb46f6de3a8d1" }, "downloads": -1, "filename": "bpptkg-richter-0.1.0.tar.gz", "has_sig": false, "md5_digest": "b5a86b4f77a131222365242bb16c3bcf", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 9713, "upload_time": "2019-09-08T12:01:58", "url": "https://files.pythonhosted.org/packages/4e/f2/48dd5d707445e6a30605146408e673716b1b3836b7142cf5f9ee937de2da/bpptkg-richter-0.1.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "b5a86b4f77a131222365242bb16c3bcf", "sha256": "afe6d6be395fcc0c148734a167019fde17ede87aec8936bc287eb46f6de3a8d1" }, "downloads": -1, "filename": "bpptkg-richter-0.1.0.tar.gz", "has_sig": false, "md5_digest": "b5a86b4f77a131222365242bb16c3bcf", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 9713, "upload_time": "2019-09-08T12:01:58", "url": "https://files.pythonhosted.org/packages/4e/f2/48dd5d707445e6a30605146408e673716b1b3836b7142cf5f9ee937de2da/bpptkg-richter-0.1.0.tar.gz" } ] }