LabToolbox is a collection of tools for the analysis and processing of experimental data in scientific research.
Project description
LabToolbox
LabToolbox is a Python package 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 package'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 package is organized into multiple submodules, each dedicated to a specific aspect of experimental data analysis:
-
LabToolbox.utils: A collection of helper functions for tasks like data formatting and general-purpose utilities used throughout the package. -
LabToolbox.stats: Statistical tools for experimental data analysis, including generation of synthetic datasets, histogram construction, outlier removal, residual analysis (normality, skewness, kurtosis), and likelihood/posterior computation for parametric models. -
LabToolbox.fit: Routines for linear and non-linear curve fitting, with support for uncertainty-aware methods. -
LabToolbox.uncertainty: Methods for estimating and propagating uncertainties in experimental contexts, allowing quantification of how input errors affect model outputs.
Documentation
Detailed documentation for all modules and functions is available in the GitHub Wiki. The wiki includes function descriptions, usage examples, and practical guidance to help you get the most out of the library.
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
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.utils 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.3.tar.gz.
File metadata
- Download URL: labtoolbox-2.0.3.tar.gz
- Upload date:
- Size: 28.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.9.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3cfd9d7ff7815d0e97d3ae656ef0c59d15ea44f151741d02771f2228b08ab16b
|
|
| MD5 |
a67e215993c8bf96648e5bc14a6a95bc
|
|
| BLAKE2b-256 |
09619ce04a1af78f0b9c2e51549bcae4879ac6e3f007a9522c205819245178d9
|
File details
Details for the file labtoolbox-2.0.3-py3-none-any.whl.
File metadata
- Download URL: labtoolbox-2.0.3-py3-none-any.whl
- Upload date:
- Size: 30.3 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 |
09666747788a0fc21b38629e6fe24584c0eba09602dd06c9aba8594e86e5358d
|
|
| MD5 |
1458b9c2ec4278f7f023f2957ff5583a
|
|
| BLAKE2b-256 |
a3a48027f7243a711542787debf25a2a580a94fbf2d687937747a8dc1e176349
|