Volume from Flow signal

SupportCommunity General Volume from Flow signal

Ansicht von 4 Beiträgen - 1 bis 4 (von insgesamt 4)
  • Autor
    Beiträge
  • #12672

    I need to create a signal of volume (vs. time) from a flow signal – a record of a person breathing. This should be relatively easy except that the volume drifts, so I would like to reset the volume to zero at every -ve to +ve zero crossing of flow (i.e. at the start of a new breath.) I am going to need to do this every time I analyze a recording that I make so the process needs to be automated.

    Suggestions?

    Thanks,

    Paul

    #9105
    Bernhard KantzBernhard Kantz
    Moderator

    There are two options:

    1.) Write a FPScript formula which gets the dataset as an argument and does the de-trending. You should use the LevelCrossings function to find all the positions and then loop accross each breath to substract the offset. You can use Drag & Drop for example to produce new formulas which call this function for a couple of datasets in one step.

    2.) Use Automation to access and modify the dataset by reading the data in chunks, processing it and writing it back to the same or to a different dataset.

    #8335

    I need to create a signal of volume (vs. time) from a flow signal – a record of a person breathing. This should be relatively easy except that the volume drifts, so I would like to reset the volume to zero at every -ve to +ve zero crossing of flow (i.e. at the start of a new breath.) I am going to need to do this every time I analyze a recording that I make so the process needs to be automated.

    Suggestions?

    Thanks,

    Paul

    #9106
    Bernhard KantzBernhard Kantz
    Moderator

    Maybe, the following approach makes sense for this application:

    Use the FPScript functions UpperEnvelope and LowerEnvelope, to compute the enevelopes of the signal, re-sample them with the original X-data and then form the arithmetic mean (L + H) / 2. Substract this from your data to perform the de-trending.

    support@weisang.com

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