diffpy.pdffit2


Namediffpy.pdffit2 JSON
Version 1.4.3 PyPI version JSON
download
home_pagehttps://github.com/diffpy/diffpy.pdffit2
SummaryPDFfit2 - real space structure refinement program.
upload_time2024-01-13 19:18:18
maintainerPavol Juhas
docs_urlNone
authorSimon J.L. Billinge
requires_python
licenseBSD
keywords pdf structure refinement
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI
coveralls test coverage
            .. image:: https://travis-ci.org/diffpy/diffpy.pdffit2.svg?branch=master
   :target: https://travis-ci.org/diffpy/diffpy.pdffit2

.. image:: https://codecov.io/gh/diffpy/diffpy.pdffit2/branch/master/graph/badge.svg
  :target: https://codecov.io/gh/diffpy/diffpy.pdffit2


PDFfit2
========================================================================

Real space structure refinement to atomic pair distribution function.

The diffpy.pdffit2 package provides functions for calculation and
refinement of atomic Pair Distribution Function (PDF) from crystal
structure model.  It is used as a computational engine by PDFgui.  All
refinements possible in PDFgui can be done with diffpy.pdffit2,
although less conveniently and with a fair knowledge of Python.
The package includes an extension for the interactive `IPython
<http://ipython.org>`__ shell, which tries to mimic the old PDFFIT
program.  To start IPython with this extension and also with plotting
functions enabled, use ::

   ipython --ext=diffpy.pdffit2.ipy_ext --pylab

The IPython extension is suitable for interactive use, however
refinement scripts should be preferably written as a standard
Python code.  This is more reliable and needs only a few extra
statements.

To learn more about diffpy.pdffit2 library, see the examples directory
included in this distribution or the API documentation at
http://www.diffpy.org/doc/pdffit2.


REQUIREMENTS
------------------------------------------------------------------------

diffpy.pdffit2 requires Python 3.7 or later or 2.7 and
the following external software:

* ``setuptools`` - software distribution tools for Python
* ``python-dev`` - header files for interfacing Python with C
* ``GSL`` - GNU Scientific Library for C
* ``g++`` - GNU C++ compiler
* ``diffpy.structure`` - simple storage and manipulation of atomic
  structures, https://github.com/diffpy/diffpy.structure

We recommend to use `Anaconda Python <https://www.anaconda.com/distribution>`_
as it allows to install all software dependencies together with
PDFfit2.  For other Python distributions it is necessary to
install the required software separately.  As an example, on Ubuntu
Linux some of the required software can be installed using ::

   sudo apt-get install \
      python-setuptools python-dev libgsl0-dev build-essential


INSTALLATION
------------------------------------------------------------------------

The preferred method is to use Anaconda Python and install from the
"conda-forge" channel of Anaconda packages ::

   conda install -c conda-forge diffpy.pdffit2

If you don't use Anaconda or prefer to install from sources, make
sure the required software is in place and run ::

   python setup.py install

By default the files get installed to standard system directories,
which may require the use of ``sudo`` for write permissions.  If
administrator (root) access is not available, consult the output from
``python setup.py install --help`` for options to install as a regular
user to other locations.  The installation integrity can be
verified by changing to the HOME directory and running ::

   python -m diffpy.pdffit2.tests.rundeps

Anaconda Python allows to later update PDFfit2 using ::

   conda update diffpy.pdffit2

With other Python distributions use the easy_install program to
upgraded to the latest version ::

   easy_install --upgrade diffpy.pdffit2


DEVELOPMENT
------------------------------------------------------------------------

PDFfit2 is not developed anymore and is only maintained due to its
status of a sole computational engine for PDFgui.  We don't expect any
major developments to the code beyond simple bug fixes and compatibility
features.  The source code to PDFfit2 is available in a git repository
at https://github.com/diffpy/diffpy.pdffit2.

For an actively developed codes for PDF simulations see the
DiffPy-CMI framework at http://www.diffpy.org.


CONTACTS
------------------------------------------------------------------------

For more information on diffpy.pdffit2 please visit the project web-page:

http://www.diffpy.org/

or email Prof. Simon Billinge at sb2896@columbia.edu.

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/diffpy/diffpy.pdffit2",
    "name": "diffpy.pdffit2",
    "maintainer": "Pavol Juhas",
    "docs_url": null,
    "requires_python": "",
    "maintainer_email": "pavol.juhas@gmail.com",
    "keywords": "PDF structure refinement",
    "author": "Simon J.L. Billinge",
    "author_email": "sb2896@columbia.edu",
    "download_url": "https://files.pythonhosted.org/packages/b5/78/af2b0170b760a4529755fdeefed57fb4a8f305a5876d98cca462c5811914/diffpy.pdffit2-1.4.3.tar.gz",
    "platform": null,
    "description": ".. image:: https://travis-ci.org/diffpy/diffpy.pdffit2.svg?branch=master\n   :target: https://travis-ci.org/diffpy/diffpy.pdffit2\n\n.. image:: https://codecov.io/gh/diffpy/diffpy.pdffit2/branch/master/graph/badge.svg\n  :target: https://codecov.io/gh/diffpy/diffpy.pdffit2\n\n\nPDFfit2\n========================================================================\n\nReal space structure refinement to atomic pair distribution function.\n\nThe diffpy.pdffit2 package provides functions for calculation and\nrefinement of atomic Pair Distribution Function (PDF) from crystal\nstructure model.  It is used as a computational engine by PDFgui.  All\nrefinements possible in PDFgui can be done with diffpy.pdffit2,\nalthough less conveniently and with a fair knowledge of Python.\nThe package includes an extension for the interactive `IPython\n<http://ipython.org>`__ shell, which tries to mimic the old PDFFIT\nprogram.  To start IPython with this extension and also with plotting\nfunctions enabled, use ::\n\n   ipython --ext=diffpy.pdffit2.ipy_ext --pylab\n\nThe IPython extension is suitable for interactive use, however\nrefinement scripts should be preferably written as a standard\nPython code.  This is more reliable and needs only a few extra\nstatements.\n\nTo learn more about diffpy.pdffit2 library, see the examples directory\nincluded in this distribution or the API documentation at\nhttp://www.diffpy.org/doc/pdffit2.\n\n\nREQUIREMENTS\n------------------------------------------------------------------------\n\ndiffpy.pdffit2 requires Python 3.7 or later or 2.7 and\nthe following external software:\n\n* ``setuptools`` - software distribution tools for Python\n* ``python-dev`` - header files for interfacing Python with C\n* ``GSL`` - GNU Scientific Library for C\n* ``g++`` - GNU C++ compiler\n* ``diffpy.structure`` - simple storage and manipulation of atomic\n  structures, https://github.com/diffpy/diffpy.structure\n\nWe recommend to use `Anaconda Python <https://www.anaconda.com/distribution>`_\nas it allows to install all software dependencies together with\nPDFfit2.  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      python-setuptools python-dev libgsl0-dev build-essential\n\n\nINSTALLATION\n------------------------------------------------------------------------\n\nThe preferred method is to use Anaconda Python and install from the\n\"conda-forge\" channel of Anaconda packages ::\n\n   conda install -c conda-forge diffpy.pdffit2\n\nIf you don't use Anaconda or prefer to install from sources, make\nsure the required software is in place and run ::\n\n   python setup.py install\n\nBy default the files get installed to standard system directories,\nwhich may require the use of ``sudo`` for write permissions.  If\nadministrator (root) access is not available, consult the output from\n``python setup.py install --help`` for options to install as a regular\nuser to other locations.  The installation integrity can be\nverified by changing to the HOME directory and running ::\n\n   python -m diffpy.pdffit2.tests.rundeps\n\nAnaconda Python allows to later update PDFfit2 using ::\n\n   conda update diffpy.pdffit2\n\nWith other Python distributions use the easy_install program to\nupgraded to the latest version ::\n\n   easy_install --upgrade diffpy.pdffit2\n\n\nDEVELOPMENT\n------------------------------------------------------------------------\n\nPDFfit2 is not developed anymore and is only maintained due to its\nstatus of a sole computational engine for PDFgui.  We don't expect any\nmajor developments to the code beyond simple bug fixes and compatibility\nfeatures.  The source code to PDFfit2 is available in a git repository\nat https://github.com/diffpy/diffpy.pdffit2.\n\nFor an actively developed codes for PDF simulations see the\nDiffPy-CMI framework at http://www.diffpy.org.\n\n\nCONTACTS\n------------------------------------------------------------------------\n\nFor more information on diffpy.pdffit2 please visit the project web-page:\n\nhttp://www.diffpy.org/\n\nor email Prof. Simon Billinge at sb2896@columbia.edu.\n",
    "bugtrack_url": null,
    "license": "BSD",
    "summary": "PDFfit2 - real space structure refinement program.",
    "version": "1.4.3",
    "project_urls": {
        "Homepage": "https://github.com/diffpy/diffpy.pdffit2"
    },
    "split_keywords": [
        "pdf",
        "structure",
        "refinement"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "b578af2b0170b760a4529755fdeefed57fb4a8f305a5876d98cca462c5811914",
                "md5": "7bb522b1bf08caef74f3e89615158c9e",
                "sha256": "45f053323bdc7f94d2e12766f8ee0b7d2d3db9efc100c104592cb2473c4577d2"
            },
            "downloads": -1,
            "filename": "diffpy.pdffit2-1.4.3.tar.gz",
            "has_sig": false,
            "md5_digest": "7bb522b1bf08caef74f3e89615158c9e",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": null,
            "size": 189640,
            "upload_time": "2024-01-13T19:18:18",
            "upload_time_iso_8601": "2024-01-13T19:18:18.200012Z",
            "url": "https://files.pythonhosted.org/packages/b5/78/af2b0170b760a4529755fdeefed57fb4a8f305a5876d98cca462c5811914/diffpy.pdffit2-1.4.3.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-01-13 19:18:18",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "diffpy",
    "github_project": "diffpy.pdffit2",
    "travis_ci": true,
    "coveralls": true,
    "github_actions": true,
    "lcname": "diffpy.pdffit2"
}
        
Elapsed time: 0.18166s