Forum FlexPro – Discuss your topic!

Signal manipulation

Home > Community > General > Signal manipulation

Ansicht von 3 Beiträgen - 1 bis 3 (von insgesamt 3)
  • Autor
    Beiträge
  • #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
    Teilnehmer

    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

Ansicht von 3 Beiträgen - 1 bis 3 (von insgesamt 3)
  • Du musst angemeldet sein, um auf dieses Thema antworten zu können.