FlexPro Forum – Discuss Your Topic!

How to substract baseline from signals

Home > Community > FPScript > How to substract baseline from signals

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #12507
    Yee Yan TayYee Yan Tay
    Member

    Hi, i am getting some raman spectroscopy signal,i only found baseline in curve fitting, but is there standalone function to do that. This is because i would like to create a baseline for the background signal and substract it. Will the lowerenvelope function or the spline function helps?

    #8170
    Yee Yan TayYee Yan Tay
    Member

    Hi, i am getting some raman spectroscopy signal,i only found baseline in curve fitting, but is there standalone function to do that. This is because i would like to create a baseline for the background signal and substract it. Will the lowerenvelope function or the spline function helps?

    #8813
    Bernhard KantzBernhard Kantz
    Participant

    You can use the Approximation Analysis Object with the intial function C + X. After that you can subtract the result from the signal.
    Example:

    
    Dim _c = Approximation(Signal, APPROX_C + APPROX_X)
    Dim approx = Signal(_c[0]  + _c[1] * (Signal.X), Signal.X)
    Signal - approx
    

    support@weisang.com

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.