Example #1
0
 public static ExportRun Create(Run run, ExportSettings exportSettings)
 {
     if (run.Trial.Session.BehavioralTest.BehavioralTestType == BehavioralTestType.Fst)
     {
         return new ExportFstRun(run, exportSettings);
     }
     return new ExportRun(run, exportSettings);
 }
Example #2
0
        public ExportTimeBin(Run run, ExportSettings exportSettings, List<RunEvent> stateRunEventsInRange)
        {
            this.run = run;
            this.exportSettings = exportSettings;
            this.stateRunEventsInRange = stateRunEventsInRange;

            if (exportSettings.TimeBinDuration <= 0)
            {
                throw new IndexOutOfRangeException(String.Format("TimeBin duration: {0} out of range",
                    exportSettings.TimeBinDuration));
            }
            this.binDuration = exportSettings.TimeBinDuration * 1000;

            initializeTimeBins();
        }
Example #3
0
 protected ExportRun(Run run, ExportSettings exportSettings)
 {
     this.run = run;
     this.exportSettings = exportSettings;
 }
Example #4
0
 public ExportFstRun(Run run, ExportSettings exportSettings)
     : base(run, exportSettings)
 {
 }
Example #5
0
 protected ExportRun(Run run, ExportSettings exportSettings)
 {
     this.run            = run;
     this.exportSettings = exportSettings;
 }
Example #6
0
 public Exporter(Trial trial, ExportSettings exportSettings = null)
 {
     this.exportSettings = (null != exportSettings) ? exportSettings : new ExportSettings(trial);
 }