Scientific Fit for Python
Project description
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:
python -m pip install --upgrade scifit
Which update you to the latest version of the package.
Quick start
Let's fit some data:
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:
Or even better a full fit report to check each key points at once:
solver.report("hill_report")
Which produces a PDF file called hill_report.pdf
.
Resources
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file scifit-0.1.15.tar.gz
.
File metadata
- Download URL: scifit-0.1.15.tar.gz
- Upload date:
- Size: 56.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8cce97d97f65014d309333dd733c3ba905f8ea5700a81af99bf522e02de4214c |
|
MD5 | 30317faad1133ca1d7525ddb1b34a653 |
|
BLAKE2b-256 | 432ef0ed1f823e19a955eee151245a6189d7ded6aefe0d1436047386ec088249 |
File details
Details for the file scifit-0.1.15-py3-none-any.whl
.
File metadata
- Download URL: scifit-0.1.15-py3-none-any.whl
- Upload date:
- Size: 63.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | bdd8134d68a3fa6861443b665046fd88d3e3e44e7c35f58e7a3cccd3c4f87e56 |
|
MD5 | af8fe7c31c676c78082de8f903bbd387 |
|
BLAKE2b-256 | 3c0d39a1eac1d0a2d22920103556dabddbb8b05d6afe630f9adeea8f440630a3 |