| use_eval (long) | use all positions in evaluation eh (function argument) |
| num_pos (long) | number of positions where qrs-positions should be get |
| pos_are_eval_index (long) | positions are index to events in eh |
| pos (long array) | postions |
| pos_name (string) | name of event-type which holds event positions |
| templ_name (string) | name of event-type which holds template numbers |
| templ_corr (string) | name of event-type which holds template correlation |
| win_before (double) | template-window-size before postion (in seconds) |
| win_after (double) | template-window-size after position (in seconds) |
| accept (double) | treshold which correlation values are accepted |
| slope_accept_low (double) | min-value of slope of regression line |
| slope_accept_high (double) | max-value of slope of regression line |
| num_ch (long) | number of channels used for template creation |
| ch (long array) | list of channesl for which the template should be created |