Warning

You are reading the documentation related to the development version. Go here if you are looking for the documentation of the stable release.

What’s new in revision 0.6.2

These are the changes in SpectroChemPy-0.6.2. See Release notes for a full changelog including other versions of SpectroChemPy.

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:

    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