scifit


Namescifit JSON
Version 0.1.14 PyPI version JSON
download
home_page
SummaryScientific Fit for Python
upload_time2023-09-14 10:18:34
maintainer
docs_urlNone
author
requires_python>=3.9
licenseBSD 3-Clause License Copyright (c) 2020-2023, Jean Landercy (see AUTHORS and LICENSE_bundled files) All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. * Neither the name of the copyright holder nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
keywords scientific curve-fitting optimization
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            [![Pypi Workflow](https://github.com/jlandercy/scifit/actions/workflows/pypi.yaml/badge.svg?branch=main)](https://github.com/jlandercy/scifit/actions/workflows/pypi.yaml)
[![Documentations Workflow](https://github.com/jlandercy/scifit/actions/workflows/docs.yaml/badge.svg?branch=main)](https://github.com/jlandercy/scifit/actions/workflows/docs.yaml)

![SciFit Banner](./docs/source/media/branding/Banner.png)

# SciFit

> Comprehensive fits for scientists

Welcome to SciFit project the Python package for comprehensive fits for scientists
designed to ease fitting procedure and automatically perform the quality assessment.

The SciFit project aims to support your work by:

 - Providing a clean, stable and compliant interface for each solver;
 - Perform ad hoc transformations, processing and tests on each stage of a solver procedure;
 - Render high quality figures summarizing solver solution and the quality assessment.

## Installation

You can install the SciFit package by issuing:

```commandline
python -m pip install --upgrade scifit
```

Which update you to the latest version of the package.

## Quick start

Let's fit some data:

```python
from scifit.solvers.scientific import *

# Select a specific solver:
solver = HillEquationFitSolver()

# Create some synthetic dataset:
data = solver.synthetic_dataset(
    xmin=0.0, xmax=5.0, resolution=50,
    parameters=[3.75, 0.21],
    sigma=0.1, scale_mode="auto", seed=1234,
)

# Perform regression:
solution = solver.fit(data)

# Render results:
axe = solver.plot_fit()
```

We have a nice adjustments for such noisy data:

![Fit figure](./docs/source/media/branding/FitFigure.png)

Or even better a full fit report to check each key points at once:

```python
solver.report("hill_report")
```

![Report page](./docs/source/media/branding/ReportPage.png)

Which produces a PDF file called `hill_report.pdf`.

## Resources

 - [Documentations][20]
 - [Repository][21]

[20]: https://github.com/jlandercy/scifit/tree/main/docs
[21]: https://github.com/jlandercy/scifit

            

Raw data

            {
    "_id": null,
    "home_page": "",
    "name": "scifit",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=3.9",
    "maintainer_email": "",
    "keywords": "scientific,curve-fitting,optimization",
    "author": "",
    "author_email": "Jean Landercy <jeanlandercy@live.com>",
    "download_url": "https://files.pythonhosted.org/packages/f2/4c/bb85f532fc4f96d539a40022f844509755de6ddb50c95bfd471c6ec15e17/scifit-0.1.14.tar.gz",
    "platform": null,
    "description": "[![Pypi Workflow](https://github.com/jlandercy/scifit/actions/workflows/pypi.yaml/badge.svg?branch=main)](https://github.com/jlandercy/scifit/actions/workflows/pypi.yaml)\n[![Documentations Workflow](https://github.com/jlandercy/scifit/actions/workflows/docs.yaml/badge.svg?branch=main)](https://github.com/jlandercy/scifit/actions/workflows/docs.yaml)\n\n![SciFit Banner](./docs/source/media/branding/Banner.png)\n\n# SciFit\n\n> Comprehensive fits for scientists\n\nWelcome to SciFit project the Python package for comprehensive fits for scientists\ndesigned to ease fitting procedure and automatically perform the quality assessment.\n\nThe SciFit project aims to support your work by:\n\n - Providing a clean, stable and compliant interface for each solver;\n - Perform ad hoc transformations, processing and tests on each stage of a solver procedure;\n - Render high quality figures summarizing solver solution and the quality assessment.\n\n## Installation\n\nYou can install the SciFit package by issuing:\n\n```commandline\npython -m pip install --upgrade scifit\n```\n\nWhich update you to the latest version of the package.\n\n## Quick start\n\nLet's fit some data:\n\n```python\nfrom scifit.solvers.scientific import *\n\n# Select a specific solver:\nsolver = HillEquationFitSolver()\n\n# Create some synthetic dataset:\ndata = solver.synthetic_dataset(\n    xmin=0.0, xmax=5.0, resolution=50,\n    parameters=[3.75, 0.21],\n    sigma=0.1, scale_mode=\"auto\", seed=1234,\n)\n\n# Perform regression:\nsolution = solver.fit(data)\n\n# Render results:\naxe = solver.plot_fit()\n```\n\nWe have a nice adjustments for such noisy data:\n\n![Fit figure](./docs/source/media/branding/FitFigure.png)\n\nOr even better a full fit report to check each key points at once:\n\n```python\nsolver.report(\"hill_report\")\n```\n\n![Report page](./docs/source/media/branding/ReportPage.png)\n\nWhich produces a PDF file called `hill_report.pdf`.\n\n## Resources\n\n - [Documentations][20]\n - [Repository][21]\n\n[20]: https://github.com/jlandercy/scifit/tree/main/docs\n[21]: https://github.com/jlandercy/scifit\n",
    "bugtrack_url": null,
    "license": "BSD 3-Clause License  Copyright (c) 2020-2023, Jean Landercy (see AUTHORS and LICENSE_bundled files) All rights reserved.  Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:  * Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.  * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.  * Neither the name of the copyright holder nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.  THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS \"AS IS\" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. ",
    "summary": "Scientific Fit for Python",
    "version": "0.1.14",
    "project_urls": {
        "Homepage": "https://github.com/jlandercy/scifit"
    },
    "split_keywords": [
        "scientific",
        "curve-fitting",
        "optimization"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "e6e0226ea8b867dd771eca8b85ac3286040cfb5179e5ab9e267425478821dd1b",
                "md5": "48c3c206fa9f97f8ec88f13d6e245d2e",
                "sha256": "fd9417fb6a4d987c75c302f6bce0c66964a4708d86862682220d8a1603a65283"
            },
            "downloads": -1,
            "filename": "scifit-0.1.14-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "48c3c206fa9f97f8ec88f13d6e245d2e",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.9",
            "size": 59786,
            "upload_time": "2023-09-14T10:18:31",
            "upload_time_iso_8601": "2023-09-14T10:18:31.917161Z",
            "url": "https://files.pythonhosted.org/packages/e6/e0/226ea8b867dd771eca8b85ac3286040cfb5179e5ab9e267425478821dd1b/scifit-0.1.14-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "f24cbb85f532fc4f96d539a40022f844509755de6ddb50c95bfd471c6ec15e17",
                "md5": "4ef4a5f7de550d0a0058736247edcf1a",
                "sha256": "90b58e695873ec0f1b18149187877f218e9d8feced330e0effad7d57c816a6c3"
            },
            "downloads": -1,
            "filename": "scifit-0.1.14.tar.gz",
            "has_sig": false,
            "md5_digest": "4ef4a5f7de550d0a0058736247edcf1a",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.9",
            "size": 52839,
            "upload_time": "2023-09-14T10:18:34",
            "upload_time_iso_8601": "2023-09-14T10:18:34.264855Z",
            "url": "https://files.pythonhosted.org/packages/f2/4c/bb85f532fc4f96d539a40022f844509755de6ddb50c95bfd471c6ec15e17/scifit-0.1.14.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-09-14 10:18:34",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "jlandercy",
    "github_project": "scifit",
    "github_not_found": true,
    "lcname": "scifit"
}
        
Elapsed time: 0.15233s