ultrafastFitFunctions
Collection of common fit functions for discribing ultrafast and static physics phenomena to be compatible with lmfit.
To be compatible with the great fitting package lmfit, all functions need to have the independent variable as the first argument and it needs to be called 'x'. If it is not called 'x', when calling lmfit's fit, the new name needs to be specified, which is prone to errors.
=========Usage Example ===============
from ultrafastFitFunctions import *
Decays.expDecay(1,1,1)
======================================
======================================================== Valid parameters in order of appearance in the functions:
mu : shift of x by x0 / mu
sigT : T = '', S, H, ... ; width / scaling in x-directions. Similar / related to a FWHM.
taun : n = 1,2,... ; similar to sig; used as taun**1 in denominator of exp
A,B,C,D,... : multiplier / normalisation
c,a,b,d,... : offsets
k : slope
other:
alpha, beta, q : ratios
========================================================
Docstring:
r"""
What does the function do?
Parameters
----------
x : array_like
`x` represents the x-coordinates of a set of datapoints.
a : int
`a` represents the variable, which does... .
Returns
-------
y : ndarray
An array of the same shape as x.
"""
========================================================
2Do List
-
Most functions are written without a mu, should be changed?
Release files for ultrafastFitFunctions 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 | |
|---|---|---|---|
| ultrafastFitFunctions-0.3.0.tar.gz | 4.3 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| ultrafastFitFunctions-0.3.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 9.1 kB
Release files / ultrafastFitFunctions-0.3.0.tar.gz
| Download URL | ultrafastFitFunctions-0.3.0.tar.gz |
|---|---|
| Size | 4.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
e621dc0e6b951f77e27d76f275d56e847a8a3624f121db93022103517f1a8914
|
|
BLAKE2b-256 checksum How to use checksums |
6fd455302cab2029a57c9561552438ee842b0926bf0da9c2e5d99849362d9c55
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.7.0 importlib_metadata/4.8.2 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.12
|
Release files / ultrafastFitFunctions-0.3.0-py3-none-any.whl
| Download URL | ultrafastFitFunctions-0.3.0-py3-none-any.whl |
|---|---|
| Size | 4.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
58bcd06ed24fc9b4db27ccbd5e6c587e09f8a43200db38679ff0657438bf0839
|
|
BLAKE2b-256 checksum How to use checksums |
d82fb7e9e82d1b4060dcd788657e8377d20a1f33e1e7059f79b68dd1bafd4c1e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.7.0 importlib_metadata/4.8.2 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.12
|