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.0.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.0-py3-none-any.whl (24.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: ltbfiles-4.4.0.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.0.tar.gz
Algorithm Hash digest
SHA256 d64e323ec551c2cc09e15c4b6c372df658998c96103c73ab88451d5e181c15b7
MD5 6d91a30758dc0e501ce1a4504b42f59c
BLAKE2b-256 b1e1b5006fff8cf0846b210cb9b8c963906f6badd682926df3db3326e3d53c4d

See more details on using hashes here.

File details

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

File metadata

  • Download URL: ltbfiles-4.4.0-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.0-py3-none-any.whl
Algorithm Hash digest
SHA256 39d7bb29c4bf5b6a1adbf08eb1117d31424893cdbda14791b962c555f8d8f05e
MD5 9692571aada670d6db47a264d7fdcb32
BLAKE2b-256 14cbdd34bb779b89520005d69d1079213e25f4d9547337e6112c38d5465b8fbb

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