# LabTools3
Set of Python analysis tools for physics labs. It contains the "package" directory which is the Python package with a setup.py script for installation and
a "doc" directory containing the Sphinx documentation. The repository starts with version 0.2.9 of LabTools.
Version 1.0.2: has mostly some big fixes.
Version 1.1.0: now includes 2D-histograms and some bug fixes.
Version 1.1.1: includes 3D lego plot for *histo2d*. Note that at the moment surface and lego plots are only in linear scale possible.
Version 1.1.2: non-linear fitting is now based on *scipy.optimize.least_squares* so parameter bounds can be used.
Version 1.1.3.1: (same as 1.1.3) updated the *rebin* function for 1D histograms, by default it now returns a new histogram (*replace = False*). Also added the options to have the mean calculated for combined bins instead of the sum (*use_mean = True*). Fixed a bug in *project_x* and *project_y* functions for 2D histograms.
Version 1.1.3.2: minor bug fixes
Version 1.1.3.3: histogram axis labels are preserved in rebinning and projection actions (for 2d histogram)
Version 1.1.3.4: minor bug fixes
Version 1.1.3.5: corrected problen with *add_data*
Version 1.1.3.6: added features to fitting: *plot* attribute to plot the fit, the fit results is plotted by default (controlled with the *plot_fit* kwarg). The fit object are callable, returning the value of the fit function using the current values of the fit parameters. New attribute to datafile: *adata\_comment\_index*, a list of indices pointing to comment lines.
Version 1.1.3.7: updated documentation
Version 1.1.3.8: datafile can be initialized with a list of strings correponding to the regular syntax
Version 1.1.3.9: Fixed a bug in *histo* where histogram window variable was not initialized when loading from file (required a *clear_window* call).
Version 1.1.3.10: 2d histo now accepts axes as keywords. Make sure for 3d display the axes is a Axes3DSubplot.
Version 1.1.3.11: new control on title and axes labels for plotting
Version 1.1.3.12: bug fixes, peak and background functions are available for histogram fits.
Version 1.1.3.13: fitting of only one parameters enabled for linear fits
Version 1.1.3.14: error calcualtion for filling histograms with weights include sum of weight**2
Version 1.1.3.15: contination lines enabled in parameter file by endine line with "\" or ",""
Version 1.1.3.16: Corrected bug in histo.rebin. gen_fit allows control of relative step size using the diff_step keyword. It is also possible to supply a list of functions to calculate the parameter derivatives. This helps with numerical accuracy in the minimization process (see gen_fit documentation)
Raw data
{
"_id": null,
"home_page": "http://wanda.fiu.edu/LabTools3",
"name": "LabTools3",
"maintainer": null,
"docs_url": null,
"requires_python": ">=3.8",
"maintainer_email": null,
"keywords": "Data Analysis",
"author": "Werner Boeglin",
"author_email": "boeglinw@fiu.edu",
"download_url": "https://files.pythonhosted.org/packages/e3/0c/98d00794fec5f61104901a9373fbbefa60372cf7a9e6b54b57d25fa188f3/labtools3-1.1.3.16.tar.gz",
"platform": null,
"description": "# LabTools3\nSet of Python analysis tools for physics labs. It contains the \"package\" directory which is the Python package with a setup.py script for installation and\na \"doc\" directory containing the Sphinx documentation. The repository starts with version 0.2.9 of LabTools.\nVersion 1.0.2: has mostly some big fixes.\n\nVersion 1.1.0: now includes 2D-histograms and some bug fixes.\n\nVersion 1.1.1: includes 3D lego plot for *histo2d*. Note that at the moment surface and lego plots are only in linear scale possible.\n\nVersion 1.1.2: non-linear fitting is now based on *scipy.optimize.least_squares* so parameter bounds can be used.\n\nVersion 1.1.3.1: (same as 1.1.3) updated the *rebin* function for 1D histograms, by default it now returns a new histogram (*replace = False*). Also added the options to have the mean calculated for combined bins instead of the sum (*use_mean = True*). Fixed a bug in *project_x* and *project_y* functions for 2D histograms.\n\nVersion 1.1.3.2: minor bug fixes\n\nVersion 1.1.3.3: histogram axis labels are preserved in rebinning and projection actions (for 2d histogram)\n\nVersion 1.1.3.4: minor bug fixes\n\nVersion 1.1.3.5: corrected problen with *add_data*\n\nVersion 1.1.3.6: added features to fitting: *plot* attribute to plot the fit, the fit results is plotted by default (controlled with the *plot_fit* kwarg). The fit object are callable, returning the value of the fit function using the current values of the fit parameters. New attribute to datafile: *adata\\_comment\\_index*, a list of indices pointing to comment lines.\n \nVersion 1.1.3.7: updated documentation\n\nVersion 1.1.3.8: datafile can be initialized with a list of strings correponding to the regular syntax\n\nVersion 1.1.3.9: Fixed a bug in *histo* where histogram window variable was not initialized when loading from file (required a *clear_window* call).\n\nVersion 1.1.3.10: 2d histo now accepts axes as keywords. Make sure for 3d display the axes is a Axes3DSubplot.\n\nVersion 1.1.3.11: new control on title and axes labels for plotting\n\nVersion 1.1.3.12: bug fixes, peak and background functions are available for histogram fits.\n\nVersion 1.1.3.13: fitting of only one parameters enabled for linear fits\n\nVersion 1.1.3.14: error calcualtion for filling histograms with weights include sum of weight**2 \n\nVersion 1.1.3.15: contination lines enabled in parameter file by endine line with \"\\\" or \",\"\" \n\nVersion 1.1.3.16: Corrected bug in histo.rebin. gen_fit allows control of relative step size using the diff_step keyword. It is also possible to supply a list of functions to calculate the parameter derivatives. This helps with numerical accuracy in the minimization process (see gen_fit documentation) \n",
"bugtrack_url": null,
"license": "MIT",
"summary": "Python 3 Package of modules for typical analysis tasks analyzing physics data",
"version": "1.1.3.16",
"project_urls": {
"Homepage": "http://wanda.fiu.edu/LabTools3"
},
"split_keywords": [
"data",
"analysis"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "a4fc2ed5ca18d43c401b7dd1026299563a7d96e91065fc530ce810654027ce2b",
"md5": "d727eae1afb780644abb5be23846f45b",
"sha256": "c27d74c20867012219b940a2bae2f9ae5aff13f278cd6e050d1db48a165fdd49"
},
"downloads": -1,
"filename": "LabTools3-1.1.3.16-py3-none-any.whl",
"has_sig": false,
"md5_digest": "d727eae1afb780644abb5be23846f45b",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.8",
"size": 45569,
"upload_time": "2024-12-03T23:36:13",
"upload_time_iso_8601": "2024-12-03T23:36:13.572548Z",
"url": "https://files.pythonhosted.org/packages/a4/fc/2ed5ca18d43c401b7dd1026299563a7d96e91065fc530ce810654027ce2b/LabTools3-1.1.3.16-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "e30c98d00794fec5f61104901a9373fbbefa60372cf7a9e6b54b57d25fa188f3",
"md5": "da84ef36e3a749aab2590c5874248bb6",
"sha256": "2cd3c5c26aca12e4626834edabdab01f86be05f4e10fa5a17b084fe72bcc50a4"
},
"downloads": -1,
"filename": "labtools3-1.1.3.16.tar.gz",
"has_sig": false,
"md5_digest": "da84ef36e3a749aab2590c5874248bb6",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.8",
"size": 40739,
"upload_time": "2024-12-03T23:36:15",
"upload_time_iso_8601": "2024-12-03T23:36:15.350784Z",
"url": "https://files.pythonhosted.org/packages/e3/0c/98d00794fec5f61104901a9373fbbefa60372cf7a9e6b54b57d25fa188f3/labtools3-1.1.3.16.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-12-03 23:36:15",
"github": false,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"lcname": "labtools3"
}