Spectrochempy

Latest version: v0.6.9

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

Scan your dependencies

Page 2 of 7

0.6.4.dev

These are the changes in SpectroChemPy-0.6.4.dev.
See :ref:`release` for a full changelog including other versions of SpectroChemPy.

New features

* add `FastICA` analysis module.

Bug fixes

* Issue 643. Conversion from linear to non linear coord was not working properly.
This was due to the use of the LinearCoord class which is now deprecated and replaced by Coord.
* File logging has been removed due to its bad impact on the performance.

Breaking changes

* The behavior of Coord has been slightly modified. During initialisation
of a Coord object, a try is given to convert the `data` to a linear array, with
values evenly spaced. If this is not possible, the data are kept as they are but rounded
to a number of significant digits (given by the parameter `sigdigits`\ ).
If the data are linear already, nothing is modified.
* The rounding of the data is now done in the `Coord` class automatically to at least
2 decimals everytime the `data` are modified and during Coord initialisation,
unless the parameter `bounding` is set to `False` during intialisation.
* Issue 647. ActionMassKinetics has been optimized and refactored.

Deprecations

* The `LinearCoord` class is now deprecated and will be removed in a future version.
Use the `Coord` class instead which performs now an automatic linearization of the data.

0.6.3

New features

* add nnl and pnnls solvers to MCRALS

0.6.2

These are the changes in SpectroChemPy-0.6.2.

New features

* `PLSRegression` (Partial Least Squares regression) method added.

* `read` method now handle any url pointing
to a spectrochempy readeable file. An url to a compressed (zip) files are also accepted.

Example:

.. code-block:: ipython

lst = scp.read("https://eigenvector.com/wp-content/uploads/2019/06/corn.mat_.zip")
lst contains 7 NDDatasets,, display the last
lst[-1].plot()

* Automatically download the github repository ``spectrochempy_data`` which contains the files
for the examples and tests. The files are downloaded in the directory scp.preferences.datadir.
When the program is run for the first time, the availability of the files may take several
minutes, depending on the quality of the internet connection.

Bug fixes

* Documentation information for new releases.

Breaking changes

* The `read_remote` method has been removed. Use `read` instead.
* The `download` method has been removed. Use `read` instead.
* The `copy` parameter of `Decomposition` methods has been removed.

Deprecations

* The `used_components` parameter and attribute of `PCA`, `NNMF`,
`EFA` is replaced by `n_components`

0.6.1

Mainly a fix of the last release regarding the docs

0.6.0

0.5.5

These are the changes in SpectroChemPy-0.5.5.
See :ref:`release` for a full changelog including other versions of SpectroChemPy.

New features

* PCA score plot labelling (issue 543).
* Improved loading time
* Plot2D accept a color argument. In addition to cmap=None,
it produces single color 2D plot. It also accept a line style parameters.
e.g.:


nd.plot(cmap=None, color='red', ls='dashed')


produces a dashed red stack plot.

Bug fixes

* Masks handling.
* Multicoordinates slicing work correctly.
* Removed some deprecation warnings from numpy library.
* Pin ipywidgets to avoid runtime errors until ipywidgets is fixed.

Page 2 of 7

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.