@pimms.param<EOL><INDENT>def faces(tris):<DEDENT>
tris = np.asarray(tris, dtype=np.int)<EOL>if tris.shape[<NUM_LIT:0>] != <NUM_LIT:3>: tris = tris.T<EOL>if tris.shape[<NUM_LIT:0>] != <NUM_LIT:3>: raise ValueError('<STR_LIT>')<EOL>return pimms.imm_array(tris)<EOL>
mdl.faces is the triangle matrix for the given retinotopy mesh model mdl.