ParseFilename: Extract information from a filename

Description Usage Arguments Value

Description

The basename of a file in a Looking While Listening task conforms to the naming convention: [Task]_[BlockNo]_[SubjectID]. Block names are reduced to just the integer value, i.e., "Block1" becomes 1.

Usage

1
ParseFilename(filename)

Arguments

filename

a filename with a pattern like [Task]_[BlockNo]_[SubjectID]

Value

a list with Task, Block,Subject and Basename fields.


tjmahr/lookr documentation built on May 31, 2019, 3:41 p.m.