FlexPro Forum – Discuss Your Topic!

Signal manipulation

Home > Community > General > Signal manipulation

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #12643

    I have several data sets in Flexpro 7 and would like to delete values out of all sets based on the values of one set falling below a certain value. What is the best way to do this?

    #8306

    I have several data sets in Flexpro 7 and would like to delete values out of all sets based on the values of one set falling below a certain value. What is the best way to do this?

    #9042
    Bernhard KantzBernhard Kantz
    Participant

    Create a FPScript formula which removes the values below a threshold.
    – Use the ValuesAboveLevel function to calculate the indices of the event. You could remove the values directly if you don’t have a reference signal (Use EVENT_EXTRACT instead of EVENT_INDEX).

    Example: FPScript formula ‘Remove’

    
    Arguments data
    Dim idx = ValuesAboveLevel(ReferenceSignal, 0.5, EVENT_INDEX)
    s[idx]
    

    Create an additional function for each signal:

    
    Remove(Signal)
    

    support@weisang.com

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