Perl Utilities

Download Perl Now! All the Perl that's Practical to Extract and Report

Perl was my favourite programming language, the first scripting language that I used daily from 1992--2004. It has many of the features of the most powerful languages available, without some of the more serious headaches. It is highly portable and reasonably fast for an interpreted language. A perl interpreter is available for almost any platform. Another useful language in the same genre as Perl is Python, which has recently gained my favour. Perl has often allowed me to create useful automated analysis scripts for processing ERP data or doing simple file format conversions. Please download these tools and run with the -h option for help. Program names are intended to be descriptive of their functions.

All scripts are provided with no implied or express warranties. Please use them and distribute them as you will, entirely at your own risk (please abide by the GPL if you redistribute these utilties, see http://www.gnu.org). All scripts have been developed and tested on limited dataset specifications, please be careful to verify operations on your data.

CVS Download from eeg.sourceforge.net

A CVS client is required to checkout files from the CVS archive. CVS clients are available for every major operating system, eg:

To view the modules in this project, use the www interface to the CVS repository. The module to check out is 'perl'.

On linux or *NIX systems, the CVS repository can be checked out through anonymous (pserver) access with the following instructions (when prompted for a password, simply press Enter).

cvs -d:pserver:anonymous@eeg.cvs.sf.net:/cvsroot/eeg login
# Press enter here
cvs -z3 -d:pserver:anonymous@eeg.cvs.sf.net:/cvsroot/eeg co -P perl

Updates from within the module's directory do not need the -d parameter.

Looping

Useful for all scripts, to organise input/output paths and filenames etc, eg:

loop_col-remove.pl

Neuroscan ASCII Tools

scan-ascii.pl
scan-export.pl
scan-variance.pl

Electrode File Tools (3DSPACE & EMSE)

elec-avg.pl
elec-elp.pl
elec-reorder.pl
elp_to_3Dspace_labels.pl
elp_to_3Dspace_ordered.pl

Text Data Matrix Tools

rowXcol.pl
columns.pl
rows.pl
row2col.pl
rotate-ascii-matrix.pl
col-remove.pl
col-select.pl

Peak Finding Tools

region.pl
region_peaks.pl
region_peaks_avg.pl
region_point_avg.pl
region_points_avg.pl
region_sample.pl

FileName Tools (esp. useful under DOS)

rename_case.pl
rename_case_dos.pl
rename_dos.pl
rename_IMA.pl
rename_MRI.pl

Alphabetical

EMSE42_conv.pl
EMSE_conv.pl
EMSE_dif.pl
col-remove.pl
col-select.pl
columns.pl
correct_bad_elec.pl
correct_bad_elec_replace.pl
create_difwaves.pl
create_volumes.pl
elec-reorder.pl
elec_avg.pl
elec_elp.pl
elec_max_at_points.pl
elec_nn.pl
elp_to_3Dspace_labels.pl
elp_to_3Dspace_ordered.pl
exact.values.pl
files.pl
fmr_extract.pl
gentask_seq_cleanup.pl
gentask_seq_rand(SOA).pl
gentask_seq_stim_duration.pl
html_linkwrap_filelist.pl
loop_avg2asc.pl
loop_avg2trials.pl
loop_avg2trials.pl
loop_col-remove.pl
loop_col-select.pl
loop_dif_peaks.pl
loop_max_elecs.pl
loop_peaks_average.pl
loop_region_peaks.pl
loop_region_points_avg.pl
loop_row2col.pl
loop_row_order.pl
make_runs.pl
make_seq.pl
mathears.pl
maxmin.pl
maxmin_win.pl
mean_win.pl
nfiles.pl
perlman.pdf
rand.pl
rand_num.pl
random_words.pl
region.def
region.pl
region_diverge.def
region_diverge.pl
region_diverge_exact.pl
region_peaks.pl
region_peaks_avg.pl
region_point_avg.pl
region_points_avg.pl
region_sample.pl
rename.csh
rename_IMA.pl
rename_MRI.pl
rename_case.pl
rename_case_dos.pl
rename_dos.pl
rotate_ascii_matrix.pl
row2col.pl
rowXcol.pl
rows.pl
scan-ascii.pl
scan-export-quick.pl
scan-export.pl
scan-se.pl
scan-variance.pl
sort-epochs.pl
sort_dif.pl
sort_var.pl
split_seq.pl
t-test.values.pl
test.pl
test_idl.pl
wrapman.pl