Welcome to deFit
Fitting Differential Equations to Time Series Data ( deFit ).
Overview
What is deFit?
Use numerical optimization to fit ordinary differential equations (ODEs) to time series data to examine the dynamic relationships between variables or the characteristics of a dynamical system. It can now be used to estimate the parameters of ODEs up to second order.
Features
- Fit ordinary differential equation models to time series data
- Report model parameter estimations, standard errors, R-squared, and root mean standard error
- Plot raw data points and fitted lines
- Support ordinary differential equation models up to second order
- deFit can run in Python and R environments
1.2 First impression in Python
To get a first impression of how deFit works in simulation, consider the following example of a differential equational model. The figure below contains a graphical representation of the model that we want to fit.
import defit
import pandas as pd
df1 = pd.read_csv('defit/data/example1.csv')
model1 = '''
x =~ myX
time =~ myTime
x(2) ~ x + x(1)
'''
result1 = defit.defit(data=df1,model=model1)
2 Navigation
Metadata
Release files for deFit 0.3.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| defit-0.3.0.tar.gz | 353.0 kB | Without provenance | Details for defit-0.3.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| deFit-0.3.0-py3-none-any.whl | Python 3 | none | any | Details for deFit-0.3.0-py3-none-any.whl |
Total release size: 714.2 kB
Release files / defit-0.3.0.tar.gz
| Download URL | defit-0.3.0.tar.gz |
|---|---|
| Size | 353.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
9a907ca889e7d9cbbf2dd26b26fbad1cd2d41ac73aa40e8d12a3d1d1634dce60
|
|
BLAKE2b-256 checksum How to use checksums |
19bd7a5548b978d3efdb075b144588069fdb7ca37866b57fda46619ce2d4128d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.11.0
|
Release files / deFit-0.3.0-py3-none-any.whl
| Download URL | deFit-0.3.0-py3-none-any.whl |
|---|---|
| Size | 361.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
4e6ab5c55c76bab5665e83dca369e669cbc733c7296af25d90693a669ddce9b7
|
|
BLAKE2b-256 checksum How to use checksums |
9615100a4fc78c452e75f9068bd43acdeec6e9a58333e1fa025bf4147eed1b95
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.11.0
|
Security for deFit 0.3.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.