In file No file:

void SetColumn (Iterator sourceBegin, Iterator sourceEnd, const Column& column, const Function& expression, const Condition& cond, const TimeWindow& window = TimeWindow (1.))

Set column to a new value of selected events

Documentation

Set column to a new value. Loops through the list of events and calculates the expression for each event which fullfills the condition. The specified column is then set to the new value. The column name can be either a string or a column class.

Example:

    // Calculate the significance from the amplitude and sigma
    // for all burts events
    Set s1 ("input.xml");
    SetColumn (s1.Begin(), s1.End(), 
              Column ("Significance"),
              Column ("Amplitude") / Column ("Sigma"),
              Filter ("burst::*"));
    

Returns:
void
Parameters:
sourceBegin - Start iterator of event list
sourceEnd - End iterator of event list
column - Name of column/Column object
expression - New column value
cond - Event condition
window - Time window for analysis

alphabetic index hierarchy of classes


Please send questions and comments to sigg_d@ligo-wa.caltech.edu


generated by doc++