{ "info": { "author": "", "author_email": "", "bugtrack_url": null, "classifiers": [ "Development Status :: 3 - Alpha", "Intended Audience :: Science/Research", "License :: Other/Proprietary License", "Operating System :: OS Independent", "Programming Language :: Python", "Programming Language :: Python :: 2", "Programming Language :: Python :: 3", "Topic :: Scientific/Engineering", "Topic :: Scientific/Engineering :: Physics" ], "description": "Becquerel is a Python package for analyzing nuclear spectroscopic\nmeasurements. The core functionalities are reading and writing different\nspectrum file types, fitting spectral features, performing detector\ncalibrations, and interpreting measurement results. It includes tools for\nplotting radiation spectra as well as convenient access to tabulated nuclear\ndata, and it will include fits of different spectral features. It relies\nheavily on the standard scientific Python stack of numpy, scipy, matplotlib,\nand pandas. It is intended to be general-purpose enough that it can be useful\nto anyone from an undergraduate taking a laboratory course to the advanced\nresearcher.\n\n## Installation\n\n```\npip install becquerel\n```\n\n## Features in development (contributions welcome!)\n\n* Reading additional `Spectrum` file types (N42, CHN, CSV)\n* Writing `Spectrum` objects to various standard formats\n* Fitting spectral features (e.g., gaussian lines with different background models)\n\nIf you are interested in contributing or are want to install the package from\nsource, please see the instructions in [`CONTRIBUTING.md`](./CONTRIBUTING.md).\n\n## Reporting issues\n\nWhen reporting issues with `becquerel`, please provide a minimum working example to help identify the problem and tag the issue as a `bug`.\n\n## Feature requests\n\nFor a feature request, please create an issue and label it as a `new feature`.\n\n## Dependencies\n\nExternal dependencies are listed in `requirements.txt` and will be installed\nautomatically with the standard `pip` installation. They can also be installed\nmanually with the package manager of your choice (`pip`, `conda`, etc).\nThe dependencies `beautifulsoup4`, `lxml` and `html5lib` are necessary for\n[`pandas`][1].\n\nDevelopers require additional requirements which are listed in\n`requirements-dev.txt`. We use [`pytest`][2] for unit testing and encourage\ncontributors to use [`pylint`][3], [`pycodestyle`][4], [`pydocstyle`][5] and\n[`yapf`][6] for proper code formatting.\n\n[1]: https://pandas.pydata.org/pandas-docs/stable/install.html#dependencies\n[2]: https://docs.pytest.org\n[3]: https://pylint.readthedocs.io\n[4]: http://pycodestyle.pycqa.org\n[5]: http://www.pydocstyle.org\n[6]: https://github.com/google/yapf\n\n\n## Contribution guidelines\n\nContributions to `becquerel` are welcome and encouraged, whether it is\nreporting bugs, requesting features, or contributing code.\nPlease follow these guidelines when contributing to this project.\n\n### Developer Instructions\n\n```\npip install -r requirements.txt\npip install -r requirements-dev.txt\npython setup.py develop\n```\n\n(It is more convenient to use `develop` so that the code is soft-linked\nfrom the installation directory, and the installed package will always use\nthe current version of code.)\n\n### Running the tests\n\n(Requires `requirements-dev.txt` to be installed)\nTo run the tests using `pytest`, from the root directory of the repo:\n\n```\npytest\n```\n\n(`python setup.py test` is still supported also.)\nBy default, a code coverage report is printed to the terminal.\nTests marked `webtest` or `plottest` are by default skipped for the sake of\nspeed. To run all tests, clear the pre-configured markers option:\n\n```\npytest -m \"\"\n```\n\nTo produce an HTML code coverage report in directory `htmlcov`\nwith line-by-line highlighting:\n\n```\npytest --cov-report html:htmlcov\n```\n\n### Code Style Guide\n\nUse [google standards](https://google.github.io/styleguide/pyguide.html)\n\n### Linter\n\n* Use `flake8` in your IDE\n* Use `pylint` from command line (as in style guide)\n\n### Checklist for code contributions:\n - [ ] Branch off of `develop` and name the branch `feature-XX` or `issue-XX`\n - [ ] Develop the feature or fix\n - [ ] Write tests to cover all use cases\n - [ ] Ensure all tests pass (`python setup.py test`)\n - [ ] Ensure test coverage is >95%\n - [ ] Ensure there are no linter issues:\n - `flake8 becquerel tests`\n - `pydocstyle becquerel tests`\n - `pylint becquerel tests`\n - [ ] Spellcheck your code and docstrings\n - [ ] Check style is [consistent with Google Python style guide](https://github.com/google/styleguide/blob/gh-pages/pyguide.md)\n - [ ] Push branch to GitHub and create a pull request\n\n## Copyright Notice\n\nBecquerel v. 0.2.2, Copyright (c) 2017, The Regents of the University of\nCalifornia (UC), through Lawrence Berkeley National Laboratory, and the UC\nBerkeley campus (subject to receipt of any required approvals from the U.S.\nDept. of Energy). All rights reserved. If you have questions about your rights\nto use or distribute this software, please contact Berkeley Lab's Innovation &\nPartnerships Office at IPO@lbl.gov.\n\nNOTICE. This Software was developed under funding from the U.S. Department of\nEnergy and the U.S. Government consequently retains certain rights. As such,\nthe U.S. Government has been granted for itself and others acting on its\nbehalf a paid-up, nonexclusive, irrevocable, worldwide license in the Software\nto reproduce, distribute copies to the public, prepare derivative works, and\nperform publicly and display publicly, and to permit other to do so.\n\n\n", "description_content_type": "text/markdown", "docs_url": null, "download_url": "https://github.com/lbl-anp/becquerel/releases", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/lbl-anp/becquerel", "keywords": "", "license": "Other/Proprietary License (see LICENSE.txt)", "maintainer": "The Becquerel Development Team", "maintainer_email": "becquerel-dev@lbl.gov", "name": "becquerel", "package_url": "https://pypi.org/project/becquerel/", "platform": "any", "project_url": "https://pypi.org/project/becquerel/", "project_urls": { "Download": "https://github.com/lbl-anp/becquerel/releases", "Homepage": "https://github.com/lbl-anp/becquerel" }, "release_url": "https://pypi.org/project/becquerel/0.2.2/", "requires_dist": [ "beautifulsoup4", "future", "html5lib", "lxml", "matplotlib", "numba", "numpy", "pandas", "python-dateutil", "requests", "scipy", "setuptools", "uncertainties" ], "requires_python": ">=2.6", "summary": "Tools for radiation spectral analysis.", "version": "0.2.2" }, "last_serial": 4847390, "releases": { "0.2.0": [ { "comment_text": "", "digests": { "md5": "14e616f623f4542be1af6dfe5015a318", "sha256": "691ddb2d62cd9dc8507c6748077a6bf5f3db2d92c27b93033f4144402c1f55c7" }, "downloads": -1, "filename": "becquerel-0.2.0-py3-none-any.whl", "has_sig": false, "md5_digest": "14e616f623f4542be1af6dfe5015a318", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=2.6", "size": 75199, "upload_time": "2018-12-13T22:53:06", "url": "https://files.pythonhosted.org/packages/74/cc/dd531d99f39bd926d08b5ce077982cb8492f21b0eb62d2df6fbeca067fdf/becquerel-0.2.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "2bbaaf9454722890f81a32d7dc8749ab", "sha256": "69196108a09aa0665cbaaa949e25932ee52081fd7114829c06b8ebebdb347fc4" }, "downloads": -1, "filename": "becquerel-0.2.0.tar.gz", "has_sig": false, "md5_digest": "2bbaaf9454722890f81a32d7dc8749ab", "packagetype": "sdist", "python_version": "source", "requires_python": ">=2.6", "size": 63806, "upload_time": "2018-12-13T22:53:11", "url": "https://files.pythonhosted.org/packages/ca/9f/cc7dda7f6d0092315e684e26c03350933c79a7114f82344a6237534e4908/becquerel-0.2.0.tar.gz" } ], "0.2.1": [ { "comment_text": "", "digests": { "md5": "aa92cdff6c671c2a8192377696fcc17f", "sha256": "3f8ad5a084f0e801b0845d248ca02937565e2c478d6ead4d76f91aa00831e42b" }, "downloads": -1, "filename": "becquerel-0.2.1-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "aa92cdff6c671c2a8192377696fcc17f", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": ">=2.6", "size": 75209, "upload_time": "2019-01-04T18:24:05", "url": "https://files.pythonhosted.org/packages/b4/7e/3016b9f0b0cd93c0136fc00dd1d5df4267752bbb6b4f8fbf1cab1c03fa01/becquerel-0.2.1-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "d328a5870f37033d338b88a5f73cbad3", "sha256": "9ed7aa6236eade7d98a89e6d086894b354e2d5e63c891084f5d28234f8ca446a" }, "downloads": -1, "filename": "becquerel-0.2.1.tar.gz", "has_sig": false, "md5_digest": "d328a5870f37033d338b88a5f73cbad3", "packagetype": "sdist", "python_version": "source", "requires_python": ">=2.6", "size": 65756, "upload_time": "2019-01-04T18:24:08", "url": "https://files.pythonhosted.org/packages/7a/85/547ee0e9398af6f5fa6d77e656401973da054d3705847e020d0617479852/becquerel-0.2.1.tar.gz" } ], "0.2.2": [ { "comment_text": "", "digests": { "md5": "fdb446fbdffd622ecae32b4bb08a112f", "sha256": "93e91ee4d47b96793105e5e75eda29fd84d12aaaa7fe76b416492f147b1d1636" }, "downloads": -1, "filename": "becquerel-0.2.2-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "fdb446fbdffd622ecae32b4bb08a112f", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": ">=2.6", "size": 75642, "upload_time": "2019-02-20T21:07:28", "url": "https://files.pythonhosted.org/packages/f6/23/5eb574d23fc8324de9deef4c3484380eb359502ae8db4ca58a938739a04b/becquerel-0.2.2-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "566e9948afbccf38373370044b71628e", "sha256": "35d308ed05ac13be733c188ae722043b9522e2e38a845d7610add7601fdd93b3" }, "downloads": -1, "filename": "becquerel-0.2.2.tar.gz", "has_sig": false, "md5_digest": "566e9948afbccf38373370044b71628e", "packagetype": "sdist", "python_version": "source", "requires_python": ">=2.6", "size": 66208, "upload_time": "2019-02-20T21:07:30", "url": "https://files.pythonhosted.org/packages/d2/88/ca15df1cccda58cf31bbdc229367de97c40caeeb2cfec9afb430173f5629/becquerel-0.2.2.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "fdb446fbdffd622ecae32b4bb08a112f", "sha256": "93e91ee4d47b96793105e5e75eda29fd84d12aaaa7fe76b416492f147b1d1636" }, "downloads": -1, "filename": "becquerel-0.2.2-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "fdb446fbdffd622ecae32b4bb08a112f", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": ">=2.6", "size": 75642, "upload_time": "2019-02-20T21:07:28", "url": "https://files.pythonhosted.org/packages/f6/23/5eb574d23fc8324de9deef4c3484380eb359502ae8db4ca58a938739a04b/becquerel-0.2.2-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "566e9948afbccf38373370044b71628e", "sha256": "35d308ed05ac13be733c188ae722043b9522e2e38a845d7610add7601fdd93b3" }, "downloads": -1, "filename": "becquerel-0.2.2.tar.gz", "has_sig": false, "md5_digest": "566e9948afbccf38373370044b71628e", "packagetype": "sdist", "python_version": "source", "requires_python": ">=2.6", "size": 66208, "upload_time": "2019-02-20T21:07:30", "url": "https://files.pythonhosted.org/packages/d2/88/ca15df1cccda58cf31bbdc229367de97c40caeeb2cfec9afb430173f5629/becquerel-0.2.2.tar.gz" } ] }