ERTS Library
This is a Perl module that is capable of reading any ERTS file and breaking it down into parts for easy parsing by a program. This will mean that it will be easy to have one program that is able to process results that may be different for different programs.
This is part of an ERTS file:
; ERTSVIPL : V3.36 ====================================================== ; License : University of Otago, Department of Psychology ; Session : Left-Right Hand Selection ; Date : Wednesday, 1. October 2003 ; Time : 15:04:55 ; Call : /E bim.exp ; Monitor : VGA 640x480 (235x170 mm) with 60.0 Hz ; ------------------------------------------------------------------------ SessID SNo Blk Time Spec Trl F1 Ans R1 K1 Block Trial V1 V2 s01bim 1 1 15.05 1 1 1 1 2637.2 E3 HANDS SHOWITE DISLA E2 s01bim 1 1 15.05 20 2 2 1 1126.1 E3 HANDS SHOWITE PUNRE E3 s01bim 1 1 15.05 12 3 2 1 717.7 E3 HANDS SHOWITE PENRE E3
The module will read this file and create a hash that is (for this example):
Version => 'ERTSVIPL : V3.36' License => 'University of Otago, Department of Psychology' Session => 'Left-Right Hand Selection' Date => 'Wednesday, 1. October 2003' Time => '15:04:55' Call => '/E bim.exp' Monitor => 'VGA 640x480 (235x170 mm) with 60.0 Hz' Headers => ('SessID','SNo','Blk','Time','Spec','Trl','F1','Ans','R1','K1','Block', 'Trial','V1','V2') Data => ( [SessID => 's01bim', SNo => '1', Blk => '1', Time => '15.05', Spec => '1', Trl => '1', F1 => '1', Ans => '1', R1 => '2637.2', K1 => E3, Block => 'HANDS', Trial => 'SHOWITE', V1 => 'DISLA', V2 => 'E2'], [SessID => 's01bim', SNo => '1', Blk => '1', Time => '15.05', Spec => '20', Trl => '2', F1 => '2', Ans => '1', R1 => '1126.1', K1 => E3, Block => 'HANDS', Trial => 'SHOWITE', V1 => 'PUNRE', V2 => 'E3'], ... )
Page last modified on January 12, 2005, at 02:50 AM