{ "info": { "author": "Simon J.L. Billinge", "author_email": "sb2896@columbia.edu", "bugtrack_url": null, "classifiers": [ "Development Status :: 5 - Production/Stable", "Environment :: Console", "Intended Audience :: Developers", "Intended Audience :: Education", "Intended Audience :: Science/Research", "License :: OSI Approved :: BSD License", "Operating System :: MacOS", "Operating System :: POSIX", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3.6", "Programming Language :: Python :: 3.7", "Topic :: Scientific/Engineering :: Chemistry", "Topic :: Scientific/Engineering :: Physics", "Topic :: Software Development :: Libraries" ], "description": ".. image:: https://travis-ci.org/diffpy/diffpy.srfit.svg?branch=master\n :target: https://travis-ci.org/diffpy/diffpy.srfit\n\n.. image:: https://codecov.io/gh/diffpy/diffpy.srfit/branch/master/graph/badge.svg\n :target: https://codecov.io/gh/diffpy/diffpy.srfit\n\n\ndiffpy.srfit\n========================================================================\n\nConfigurable code for solving atomic structures.\n\nThe diffpy.srfit package provides the framework for building a global optimizer\non the fly from components such as function calculators (that calculate\ndifferent data spectra), regression algorithms and structure models. The\nsoftware is capable of co-refinement using multiple information sources or\nmodels. It provides a uniform interface for various regression algorithms. The\ntarget function being optimized can be specified by the user according to the\ndata available.\n\nWithin the diffpy.srfit framework, any parameter used in describing the\nstructure of a material can be passed as a refinable variable to the global\noptimizer. Once parameters are declared as variables they can easily be turned\n\"on\" or \"off\", i.e. fixed or allowed to vary. Additionally, variables may be\nconstrained to obey mathematical relationships with other parameters or\nvariables used in the structural model. Restraints can be applied to\nvariables, which adds a penalty to the refinement process commensurate with the\ndeviation from the known value or range. The cost function can also be\ncustomized by the user. If the refinement contains multiple models, each model\ncan have its own cost function which will be properly weighted and combined to\nobtain the total cost function. Additionally, diffpy.srfit is designed to be\nextensible, allowing the user to integrate external calculators to perform\nco-refinements with other techniques.\n\nFor more information about the diffpy.srfit library, see the users manual at\nhttp://diffpy.github.io/diffpy.srfit.\n\nREQUIREMENTS\n------------------------------------------------------------------------\n\nThe diffpy.srfit package requires Python 3.5 or later or 2.7 and\nthe following software:\n\n* ``setuptools`` - software distribution tools for Python\n* ``NumPy`` - numerical mathematics and fast array operations for Python\n* ``SciPy`` - scientific libraries for Python\n* ``matplotlib`` - python plotting library\n\nRecommended software:\n\nOptimizations involving crystal structures or molecules require\n\n* ``diffpy.structure`` - crystal structure container and parsers,\n https://github.com/diffpy/diffpy.structure\n* ``pyobjcryst`` - Crystal and Molecule storage, rigid units, bond\n length and bond angle restraints, https://github.com/diffpy/pyobjcryst\n\nOptimizations involving pair distribution functions PDF or bond valence\nsums require\n\n* ``diffpy.srreal`` - python library for PDF calculation,\n https://github.com/diffpy/diffpy.srreal\n\nOptimizations involving small angle scattering or shape characteristic\nfunctions from the diffpy.srfit.sas module require\n\n* ``sas`` - module for calculation of P(R) in small-angle scattering\n from the SasView project, http://www.sasview.org\n\nWe recommend to use `Anaconda Python `_\nas it allows to install all software dependencies together with\ndiffpy.srfit. For other Python distributions it is necessary to\ninstall the required software separately. As an example, on Ubuntu\nLinux some of the required software can be installed using ::\n\n sudo apt-get install \\\n python3-setuptools python3-numpy python3-scipy python3-matplotlib\n\nFor other required packages see their respective web pages for installation\ninstructions.\n\n\nINSTALLATION\n------------------------------------------------------------------------\n\nThe preferred method is to use Anaconda Python and install from the\n\"diffpy\" channel of Anaconda packages ::\n\n conda config --add channels diffpy\n conda install diffpy.srfit\n\ndiffpy.srfit is also included in the \"diffpy-cmi\" collection\nof packages for structure analysis ::\n\n conda install diffpy-cmi\n\nAnother option is to use ``easy_install`` to download and install the\nlatest release from `Python Package Index `_ ::\n\n easy_install diffpy.srfit\n\nIf you prefer to install from sources, make sure all required software\npackages are in place and then run ::\n\n python setup.py install\n\nYou may need to use ``sudo`` with system Python so the process is\nallowed to put files to the system directories. If administrator (root)\naccess is not available, consult the output from\n``python setup.py install --help`` for options to install to a\nuser-writable locations. The installation integrity can be verified by\nchanging to the HOME directory and running ::\n\n python -m diffpy.srfit.tests.run\n\n\nDEVELOPMENT\n------------------------------------------------------------------------\n\ndiffpy.srfit is an open-source software developed as a part of the DiffPy-CMI\ncomplex modeling initiative at the Brookhaven National Laboratory. The\ndiffpy.srfit sources are hosted at\nhttps://github.com/diffpy/diffpy.srfit.\n\nFeel free to fork the project and contribute. To install diffpy.srfit\nin a development mode, with its sources being directly used by Python\nrather than copied to a package directory, use ::\n\n python setup.py develop --user\n\n\nACKNOWLEDGEMENT\n------------------------------------------------------------------------\n\nThe source code in *observable.py* was derived from the 1.0 version\nof the Caltech \"Pyre\" project.\n\n\nCONTACTS\n------------------------------------------------------------------------\n\nFor more information on diffpy.srfit please visit the project web-page\n\nhttp://www.diffpy.org\n\nor email Prof. Simon Billinge at sb2896@columbia.edu.", "description_content_type": "text/x-rst", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/diffpy/diffpy.srfit", "keywords": "optimization constraints restraints structure refinement complex modeling", "license": "BSD-style license", "maintainer": "Pavol Juhas", "maintainer_email": "pavol.juhas@gmail.com", "name": "diffpy.srfit", "package_url": "https://pypi.org/project/diffpy.srfit/", "platform": "", "project_url": "https://pypi.org/project/diffpy.srfit/", "project_urls": { "Homepage": "https://github.com/diffpy/diffpy.srfit" }, "release_url": "https://pypi.org/project/diffpy.srfit/3.0.0/", "requires_dist": null, "requires_python": "", "summary": "SrFit - Structure refinement from diffraction data", "version": "3.0.0" }, "last_serial": 4941731, "releases": { "1.0": [ { "comment_text": "", "digests": { "md5": "b6f76b74d48f795c428dc6aec324e1a5", "sha256": "6e80ebd539f69cc6323bdb1c16d67cf00c5bde06167d1b2bcff211b95c53028c" }, "downloads": -1, "filename": "diffpy.srfit-1.0.tar.gz", "has_sig": false, "md5_digest": "b6f76b74d48f795c428dc6aec324e1a5", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 373072, "upload_time": "2014-03-21T23:45:40", "url": "https://files.pythonhosted.org/packages/72/b1/48fb624f5712d5a1e115d982b66ff835a2ad38ded71c44757e8322ffa121/diffpy.srfit-1.0.tar.gz" } ], "1.0b3-8": [ { "comment_text": "", "digests": { "md5": "18666d6cd2d95f6dcafed4218bace04a", "sha256": "cb1db04c9be627639a3bce7d0a58163e595e7717e71e7ea2e4ce0f65dd8f7268" }, "downloads": -1, "filename": "diffpy.srfit-1.0b3-8.tar.gz", "has_sig": false, "md5_digest": "18666d6cd2d95f6dcafed4218bace04a", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 371155, "upload_time": "2014-02-28T22:22:47", "url": "https://files.pythonhosted.org/packages/1c/1c/52615f75b5f58ad0591a1951d8c72d6a7253989c30e0e6ac9a5b6ec2be94/diffpy.srfit-1.0b3-8.tar.gz" } ], "1.0b4": [ { "comment_text": "", "digests": { "md5": "2314ec60f622f720a6398e31d4ef5d33", "sha256": "a71afe9cc30bcabf237d620bd291188a3da30e5850807bbb95c17cfbffec0318" }, "downloads": -1, "filename": "diffpy.srfit-1.0b4.tar.gz", "has_sig": false, "md5_digest": "2314ec60f622f720a6398e31d4ef5d33", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 373054, "upload_time": "2014-03-06T21:53:23", "url": "https://files.pythonhosted.org/packages/2d/30/dbe6fc506ec93023fb42a67d178842d43549a0d3f79e61792d0cbe0f5cd1/diffpy.srfit-1.0b4.tar.gz" } ], "1.1": [ { "comment_text": "", "digests": { "md5": "294c706afaf43eaf67e449cdcf6fd863", "sha256": "c8497c594ef1787af575551dbf3cdcc566dc47396a1eb0cd5f3ffe9eb05510bf" }, "downloads": -1, "filename": "diffpy.srfit-1.1.tar.gz", "has_sig": false, "md5_digest": "294c706afaf43eaf67e449cdcf6fd863", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 375888, "upload_time": "2016-01-30T01:05:52", "url": "https://files.pythonhosted.org/packages/2c/27/8191ce2dfae037b4e54804bc2244e5dc04165664ea2e8da9979eac501ff6/diffpy.srfit-1.1.tar.gz" } ], "1.2": [ { "comment_text": "", "digests": { "md5": "ebbb3e33e9f0ab9a13f001c7c18caeb3", "sha256": "06a2e974a628e78ebbe1b9c4d73c6c6d4546f250ca6d49dbad79fcdf6fd59c49" }, "downloads": -1, "filename": "diffpy.srfit-1.2.tar.gz", "has_sig": false, "md5_digest": "ebbb3e33e9f0ab9a13f001c7c18caeb3", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 377287, "upload_time": "2016-12-07T23:15:53", "url": "https://files.pythonhosted.org/packages/e8/d4/301c5c58f12e48b4d907d890ed1631c80144b740668afc4138be73a4b638/diffpy.srfit-1.2.tar.gz" } ], "1.3": [ { "comment_text": "", "digests": { "md5": "5a77f57a63ef6ba28579420ad6105194", "sha256": "b051fd524fc3b4dbffb6a901893e14149b9e4351f56432371b863ed26a594fa5" }, "downloads": -1, "filename": "diffpy.srfit-1.3.tar.gz", "has_sig": false, "md5_digest": "5a77f57a63ef6ba28579420ad6105194", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 379584, "upload_time": "2017-07-10T19:27:29", "url": "https://files.pythonhosted.org/packages/04/b5/fea02ac9306b5d56a5019133f4edda6c9e3cfbd1b5ce663158486ba77eea/diffpy.srfit-1.3.tar.gz" } ], "3.0.0": [ { "comment_text": "", "digests": { "md5": "6711a006b51b72af0d67b5003f16d7a4", "sha256": "12c179229c0bea0cdf5ffbd241ff20dd7d87ddcc0007c384c0c049ac2e12151b" }, "downloads": -1, "filename": "diffpy.srfit-3.0.0.tar.gz", "has_sig": false, "md5_digest": "6711a006b51b72af0d67b5003f16d7a4", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 384948, "upload_time": "2019-03-14T21:37:56", "url": "https://files.pythonhosted.org/packages/75/67/100c1ea3cfde0a4db2eaa49ddef9f3d3ec253250c8ce9304dc7e761f6a9e/diffpy.srfit-3.0.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "6711a006b51b72af0d67b5003f16d7a4", "sha256": "12c179229c0bea0cdf5ffbd241ff20dd7d87ddcc0007c384c0c049ac2e12151b" }, "downloads": -1, "filename": "diffpy.srfit-3.0.0.tar.gz", "has_sig": false, "md5_digest": "6711a006b51b72af0d67b5003f16d7a4", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 384948, "upload_time": "2019-03-14T21:37:56", "url": "https://files.pythonhosted.org/packages/75/67/100c1ea3cfde0a4db2eaa49ddef9f3d3ec253250c8ce9304dc7e761f6a9e/diffpy.srfit-3.0.0.tar.gz" } ] }