User Tools

Site Tools


visual3d:documentation:pipeline:metric_commands:metric_event_sequence_count

This is an old revision of the document!


<code>\\ metric_event_sequence_count\\ ! /result_metric_folder=the resulting folder of the metric \\ /result_metric_name= the resulting name of the metric \\ ! /time_interval= the number of event sequences which occur\\ within a time interval\\ /event_sequence= the event sequence to search for and count \\ /exclude_events= don't count a sequence that contains this \\ event \\ ! /generate_count_total_in_global= create a global count\\ over the active files\\ ;\\ </code> | eventssequencecountdlg.png| \\ \\ ===== time_interval ===== **the time_interval parameter can be used to count the number of events that occur within a specific interval.** ==== command setup ==== **if a trial is 20 seconds long, and a 5.0 second interval is specified, the result will be 4 metrics. each metric will contain the number of event sequences which occur within each 5.0 second window.** |<code>\\ metric_event_sequence_count\\ ! /result_metric_folder= processed\\ /result_metric_name= lswing_count_int\\ /time_interval= 5.0\\ /event_sequence= the event sequence to search for and count \\ /exclude_events= don't count a sequence that contains this \\ event \\ ! /generate_count_total_in_global= create a global count\\ over the active files\\ ;\\ </code> | eventssequencecount_interval.png| ==== result ==== |**when using a 5 second interval on a 20 second trial, the result will be four metrics (20/5).**\\ \\ (1) the first metric will contain the number of times the sequence occurs during the first 5 seconds of the trial\\ (2) the second metric will contain the number of times the sequence occurs during the 5 - 10 second interval of the trial\\ (3) the third metric will contain the number of times the sequence occurs during the 10 - 15 second interval of the trial\\ (4) the fourth metric will contain the number of times the sequence occurs during the 15 - 20 second interval of the trial\\ \\ **note:** if the event sequence occurs between two intervals (lto occurs at 4 sec and lhs occurs at 6 sec), this sequence will be included in interval 1. | eventssequencecount_interval_result.png| }}}}

visual3d/documentation/pipeline/metric_commands/metric_event_sequence_count.1718801479.txt.gz · Last modified: 2024/06/19 12:51 by sgranger