bc_constant function

Remove a constant baseline offset based on a reference spectral region.