Skip to main content

Scientific Fit for Python

Project description

Pypi Workflow Documentations Workflow

SciFit Banner

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:

Fit figure

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

solver.report("hill_report")

Report page

Which produces a PDF file called hill_report.pdf.

Resources

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

scifit-0.1.14.tar.gz (52.8 kB view hashes)

Uploaded Source

Built Distribution

scifit-0.1.14-py3-none-any.whl (59.8 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page