Aggregator

With Aggregator, you can store a collection of single values. The entire collection is identified by a unique name. You can apply several aggregating functions to the collection. It is not possible to select a single value from the collection.

The Aggregator provides the following functions:

  • Sum()

    This function returns the sum of all values currently contained in the collection.

  • Avg()

    This function returns the average of all values currently contained in the collection.

  • Stdev()

    This function returns the standard deviation of all values currently contained in the collection.

  • Prsd()

    This function returns the relative standard deviation (Stdev/Avg*100) of all values currently contained in the collection.

  • Min()

    This function returns the lowest value currently contained in the collection.

  • Max()

    This function returns the highest value currently contained in the collection.

  • Count()

    This function returns the number of elements in the collection.

  • Clear()

    This function deletes all values from the collection. At the same time, it returns the number of deleted values.

Example

The aggregator RetTimeSSRSD1 can contain all retention times of a compound in different injections of the SSRSD1 sample. You can return the average retention time with Avg(RetTimeSSRSD1), or the standard deviation with StDev(RetTimeSSRSD1).

Example

The aggregator AvgRetTimes can contain the average retention times of the same compound in different samples. You can return the standard deviation on the average values with StDev(AvgRetTimes).