Biospectools

Latest version: v0.4.0

Safety actively analyzes 624915 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

0.5.dev1

New

Subpackage `jupyter`:
* `interactive_himg` displays interactive hyperspectral image
* `compare_himgs` interactively compares several hyperspectral images
* `PeakNormalizer` before showing normalizes spectra by peak

Interactive exploration of a hyperspectral image (interactive_himg)
![image](https://github.com/BioSpecNorway/biospectools/assets/3684845/753adfcf-dcbb-4fca-8dae-5d45bea9e5d1)

Interactive comparison of several hyperspectral images (compare_himgs)
![image](https://github.com/BioSpecNorway/biospectools/assets/3684845/44c9b10c-a201-43d5-9fb3-79cefdc5312c)

0.4.0

New methods
* Descattering Autoencoder for Mie correction ([paper](https://onlinelibrary.wiley.com/doi/full/10.1002/jbio.202000204), #21)
* All EMSC-like tranformers (including DSAE) can accept now multi-dimensional arrays, what makes it more convenient to work with hyperspectral images, list of spectra and a single spectrum (23)
* All the methods can be imported now from the root package i.e. `from biospectools import EMSC`

API changes
* EMSC has changed its parameter `constituents` into `interferents` and introduced a new parameter `analytes`. The reasoning is that `interferents` will be removed from the spectra, but `analytes` will only participate in estimation of coefficients, but will not be removed from the spectra (19)
* EMSC `transform` method: parameter `internals` renamed into `details`
* `EMSCInternals` renames into `EMSCDetails`

Fixes
* Fixed calculation of mid-point for EMSC (12)
* Add backwards compatibility with scipy of less than "1.7" version and newer for the copy of PLSR from sklearn (24)

Maintenance/Internal
* Added deprecation decorator ([e68a3a5](https://github.com/BioSpecNorway/biospectools/pull/30/commits/e68a3a5b32be0f57193124cc2877896ff891b1b6))
* Utils for downloading and caching weights ([fc01efe](https://github.com/BioSpecNorway/biospectools/pull/30/commits/fc01efe6c08b1a9d8a8ab90d8b4ae5d9bdd34d6b))

**Special thanks** to JohanneSolheim, valetaf and eirikama for the support in implementing algorithms, testing and fruitful discussions!

0.3.1

**Fixes**
* Install by default the latest private package

0.3.0

Added CI, badges, docs. The package is published on PyPi.

What's Changed
* Fix SparsePLS by pisarik in https://github.com/BioSpecNorway/biospectools/pull/6
* Add CI by pisarik in https://github.com/BioSpecNorway/biospectools/pull/5
* Add private subpackage by pisarik in https://github.com/BioSpecNorway/biospectools/pull/7
* Make flake happy by pisarik in https://github.com/BioSpecNorway/biospectools/pull/8
* Add docs by pisarik in https://github.com/BioSpecNorway/biospectools/pull/9
* 0.3.0 version by pisarik in https://github.com/BioSpecNorway/biospectools/pull/10

**Full Changelog**: https://github.com/BioSpecNorway/biospectools/compare/v0.2.0...v0.3.0

0.2.0

Added classes ESMC, FringeEMSC and MeEMSC

Links

Releases

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.