Read flifiles


Keywords
flifile, lambert, Instruments
Licenses
GPL-3.0/GPL-3.0+
Install
pip install flifile==1.4.2

Documentation

mypy Black Black

flifile

Python code for opening a lambert instruments .fli file

Requirements

  • Numpy

Examples

Open a local .fli file

>>> from flifile import FliFile
>>> myflifile = FliFile('sample_file.fli')
>>> data = myflifile.getdata()
>>> data.shape
(348, 256, 12)
>>> data.mean()
26342.449652777777

Install

pip install flifile

https://pypi.org/project/flifile/

Contribute

  • Clone the repository
  • Install with the development packages: pip install -e .[dev]

Before making a pull request, make sure the following three commands run without errors

  • black .
  • pytest
  • mypy