fitpy


Namefitpy JSON
Version 0.1.1 PyPI version JSON
download
home_pagehttps://www.fitpy.de/
SummaryFramework for fitting models to (spectroscopic) data.
upload_time2024-01-15 20:32:05
maintainer
docs_urlNone
authorTill Biskup
requires_python>=3.7
license
keywords fitting spectroscopy data processing and analysis reproducible science reproducible research good scientific practice recipe-driven data analysis
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            FitPy
=====

FitPy is a **framework** for the **advanced fitting of models to spectroscopic data** focussing on **reproducibility**. Supported are semi-stochastic sampling of starting conditions, global fitting of several datasets at once, and fitting several concurrent models to one dataset. FitPy builds upon and extends the `ASpecD framework <https://www.aspecd.de/>`_. At the same time, it relies on the `SciPy software stack <https://www.scipy.org/>`_ and on `lmfit <https://lmfit.github.io/lmfit-py/>`_ for its fitting capabilities.

Making use of the concept of **recipe-driven data analysis**, actual fitting **no longer requires programming skills**, but is as simple as writing a text file defining both, the model and the fitting parameters in an organised way. Curious? Have a look at the following example::

    format:
      type: ASpecD recipe
      version: '0.2'

    datasets:
      - /path/to/dataset

    tasks:
      - kind: model
        type: Gaussian
        properties:
          parameters:
            position: 1.5
            width: 0.5
        from_dataset: /path/to/dataset
        output: model
        result: gaussian_model

      - kind: fitpy.singleanalysis
        type: SimpleFit
        properties:
          model: gaussian_model
          parameters:
            fit:
              amplitude:
                start: 5
                range: [3, 7]
        result: fitted_gaussian


For more general information on the FitPy framework see its `homepage <https://www.fitpy.de/>`_, and for how to use it, its `documentation <https://docs.fitpy.de/>`_.


Features
--------

A list of features, planned for the first public release:

* Framework for the advanced fitting of models to spectroscopic data focussing on reproducibility.

* Simple user interface requiring no programming skills.

* Semi-stochastic sampling of starting conditions (Latin hypercube sampling, LHS)

* Global fitting of several datasets at once

* Fitting of several concurrent models (*i.e.*, "species") to one dataset


.. warning::
  FitPy is currently under active development and still considered in Alpha development state. Therefore, expect frequent changes in features and public APIs that may break your own code. Nevertheless, feedback as well as feature requests are highly welcome.


Installation
------------

Install the package by running::

    pip install fitpy


Related projects
----------------

There is a number of related packages that are based on the ASpecD framework and each focus on one particular type of spectroscopy. The most mature packages available to date are:

* `ASpecD <https://docs.aspecd.de/>`_

  A Python framework for the analysis of spectroscopic data focussing on reproducibility and good scientific practice. The framework the cwepr package is based on, developed by T. Biskup.

* `trepr <https://docs.trepr.de/>`_

  Package for processing and analysing time-resolved electron paramagnetic resonance (TREPR) data, developed by J. Popp and maintained by T. Biskup.

* `cwepr <https://docs.cwepr.de/>`_

  Package for processing and analysing continuous-wave electron paramagnetic resonance (cw-EPR) data, originally implemented by P. Kirchner, currently developed and maintained by M. Schröder and T. Biskup.

You may as well be interested in the `LabInform project <https://www.labinform.de/>`_ focussing on the necessary more global infrastructure in a laboratory/scientific workgroup interested in more `reproducible research <https://www.reproducible-research.de/>`_. In short, LabInform is "The Open-Source Laboratory Information System".

Finally, don't forget to check out the website on `reproducible research <https://www.reproducible-research.de/>`_ covering in more general terms aspects of reproducible research and good scientific practice.


License
-------

This program is free software: you can redistribute it and/or modify it under the terms of the **BSD License**.

            

Raw data

            {
    "_id": null,
    "home_page": "https://www.fitpy.de/",
    "name": "fitpy",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=3.7",
    "maintainer_email": "",
    "keywords": "fitting,spectroscopy,data processing and analysis,reproducible science,reproducible research,good scientific practice,recipe-driven data analysis",
    "author": "Till Biskup",
    "author_email": "till@till-biskup.de",
    "download_url": "https://files.pythonhosted.org/packages/1f/0c/f9a298e4086da017ac517b4f0f4ba65c9c457ce8493787e71592497553ce/fitpy-0.1.1.tar.gz",
    "platform": null,
    "description": "FitPy\n=====\n\nFitPy is a **framework** for the **advanced fitting of models to spectroscopic data** focussing on **reproducibility**. Supported are semi-stochastic sampling of starting conditions, global fitting of several datasets at once, and fitting several concurrent models to one dataset. FitPy builds upon and extends the `ASpecD framework <https://www.aspecd.de/>`_. At the same time, it relies on the `SciPy software stack <https://www.scipy.org/>`_ and on `lmfit <https://lmfit.github.io/lmfit-py/>`_ for its fitting capabilities.\n\nMaking use of the concept of **recipe-driven data analysis**, actual fitting **no longer requires programming skills**, but is as simple as writing a text file defining both, the model and the fitting parameters in an organised way. Curious? Have a look at the following example::\n\n    format:\n      type: ASpecD recipe\n      version: '0.2'\n\n    datasets:\n      - /path/to/dataset\n\n    tasks:\n      - kind: model\n        type: Gaussian\n        properties:\n          parameters:\n            position: 1.5\n            width: 0.5\n        from_dataset: /path/to/dataset\n        output: model\n        result: gaussian_model\n\n      - kind: fitpy.singleanalysis\n        type: SimpleFit\n        properties:\n          model: gaussian_model\n          parameters:\n            fit:\n              amplitude:\n                start: 5\n                range: [3, 7]\n        result: fitted_gaussian\n\n\nFor more general information on the FitPy framework see its `homepage <https://www.fitpy.de/>`_, and for how to use it, its `documentation <https://docs.fitpy.de/>`_.\n\n\nFeatures\n--------\n\nA list of features, planned for the first public release:\n\n* Framework for the advanced fitting of models to spectroscopic data focussing on reproducibility.\n\n* Simple user interface requiring no programming skills.\n\n* Semi-stochastic sampling of starting conditions (Latin hypercube sampling, LHS)\n\n* Global fitting of several datasets at once\n\n* Fitting of several concurrent models (*i.e.*, \"species\") to one dataset\n\n\n.. warning::\n  FitPy is currently under active development and still considered in Alpha development state. Therefore, expect frequent changes in features and public APIs that may break your own code. Nevertheless, feedback as well as feature requests are highly welcome.\n\n\nInstallation\n------------\n\nInstall the package by running::\n\n    pip install fitpy\n\n\nRelated projects\n----------------\n\nThere is a number of related packages that are based on the ASpecD framework and each focus on one particular type of spectroscopy. The most mature packages available to date are:\n\n* `ASpecD <https://docs.aspecd.de/>`_\n\n  A Python framework for the analysis of spectroscopic data focussing on reproducibility and good scientific practice. The framework the cwepr package is based on, developed by T. Biskup.\n\n* `trepr <https://docs.trepr.de/>`_\n\n  Package for processing and analysing time-resolved electron paramagnetic resonance (TREPR) data, developed by J. Popp and maintained by T. Biskup.\n\n* `cwepr <https://docs.cwepr.de/>`_\n\n  Package for processing and analysing continuous-wave electron paramagnetic resonance (cw-EPR) data, originally implemented by P. Kirchner, currently developed and maintained by M. Schr\u00f6der and T. Biskup.\n\nYou may as well be interested in the `LabInform project <https://www.labinform.de/>`_ focussing on the necessary more global infrastructure in a laboratory/scientific workgroup interested in more `reproducible research <https://www.reproducible-research.de/>`_. In short, LabInform is \"The Open-Source Laboratory Information System\".\n\nFinally, don't forget to check out the website on `reproducible research <https://www.reproducible-research.de/>`_ covering in more general terms aspects of reproducible research and good scientific practice.\n\n\nLicense\n-------\n\nThis program is free software: you can redistribute it and/or modify it under the terms of the **BSD License**.\n",
    "bugtrack_url": null,
    "license": "",
    "summary": "Framework for fitting models to (spectroscopic) data.",
    "version": "0.1.1",
    "project_urls": {
        "Documentation": "https://docs.fitpy.de/",
        "Homepage": "https://www.fitpy.de/",
        "Source": "https://github.com/tillbiskup/fitpy"
    },
    "split_keywords": [
        "fitting",
        "spectroscopy",
        "data processing and analysis",
        "reproducible science",
        "reproducible research",
        "good scientific practice",
        "recipe-driven data analysis"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "fbde63a24e9778d226a850da0d19460f56875782466bf8c57fb890a8cbdb0511",
                "md5": "f921e015beac45f5868f2275c3de88cf",
                "sha256": "02ae0fdd074e8556b6dd439a10c72df2688ce6cdc1a2af7cd242384c620198d2"
            },
            "downloads": -1,
            "filename": "fitpy-0.1.1-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "f921e015beac45f5868f2275c3de88cf",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.7",
            "size": 18741,
            "upload_time": "2024-01-15T20:32:03",
            "upload_time_iso_8601": "2024-01-15T20:32:03.732388Z",
            "url": "https://files.pythonhosted.org/packages/fb/de/63a24e9778d226a850da0d19460f56875782466bf8c57fb890a8cbdb0511/fitpy-0.1.1-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "1f0cf9a298e4086da017ac517b4f0f4ba65c9c457ce8493787e71592497553ce",
                "md5": "c9eac54a4eb4119edd1d30f4e5584212",
                "sha256": "56dcd4df9bc3403e4024b6a31c8a2a655c86eb9061b395d4c7142779fc9be649"
            },
            "downloads": -1,
            "filename": "fitpy-0.1.1.tar.gz",
            "has_sig": false,
            "md5_digest": "c9eac54a4eb4119edd1d30f4e5584212",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.7",
            "size": 22666,
            "upload_time": "2024-01-15T20:32:05",
            "upload_time_iso_8601": "2024-01-15T20:32:05.084733Z",
            "url": "https://files.pythonhosted.org/packages/1f/0c/f9a298e4086da017ac517b4f0f4ba65c9c457ce8493787e71592497553ce/fitpy-0.1.1.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-01-15 20:32:05",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "tillbiskup",
    "github_project": "fitpy",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": false,
    "lcname": "fitpy"
}
        
Elapsed time: 0.16303s