scifit


Namescifit JSON
Version 0.1.15 PyPI version JSON
download
home_pageNone
SummaryScientific Fit for Python
upload_time2024-08-03 02:32:45
maintainerNone
docs_urlNone
authorNone
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": null,
    "name": "scifit",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.9",
    "maintainer_email": null,
    "keywords": "scientific, curve-fitting, optimization",
    "author": null,
    "author_email": "Jean Landercy <jeanlandercy@live.com>",
    "download_url": "https://files.pythonhosted.org/packages/43/2e/f0ed1f823e19a955eee151245a6189d7ded6aefe0d1436047386ec088249/scifit-0.1.15.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)\r\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)\r\n\r\n![SciFit Banner](./docs/source/media/branding/Banner.png)\r\n\r\n# SciFit\r\n\r\n> Comprehensive fits for scientists\r\n\r\nWelcome to SciFit project the Python package for comprehensive fits for scientists\r\ndesigned to ease fitting procedure and automatically perform the quality assessment.\r\n\r\nThe SciFit project aims to support your work by:\r\n\r\n - Providing a clean, stable and compliant interface for each solver;\r\n - Perform ad hoc transformations, processing and tests on each stage of a solver procedure;\r\n - Render high quality figures summarizing solver solution and the quality assessment.\r\n\r\n## Installation\r\n\r\nYou can install the SciFit package by issuing:\r\n\r\n```commandline\r\npython -m pip install --upgrade scifit\r\n```\r\n\r\nWhich update you to the latest version of the package.\r\n\r\n## Quick start\r\n\r\nLet's fit some data:\r\n\r\n```python\r\nfrom scifit.solvers.scientific import *\r\n\r\n# Select a specific solver:\r\nsolver = HillEquationFitSolver()\r\n\r\n# Create some synthetic dataset:\r\ndata = solver.synthetic_dataset(\r\n    xmin=0.0, xmax=5.0, resolution=50,\r\n    parameters=[3.75, 0.21],\r\n    sigma=0.1, scale_mode=\"auto\", seed=1234,\r\n)\r\n\r\n# Perform regression:\r\nsolution = solver.fit(data)\r\n\r\n# Render results:\r\naxe = solver.plot_fit()\r\n```\r\n\r\nWe have a nice adjustments for such noisy data:\r\n\r\n![Fit figure](./docs/source/media/branding/FitFigure.png)\r\n\r\nOr even better a full fit report to check each key points at once:\r\n\r\n```python\r\nsolver.report(\"hill_report\")\r\n```\r\n\r\n![Report page](./docs/source/media/branding/ReportPage.png)\r\n\r\nWhich produces a PDF file called `hill_report.pdf`.\r\n\r\n## Resources\r\n\r\n - [Documentations][20]\r\n - [Repository][21]\r\n\r\n[20]: https://github.com/jlandercy/scifit/tree/main/docs\r\n[21]: https://github.com/jlandercy/scifit\r\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.15",
    "project_urls": {
        "Homepage": "https://github.com/jlandercy/scifit"
    },
    "split_keywords": [
        "scientific",
        " curve-fitting",
        " optimization"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "3c0d39a1eac1d0a2d22920103556dabddbb8b05d6afe630f9adeea8f440630a3",
                "md5": "af8fe7c31c676c78082de8f903bbd387",
                "sha256": "bdd8134d68a3fa6861443b665046fd88d3e3e44e7c35f58e7a3cccd3c4f87e56"
            },
            "downloads": -1,
            "filename": "scifit-0.1.15-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "af8fe7c31c676c78082de8f903bbd387",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.9",
            "size": 63041,
            "upload_time": "2024-08-03T02:32:43",
            "upload_time_iso_8601": "2024-08-03T02:32:43.929645Z",
            "url": "https://files.pythonhosted.org/packages/3c/0d/39a1eac1d0a2d22920103556dabddbb8b05d6afe630f9adeea8f440630a3/scifit-0.1.15-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "432ef0ed1f823e19a955eee151245a6189d7ded6aefe0d1436047386ec088249",
                "md5": "30317faad1133ca1d7525ddb1b34a653",
                "sha256": "8cce97d97f65014d309333dd733c3ba905f8ea5700a81af99bf522e02de4214c"
            },
            "downloads": -1,
            "filename": "scifit-0.1.15.tar.gz",
            "has_sig": false,
            "md5_digest": "30317faad1133ca1d7525ddb1b34a653",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.9",
            "size": 56455,
            "upload_time": "2024-08-03T02:32:45",
            "upload_time_iso_8601": "2024-08-03T02:32:45.902500Z",
            "url": "https://files.pythonhosted.org/packages/43/2e/f0ed1f823e19a955eee151245a6189d7ded6aefe0d1436047386ec088249/scifit-0.1.15.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-08-03 02:32:45",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "jlandercy",
    "github_project": "scifit",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "requirements": [],
    "lcname": "scifit"
}
        
Elapsed time: 0.46109s