@pimms.param<EOL><INDENT>def chirality(ch):<DEDENT>
if ch is None: return None<EOL>ch = ch.lower()<EOL>if ch != '<STR_LIT>' and ch != '<STR_LIT>':<EOL><INDENT>raise ValueError('<STR_LIT>')<EOL><DEDENT>return ch<EOL>
cortex.chirality gives the chirality ('lh' or 'rh') for the given cortex.