semvec/pypi-packages huggingface dataset:
NEWTEC-HSTI 0.0.4
The NEWTEC_HSTI package contain fundamental functions for the data analysis of hyperspectral thermal images (HSTI).
Requires Python: >=3.6

This package contains functions used in data processing of hyperspectral images
captured using a scanning Fabry-Pérot interferometer (FPI). This includes transmission
simulations of the FPI itself.


# Package Documentation and Modules:

## Image analysis

### hsti_import

  'import_data_cube(path)'

  This function imports the hyperspectral thermal datacube from the raw output of the camera. The path that the function uses as input must be the one containing the 'images' directory.

### hsti_export

  'export_data_cube(data_cube, folder_name)'

  This function takes an HSTI numpy array and exports it as individual .ppm
  images to a folder given by folder_name.


### remove_bad_px

  'remove_stuck_px(cube)'


  'remove_outlying_px(cube, cut_off)'


### remove_vignetting

  'remove_vignette()'

  the function takes a single HSTI as input and returns a new vignetting corrected cube.


### spectral_debending

  'debend(cube, central_mirror_sep)'

  the function takes a single HSTI as input and returns a new spectral bending corrected cube.


![image info](./static/imgs/image_bending.png)



### fill_gaps



### farthest_point_sampling

  'fps(points, n_seeds)'

  Function which distributes n_seeds (a numper of points) equally within a lists
  of points to obtain furthest point sampling.

  The function takes in a list of points. Every entry in the list contains both the
  x and y coordinate of a given point. It returns the coordinates of the selected
  sample points



### voronoi_partitioning



### mse

  'mse(lst1, lst2)'

  the function returns the mean square error (MSE) between two lists of same length.


-------------------
## FPI transmission

### fpi_sim



### fpi_sim_matrix



### fpi_sim_matrix_angular


# Contact

  for bug reports or other questions please contact mani@newtec.dk or alj@newtec.dk
nbfigtulz 1.0
Collection of tools to generate and display visualizations in JupyterLab
Requires Python: >=3.8
Keywords: visualization,jupyterlab

# nbfigtulz
[![Python 3.8](https://img.shields.io/badge/python-3.8-blue.svg)](https://www.python.org/downloads/release/python-380/)
[![Documentation Status](https://readthedocs.org/projects/nbfigtulz/badge/?version=latest)](http://nbfigtulz.readthedocs.io/?badge=latest)
[![PyPI](https://img.shields.io/pypi/v/nbfigtulz)](https://pypi.org/project/nbfigtulz/)
[![Code style: black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/psf/black)

`nbfigtulz` is a small library to show and save visualizations made via [matplotlib](https://matplotlib.org/) with the aim to let the user conveniently render publication ready images by default while working in [JupyterLab](https://jupyterlab.readthedocs.io/en/stable/). The main features of `nbfigtulz` are:
- Images are generated and stored in the [PNG](https://en.wikipedia.org/wiki/Portable_Network_Graphics) and [PGF](https://en.wikipedia.org/wiki/Progressive_Graphics_File) format which lends itself perfectly for inclusion in [PDF/A-1b](https://de.wikipedia.org/wiki/PDF/A) documents.
- [PNGs](https://en.wikipedia.org/wiki/Portable_Network_Graphics) are saved [Base64](https://en.wikipedia.org/wiki/Base64) encoded within a notebook. This makes the notebook free-standing and one can send raw notebooks to fellow researchers without having to remember to include various additional files such as images. Note that **one does not have to re-run the notebook to display the images**.
- Users are encouraged to render small images with high-resolution. Ideally, these images can be included without rescaling into a document.

## Documentation
Find our documentation [here](https://nbfigtulz.readthedocs.io).

## Installation
`nbfigtulz` releases are available as wheel packages for macOS, Windows and Linux on [PyPI](https://pypi.org/project/nbfigtulz/).
Install it using pip:
```
python -m pip install -U pip
python -m pip install -U nbfigtulz
```

## Examples
In addition to our [documentation](https://nbfigtulz.readthedocs.io) we provide a short notebook with a few examples:
- [example/notebook.ipynb](https://github.com/avitase/nbfigtulz/blob/main/example/notebook.ipynb)