Closed jveitchmichaelis closed 2 years ago
During the final peak/line fitting (after RANSAC) the polyfit is not constrained (e.g. by wavelength range) which can cause really weird solutions.
Should be straightforward using one of scipy's minimisation routines that allows parameter bounds.
merge into #45.
During the final peak/line fitting (after RANSAC) the polyfit is not constrained (e.g. by wavelength range) which can cause really weird solutions.
Should be straightforward using one of scipy's minimisation routines that allows parameter bounds.