eprime - E-Prime logfile parsing

Provides functions to parse the text-file logs produced by E-Prime experiments

neural.eprime.parse_frames(filename)[source]

quick and dirty eprime txt file parsing - doesn’t account for nesting

Example usage:

for frame in neural.eprime.parse_frames("experiment-1.txt"):
    trial_type = frame['TrialSlide.Tag']
    trial_rt = float(frame['TrialSlide.RT'])
    print '%s: %fms' % (trial_type,trial_rt)
neural.eprime.read_header(filename)[source]

returns a dictionary of values in the header of the given file