General support for cortical surface meshes
Created on Feb 11, 2012
@author: nick
Functions
from_any(s) | |
generate_bar(start, stop, radius[, poly]) | Generates a bar-like surface |
generate_cube() | Generates a cube with sides 2 centered at the origin. |
generate_plane(x00, x01, x10, n01, n10) | Generates a plane. |
generate_sphere([density]) | Generates a sphere-like surface with unit radius centered at the origin. |
get_sphere_left_right_mapping(surf_left, ...) | finds the mapping from left to right hemisphere and vice versa |
merge(*surfs) | |
normalized(v) | Normalizes vectors |
read(fn) | General read function for surfaces |
reposition_hemisphere_pairs(surf_left, ...) | moves and rotates pairs of hemispheres so that they are facing each |
write(fn, s[, overwrite]) | General write function for surfaces |
Classes
Surface(v[, f, check]) | Cortical surface mesh |