Skip to main content

Python 3 Package of modules for typical analysis tasks analyzing physics data

Project description

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

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

LabTools3-1.1.3.11.tar.gz (39.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

LabTools3-1.1.3.11-py3-none-any.whl (43.9 kB view details)

Uploaded Python 3

File details

Details for the file LabTools3-1.1.3.11.tar.gz.

File metadata

  • Download URL: LabTools3-1.1.3.11.tar.gz
  • Upload date:
  • Size: 39.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.7

File hashes

Hashes for LabTools3-1.1.3.11.tar.gz
Algorithm Hash digest
SHA256 e5293af24bd53f7c22bcba78cfaa5ff167508c2b6b273111582f6ca111ed172f
MD5 03563322369a2ab2ee770807fbc67935
BLAKE2b-256 c42b1c232be7f26fda6045a96155f0f5417e01f0300aa79e18cb15ea02d7cfd4

See more details on using hashes here.

File details

Details for the file LabTools3-1.1.3.11-py3-none-any.whl.

File metadata

  • Download URL: LabTools3-1.1.3.11-py3-none-any.whl
  • Upload date:
  • Size: 43.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.7

File hashes

Hashes for LabTools3-1.1.3.11-py3-none-any.whl
Algorithm Hash digest
SHA256 fd131ca7984b15a843fb9d1385445f1e760a8c01224687c88372806707f7fa26
MD5 a5d858816ab8f2bae1d615d8a9152b23
BLAKE2b-256 8b054ec63e07d218f253f848402312175684405225fb94107ae54272cc851c1e

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page