add keyword argument to specify points to fit baseline
Issue #2
new
Add keyword argument that allows users to specify points (minimum 2) in wavelength space where the baseline fit should intersect with the spectrum.
Comments (2)
-
-
To be more specific, you could do something like:
sp.baseline.selectregion(50,100,exclude=[51,99])
which is unfortunately a bit of a hokey way to do what you describe.There needs to be a
sp.baseline.fit
method - I'll add that now. - Log in to comment
You can select data to fit using
sp.baseline.selectregion
. If you want to set the baseline directly, you can also do that by settingsp.baseline.basespec
. Again, though, I'm not sure either of these are what you're asking for.