FlexPro
HistoryBase
Engineering
Training
Downloads
FlexPro Support
Knowledge
Community
About us
References
Jobs
General Contact
List Of Retailers
FlexPro Support
EN
DE
FR
Placeholder
Products and Solutions
Support and Downloads
Company
Magazine
Contact Us
Language
MyWeisang

Account settings

Topic

Volume from Flow signal

Home page Community General Volume from Flow signal

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #34166

    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

    #34164
    Bernhard Kantz
    Participant

    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.

    #34163

    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

    #34165
    Bernhard Kantz
    Participant

    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

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