{ "info": { "author": "Yuxuan Zhang, Jean C. Bilheux", "author_email": "zhangy6@ornl.gov, bilheuxjm@ornl.gov", "bugtrack_url": null, "classifiers": [ "Development Status :: 3 - Alpha", "Intended Audience :: Developers", "License :: OSI Approved :: BSD License", "Natural Language :: English", "Programming Language :: Python", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3.6", "Topic :: Scientific/Engineering :: Physics" ], "description": "ResoFit\n=======\n\n.. image:: https://img.shields.io/pypi/v/ResoFit.svg\n :target: https://pypi.python.org/pypi/ResoFit\n\n.. image:: https://travis-ci.org/ornlneutronimaging/ResoFit.svg?branch=master\n :target: https://travis-ci.org/ornlneutronimaging/ResoFit\n\n.. image:: https://codecov.io/gh/ornlneutronimaging/ResoFit/branch/master/graph/badge.svg\n :target: https://codecov.io/gh/ornlneutronimaging/ResoFit\n\n.. image:: https://readthedocs.org/projects/resofit/badge/?version=latest\n :target: http://resofit.readthedocs.io/en/latest/?badge=latest\n :alt: Documentation Status\n\nAbstract\n~~~~~~~~\n\nHere we present an open-source Python library which focuses on\nfitting the neutron resonance signal for neutron imaging\nmeasurements. In this package, by defining the sample information\nsuch as elements and thickness in the neutron path, one can extract\nelemental/isotopic information of the sample. Various sample\ntypes such as layers of single elements (Ag, Co, etc. in solid form),\nchemical compounds (UO\\ :sub:`2`, Gd\\ :sub:`2`\\O\\ :sub:`3`, etc.),\nor even multiple layers of both types.\n\nThe energy dependent cross-section data used in this library are from\n`National Nuclear Data Center `__, a published\nonline database. `Evaluated Nuclear Data File\n(ENDF/B) `__ [1] is currently\nsupported and more evaluated databases will be added in future.\n\nPython packages used are: SciPy [2], NumPy [3], Matplotlib [4], Pandas\n[5] Periodictable [6], lmfit [7] and ImagingReso [8].\n\nStatement of need\n~~~~~~~~~~~~~~~~~\n\nNeutron imaging is a powerful tool to characterize material\nnon-destructively. And based on the unique resonance features,\nit is feasible to identify elements and/or isotopes resonance with\nincident neutrons. However, a dedicated user-friendly fitting tool\nfor resonance imaging is missing, and **ResoFit** we presented here\ncould fill this gap.\n\nInstallation instructions\n~~~~~~~~~~~~~~~~~~~~~~~~~\n\nPython 3.x is required for installing this package.\n\nInstall **ResoFit** by typing the following command in Terminal:\n\n``pip install ResoFit``\n\nor by typing the following command under downloaded directory in\nTerminal:\n\n``python setup.py``\n\nExample usage\n~~~~~~~~~~~~~\n\nExample of usage is presented at http://resofit.readthedocs.io/ .\nSame content can also be found in ``tutorial.ipynb`` under ``/notebooks``\nin this repository.\n\nCalculation algorithm\n---------------------\n\nThe calculation algorithm of neutron transmission *T*\\ (*E*),\nis base on Beer-Lambert law [9]-[10]:\n\n.. figure:: https://github.com/ornlneutronimaging/ResoFit/blob/master/documentation/source/_static/Beer_lambert_law_1.png\n :alt: Beer-lambert Law 1\n :align: center\n\nwhere\n\nN\\ :sub:`i` : number of atoms per unit volume of element *i*,\n\nd\\ :sub:`i` : effective thickness along the neutron path of element\u00a0*i*,\n\n\u03c3\\ :sub:`ij` (E) : energy-dependent neutron total cross-section for the isotope *j* of element *i*,\n\nA\\ :sub:`ij` : abundance for the isotope *j* of element *i*.\n\nFor solid materials, the number of atoms per unit volume can be\ncalculated from:\n\n.. figure:: https://github.com/ornlneutronimaging/ResoFit/blob/master/documentation/source/_static/Beer_lambert_law_2.png\n :align: center\n :alt: Beer-lambert law 2\n\nwhere\n\nN\\ :sub:`A` : Avogadro\u2019s number,\n\nC\\ :sub:`i` : molar concentration of element\u00a0*i*,\n\n\u03c1\\ :sub:`i` : density of the element *i*,\n\nm\\ :sub:`ij` : atomic mass values for the isotope *j* of element *i*.\n\nAcknowledgements\n~~~~~~~~~~~~~~~~\n\nThis work is sponsored by the Laboratory Directed Research and\nDevelopment Program of Oak Ridge National Laboratory, managed by\nUT-Battelle LLC, for DOE. Part of this research is supported by the U.S.\nDepartment of Energy, Office of Science, Office of Basic Energy\nSciences, User Facilities under contract number DE-AC05-00OR22725.\n\nReferences\n~~~~~~~~~~\n\n[1] M. B. Chadwick et al., \u201cENDF/B-VII.1 Nuclear Data for Science and\nTechnology: Cross Sections, Covariances, Fission Product Yields and\nDecay Data,\u201d Nuclear Data Sheets, vol. 112, no. 12, pp. 2887\u20132996, Dec.\n2011.\n\n[2] T. E. Oliphant, \u201cSciPy: Open Source Scientific Tools for Python,\u201d\nComputing in Science and Engineering, vol. 9. pp. 10\u201320, 2007.\n\n[3] S. van der Walt et al., \u201cThe NumPy Array: A Structure for Efficient\nNumerical Computation,\u201d Computing in Science & Engineering, vol. 13, no.\n2, pp. 22\u201330, Mar. 2011.\n\n[4] J. D. Hunter, \u201cMatplotlib: A 2D Graphics Environment,\u201d Computing in\nScience & Engineering, vol. 9, no. 3, pp. 90\u201395, May 2007.\n\n[5] W. McKinney, \u201cData Structures for Statistical Computing in Python,\u201d\nin Proceedings of the 9th Python in Science Conference, 2010, pp. 51\u201356.\n\n[6] P. A. Kienzle, \u201cPeriodictable V1.5.0,\u201d Journal of Open Source\nSoftware, Jan. 2017.\n\n[7] M. Newville, A. Nelson, A. Ingargiola, T. Stensitzki, R. Otten,\nD. Allan, Micha\u0142, Glenn, Y. Ram, MerlinSmiles, L. Li, G. Pasquevich,\nC. Deil, D.M. Fobes, Stuermer, A. Beelen, O. Frost, A. Stark, T. Spillane,\nS. Caldwell, A. Polloreno, stonebig, P.A. Brodtkorb, N. Earl, colgan,\nR. Clarken, K. Anagnostopoulos, B. Gamari, A. Almarza, lmfit/lmfit-py 0.9.7,\n(2017). doi:10.5281/zenodo.802298.\n\n[8] Y. Zhang and J. C. Bilheux, \"ImagingReso\".\n\n[9] M. Ooi et al., \u201cNeutron Resonance Imaging of a Au-In-Cd Alloy for\nthe JSNS,\u201d Physics Procedia, vol. 43, pp. 337\u2013342, 2013.\n\n[10] A. S. Tremsin et al., \u201cNon-Contact Measurement of Partial Gas\nPressure and Distribution of Elemental Composition Using Energy-Resolved\nNeutron Imaging,\u201d AIP Advances, vol. 7, no. 1, p. 15315, 2017.\n\n\n\n", "description_content_type": null, "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/ornlneutronimaging/ResoFit.git", "keywords": "neutron,resonance,fitting,imaging", "license": "BSD", "maintainer": "", "maintainer_email": "", "name": "ResoFit", "package_url": "https://pypi.org/project/ResoFit/", "platform": "", "project_url": "https://pypi.org/project/ResoFit/", "project_urls": { "Homepage": "https://github.com/ornlneutronimaging/ResoFit.git" }, "release_url": "https://pypi.org/project/ResoFit/0.0.5/", "requires_dist": [ "ImagingReso", "cerberus", "lmfit", "matplotlib", "numpy", "pandas", "peakutils", "pprint", "scipy" ], "requires_python": "", "summary": "Fitting tool for neutron resonance imaging", "version": "0.0.5" }, "last_serial": 3355294, "releases": { "0.0.1": [ { "comment_text": "", "digests": { "md5": "eb672637264cd208326d1f6799dbab06", "sha256": "6381ffbb5b339d2abbf254161904a275549765f4e9f9e3d8aea47b5c080508b9" }, "downloads": -1, "filename": "ResoFit-0.0.1-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "eb672637264cd208326d1f6799dbab06", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 17502, "upload_time": "2017-09-20T13:57:19", "url": "https://files.pythonhosted.org/packages/2e/5e/5a8c8a051ba7623b3d9a8b8317873888c05858a011d2281f228f51fb6e71/ResoFit-0.0.1-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "6212cf3b981abdcbcba7b76bd3711e76", "sha256": "12d3c1feff48188bcb2ea8041ebd87c1405144f8492bc2b669832c4336379297" }, "downloads": -1, "filename": "ResoFit-0.0.1.tar.gz", "has_sig": false, "md5_digest": "6212cf3b981abdcbcba7b76bd3711e76", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 11967, "upload_time": "2017-09-20T13:57:21", "url": "https://files.pythonhosted.org/packages/c9/88/591128c48c1eba604ec259694724d2b078d905a334c4607994aa40efa1b7/ResoFit-0.0.1.tar.gz" } ], "0.0.2": [ { "comment_text": "", "digests": { "md5": "3939f515f88349ba0bdcc8de77241afa", "sha256": "4634904a6e55fd349a99ad69dc21e72af476c33580c3e46daa0175b6fe00dc05" }, "downloads": -1, "filename": "ResoFit-0.0.2-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "3939f515f88349ba0bdcc8de77241afa", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 45436, "upload_time": "2017-09-22T20:06:26", "url": "https://files.pythonhosted.org/packages/69/2b/06f2187a7644978c589905aafa4b71c0f26cdad284a5ba632696b7521b19/ResoFit-0.0.2-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "255641ef79c68fd504d4d0e69ee6cc6a", "sha256": "de9be4e711875416c4c211e237aade6f7e583c95778b02f276c01a710e47e9ae" }, "downloads": -1, "filename": "ResoFit-0.0.2.tar.gz", "has_sig": false, "md5_digest": "255641ef79c68fd504d4d0e69ee6cc6a", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 12786, "upload_time": "2017-09-22T20:06:29", "url": "https://files.pythonhosted.org/packages/e1/8e/45311741b5138792db655cf547b2d884c53f33086b4851b2c7d10dc27f27/ResoFit-0.0.2.tar.gz" } ], "0.0.3": [ { "comment_text": "", "digests": { "md5": "2b57635165774133fe1294947d2ef235", "sha256": "50000c8c968574919b9746a6861ecc32cfd6ca3c1cfa33284b5e34b348003282" }, "downloads": -1, "filename": "ResoFit-0.0.3-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "2b57635165774133fe1294947d2ef235", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 80423, "upload_time": "2017-09-26T20:56:12", "url": "https://files.pythonhosted.org/packages/01/f3/4e78892827e3c51365dedc120a48bf25b2c61a8f53f41d76e386171b8ae9/ResoFit-0.0.3-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "e2505c7952ecbadee085d3d04b2ad2a1", "sha256": "aa8cd8197396fb7036dabeb55315e140c959393e573e8b794cf8b4a2b2ead452" }, "downloads": -1, "filename": "ResoFit-0.0.3.tar.gz", "has_sig": false, "md5_digest": "e2505c7952ecbadee085d3d04b2ad2a1", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 14207, "upload_time": "2017-09-26T20:56:14", "url": "https://files.pythonhosted.org/packages/76/ad/0ac796c313bc9bed4bb826e1d7503aecb86636a53c6be928ec55b9da4163/ResoFit-0.0.3.tar.gz" } ], "0.0.4": [ { "comment_text": "", "digests": { "md5": "6538bb39067066b2100e39817829e411", "sha256": "58b699097ccebd4f457efeb01b2312d226730348c198323ddf1f74b7af3fdd26" }, "downloads": -1, "filename": "ResoFit-0.0.4-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "6538bb39067066b2100e39817829e411", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 90239, "upload_time": "2017-10-06T14:36:57", "url": "https://files.pythonhosted.org/packages/c5/3a/464567dc243e33db9cdca1d97ea9869762adf94b9c60f9b51ba62b4314b9/ResoFit-0.0.4-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "76bec4567e6fd8090060ac605576506f", "sha256": "e90127d358383e73f49f82915e53c4e01a19e80cc63de0637b8ab4bce795a92d" }, "downloads": -1, "filename": "ResoFit-0.0.4.tar.gz", "has_sig": false, "md5_digest": "76bec4567e6fd8090060ac605576506f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 16890, "upload_time": "2017-10-06T14:37:00", "url": "https://files.pythonhosted.org/packages/60/ac/07a10df9eba98cb7cfb566ca8150e648ac8507b2cf747bdb06f37c155030/ResoFit-0.0.4.tar.gz" } ], "0.0.5": [ { "comment_text": "", "digests": { "md5": "6e9291939f806a88d0432d85505b3bf2", "sha256": "afb7e171bc3ce1c1192657eab3b6a4e82329e6e9d4dff90b1fddc533e87b2a70" }, "downloads": -1, "filename": "ResoFit-0.0.5-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "6e9291939f806a88d0432d85505b3bf2", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 96499, "upload_time": "2017-11-01T19:03:48", "url": "https://files.pythonhosted.org/packages/62/a4/25979dbfb59ff1ebf5c15f60ff5a41620721878f3a5e48eea22573f18a7c/ResoFit-0.0.5-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "e877ff37ed3ba246e35bd4995277c785", "sha256": "9c7287fc3a11d639e28af9a7f8ad47f1d8d9052a9f486e96474773084969a03e" }, "downloads": -1, "filename": "ResoFit-0.0.5.tar.gz", "has_sig": false, "md5_digest": "e877ff37ed3ba246e35bd4995277c785", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 21146, "upload_time": "2017-11-01T19:03:50", "url": "https://files.pythonhosted.org/packages/bf/4d/dd0aba8342b0012119e64add751e6144bcb62c41ff25f07730b65b6e9a6a/ResoFit-0.0.5.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "6e9291939f806a88d0432d85505b3bf2", "sha256": "afb7e171bc3ce1c1192657eab3b6a4e82329e6e9d4dff90b1fddc533e87b2a70" }, "downloads": -1, "filename": "ResoFit-0.0.5-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "6e9291939f806a88d0432d85505b3bf2", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 96499, "upload_time": "2017-11-01T19:03:48", "url": "https://files.pythonhosted.org/packages/62/a4/25979dbfb59ff1ebf5c15f60ff5a41620721878f3a5e48eea22573f18a7c/ResoFit-0.0.5-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "e877ff37ed3ba246e35bd4995277c785", "sha256": "9c7287fc3a11d639e28af9a7f8ad47f1d8d9052a9f486e96474773084969a03e" }, "downloads": -1, "filename": "ResoFit-0.0.5.tar.gz", "has_sig": false, "md5_digest": "e877ff37ed3ba246e35bd4995277c785", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 21146, "upload_time": "2017-11-01T19:03:50", "url": "https://files.pythonhosted.org/packages/bf/4d/dd0aba8342b0012119e64add751e6144bcb62c41ff25f07730b65b6e9a6a/ResoFit-0.0.5.tar.gz" } ] }