Skip to main content

Module for loading of files created with spectrometers from LTB

Project description

LTB-Files

This is a selection of functions providing loading functionalities for files created with ARYELLE series spectrometers from LTB Lasertechnik Berlin GmbH and the Sophi software.

Documentatation of functions and the file format can be found on the corresponding gitlab-page. It is written for Python but function interfaces are the same for Matlab.

Issues can be reported online in the projects issue-tracker.

Installation

Python

Pyversions

Users of Python can install directly from pypi using:

pip install ltbfiles

Then you can use it like this:

import ltbfiles
spec = ltbfiles.load_folder("path/to/folder", extensions=".aryx", interpolate=True)

Matlab

The minimum version required is R2019b. Tests are being run with MATLAB version R2022b and R2024b. Some features are only supported from version R2024b onwards.

The preferred way is to download the latest package from the package registry and install it by double clicking on it. All functions can now be accessed using the prefix ltbfiles.function like:

[Y,x] = ltbfiles.load_folder("path/to/folder", extensions=".aryx", interpolate=true)

You may hit F1 in order get help on any function.

Option2: Bundle a package yourself

Download or clone this project to your local machine and open the folder with MATLAB. Within MATLAB, open the file "ltbfiles_MATLAB-Toolbox.prj". MATLAB should open the "Package a Toolbox" dialog. Click on "Package" within the toolbar. A file named ltbfiles.mltbx is created inside the same folder. By double clicking on it, the toolbox is installed as a package within MATLAB and can now be found by all projects on the given machine. the toolbox-file can also be transferred to and installed on other devices. There is no need to keep the original project on the machine after installing the toolbox.

Option3: Add folder to search path

Download or clone this project to your local machine. Keep the downloaded folder somewhere on the machine and use

addpath(path/to/ltbfiles_MATLAB);

in the beginning of your projects.

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

ltbfiles-4.4.0rc1.tar.gz (25.0 kB view details)

Uploaded Source

Built Distribution

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

ltbfiles-4.4.0rc1-py3-none-any.whl (24.5 kB view details)

Uploaded Python 3

File details

Details for the file ltbfiles-4.4.0rc1.tar.gz.

File metadata

  • Download URL: ltbfiles-4.4.0rc1.tar.gz
  • Upload date:
  • Size: 25.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.10.20

File hashes

Hashes for ltbfiles-4.4.0rc1.tar.gz
Algorithm Hash digest
SHA256 1bb0876ca3a7318599c54dc422db6c750884aa5e62b11f36e4db1d1730e18158
MD5 1c57a23947e2ea68e3eaae5dec8e23ea
BLAKE2b-256 9351b2ae0546626231a9b00f233e6fcabfbcea8b3c79823db91e8b0aa595d5da

See more details on using hashes here.

File details

Details for the file ltbfiles-4.4.0rc1-py3-none-any.whl.

File metadata

  • Download URL: ltbfiles-4.4.0rc1-py3-none-any.whl
  • Upload date:
  • Size: 24.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.10.20

File hashes

Hashes for ltbfiles-4.4.0rc1-py3-none-any.whl
Algorithm Hash digest
SHA256 2c2b6fe8ed74db2b747e84bd537dfc5013a1a2b359f625b77c118ef415f6f48e
MD5 a29b9c61953a0025edfb09d0dd011827
BLAKE2b-256 910f528911410a812982543484c16c184fcac609970d87400f230e8853bdc72c

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