Improvements:
- baseline(): we use the make_smoothing_spline function from Scipy for the GCVSmoothedNSpline smoothing mode (smooth function) and the gcvspline baseline, in replaced of the call to the gcvspline library. make_smoothing_spline is a reimplenetation of the Woltring Fortran code in gcvspline library, so modulo numerical errors, it returns the same results. This offers now the gcvspline baseline to all, without problem of Fortran compilation.
- baseline(): bir are now an optional argument in rampy.baseline (because they do not appear in als, arPLS and drPLS algorithms)
- peakarea(): function is improved and a test is added.
- mlclassificator(): this class was badly handling model parameters. This is now fixed. The code has been improved.
- various improvements of the code formatting
- tests & examples updated
- docstrings re-written in Google Style
- docs updated
Additions:
- plot_spectrum(): makes an interactive plot of a signal, and also possibly of added baselines and smoothed signals.
- whittaker(): it is now possible to pass weights
- baseline(): Whittaker and Gaussian process baselines going through regions of interest is also available in the baseline() function
- ruby_T_corr(): Computes the temperature correction for the Ruby pressure scale.
- borate_T_corr(): Computes the temperature correction for the SrB4O7:Sm2+ pressure scale.
- pressure_sensor(): Converts the wavelength of fluorescence lines into pressure in GPa.
Deprecation:
- get_portion_interest() becomes extract_signal(). get_portion_interest() still works but it will be removed in a future release