derb12 / pybaselines

A Python library of algorithms for the baseline correction of experimental data.
https://pybaselines.readthedocs.io
BSD 3-Clause "New" or "Revised" License
115 stars 17 forks source link

ENH: Add 2D versions of several baseline algorithms #27

Closed derb12 closed 9 months ago

derb12 commented 9 months ago

Description

Added two dimensional versions of several baseline correction algorithms, with the main focus being on polynomials, Whittaker smoothing, and penalized splines. Documentation for the added 2D algorithms is complete. The only remaining todo is to add a 2D optimizer that applies a selected 1D baseline correction method along each individual row and/or column, and maybe an example or two in the documentation.

Type of Pull Request

Pull Request Checklist

derb12 commented 9 months ago

The one test failure is from pentapy v1.0 being unable to be installed from source (numpy not found?). Weird issue since I can't replicate locally on ubuntu or windows, but I may have to just bump the required version to one with an available wheel for python 3.8. Does not block merging this branch.