A library for fitting Quasielastic Neutron Scattering data.
Project description
QENSFit documentation
QENSFit is a little library that enables easy fitting of Quasielastic Neutron Scattering data.
It borrows some concepts from the popular lmfit package, such as the Model and Parameter objects, but everything is implemented from scratch to make it compatible with Global Fitting procedures, which are essential for QENS data.
USAGE:
-
Use LoadAscii to load data reduced with Mantid, or load your data another way and then organise it in a dictionary of QENSDataset instances. Loading of multiple datasets is supported.
-
Define your model function to fit the data. Constants are also supported.
-
Declare a list of Parameter obejcts to control their initial value, bounds, and whether the parameter is fixed and/or global.
-
Declare a model instance using the function you wrote before as the target, and feed it the list of Parameter objects and the QENSDataset.
-
Run the fit.
-
Plot fits and parameters, and Save your results.
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file qensfit-0.0.1.tar.gz.
File metadata
- Download URL: qensfit-0.0.1.tar.gz
- Upload date:
- Size: 51.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c8022282f6df92efae251e57a16b64bd62f49b9587ea98e91549303e6074ea2f
|
|
| MD5 |
e43231ea5f492973119a73c92fe658d4
|
|
| BLAKE2b-256 |
4f34a8cc6d773331097a03fbd51644879185ee7d776d1260d791cf4439945864
|
File details
Details for the file qensfit-0.0.1-py3-none-any.whl.
File metadata
- Download URL: qensfit-0.0.1-py3-none-any.whl
- Upload date:
- Size: 39.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
015a905122c30d6947864a0f4382605b093444bbe97e8a09b2b1b1161575c11c
|
|
| MD5 |
3bd8c6d98c83e5e52926f84d0b6cd4de
|
|
| BLAKE2b-256 |
436d4e5da6228a6b83e88dbd6d6b41c596dfcfea9276637e5d7d656f2451d4e0
|