Is it possible to perform a fit only within a specified region?
A little example to explain what I mean exactly:
Suppose I have a sine signal that reaches from lets say 5 to 10. And I have a linear background from lets say 0 to 15.
Is it possible to have a combined fit function that fits linear from 0 to 5 and 10 to 15 and fits linear plus sine-signal from 5 to 10?
Thanks for your help!
Cheers, Christian