LabToolbox is a collection of tools for the analysis and processing of experimental data in scientific research.
Project description
LabToolbox
LabToolbox is a Python library that provides a collection of useful tools for laboratory data analysis. It offers intuitive and optimized functions for curve fitting, uncertainty propagation, data handling, and graphical visualization, enabling a faster and more rigorous approach to experimental data processing. Designed for students, researchers, and anyone working with experimental data, it combines ease of use with methodological accuracy.
The example.ipynb notebook, available on the library's GitHub page, includes usage examples for the main functions of LabToolbox.
Installation
You can install LabToolbox easily using pip:
pip install LabToolbox
Library Structure
The LabToolbox library is organized into multiple submodules, each dedicated to a specific aspect of experimental data analysis:
-
LabToolbox.utils
A collection of helper functions for general tasks that support various parts of the library, such as data formatting and other utility operations. -
LabToolbox.statsProvides statistical tools for experimental data analysis. This includes functions for generating synthetic datasets from known distributions, creating histograms, removing outliers, performing residual analysis with statistical tests (e.g., normality, skewness, kurtosis), and computing likelihoods and posterior probabilities for parametric models. -
LabToolbox.fit
Provides routines for linear and non-linear curve fitting, including uncertainty-aware methods. -
LabToolbox.uncertainty
Provides tools for estimating and propagating uncertainties in experimental data and models, helping to quantify the effect of input errors on the final results.
Citation
If you use this software, please cite it using the metadata in CITATION.cff. You can also use GitHub’s “Cite this repository” feature (available in the sidebar of the repository page).
License
MIT License – See the LICENSE.txt file.
Code of Conduct and Ethical Use
This project includes a Code of Conduct, which all users and contributors are expected to read and follow.
Additionally, the Code of Conduct contains a section titled “Author’s Ethical Requests” outlining the author's personal expectations regarding responsible and respectful use, especially in commercial or large-scale contexts. While not legally binding, these principles reflect the spirit in which this software was developed, and users are kindly asked to consider them when using the project.
Disclaimer
This package makes use of the uncertainty_class library, available on GitHub, which provides functionality for uncertainty propagation in calculations. Manual installation is not required, as it is included as a module within LabToolbox.
The functions my_cov, my_var, my_mean, my_line and y_estrapolato, found in the modules LabToolbox.basics and LabToolbox.fit, originate from the my_lib_santanastasio library, developed by F. Santanastasio (professor of the Laboratorio di Meccanica course at the University of Rome “La Sapienza”), available at this link.
Tools such as lin_fit and model_fit include an option to display fit residuals. This functionality incorporates elements from the VoigtFit library. The relevant portions of code are clearly marked in the source with a dedicated comment.
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
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 labtoolbox-2.0.0.tar.gz.
File metadata
- Download URL: labtoolbox-2.0.0.tar.gz
- Upload date:
- Size: 24.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.9.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4e1699460d7a32c2a522eb04f7898ce0e1572da18d4d0576c8f4f2a0e5a07005
|
|
| MD5 |
659f22fcf411e2ec68d8ef06ddfa2097
|
|
| BLAKE2b-256 |
b1825697d974f1ed3816458d5a6155ef45cf828c3eb24c5a252958ad0ea422b9
|
File details
Details for the file labtoolbox-2.0.0-py3-none-any.whl.
File metadata
- Download URL: labtoolbox-2.0.0-py3-none-any.whl
- Upload date:
- Size: 27.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.9.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
19a58cea726771d9dee88029a97a658933fe29108c1dfc2f40beacd7b7f6a68e
|
|
| MD5 |
6a50e5cec26fea85ae4b79d182e596b9
|
|
| BLAKE2b-256 |
e6f135d431cc9b8ee00ad6e592ea15553a4976b2697e53e6f3f193f07a307a11
|