baseline average

DataGraph Forums General Getting Started baseline average

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #9577
    seb
    Participant

      Hi,

      I’m trying to extract the average value of the first part (100 points) of a trace (1500 points in total) to use it on a simple equation aiming to normalize all values in the trace by the initial baseline. (value-average)/average.

      Anyone have a simple solution to this?

      #9579
      dgteam
      Moderator

        You can create a Mask column that includes only the first points. Then use a Number from column variable to calculate the average.

        Here is a simple example where the first 10 points are the baseline.  Currently the Mask column needs a column with the row numbers for this to work.  You can add an expression column to create as shown here.

        Baseline1

        Add the Mask column using the Other menu.

        Baseline2

        Once the Mask is populated.  The Number from Column variable is added using the Other menu in the variables section of the user interface.

        Here the Mask column is added along with the variable.  Also, the data is normalized using an expression column.  We also plotted the normalized data so you can see the result and Lines command draws the y-line at zero.

        Baseline3

        Does this help?

         

        #9580
        seb
        Participant

          Worked like a charm. thanks!

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

        DataGraph Forums General Getting Started baseline average