Computes a model of a TMS stimulation zone shape (the 3D region that will be reached by the TMS stimulation), and optionally extracts the stimulated cortex region'
' The TMS stimulation zone is modelled as a cone, which parameters may be specified. In future evolutions, the cone model may be replaced by other shapes to get a more realistic model. ''
head_mesh: Head Mesh ( input )Head scalp mesh
landmarks: TMS position file ( optional, input )Landmark points file containing the desired stimulation target point position. This input is optional: if not given, the stimulation position may be specified by the stimulation_position parameter
stimulation_position: Point3D ( input )
cone_mesh: Mesh ( output )The stimulation shape is modelled as a cone, which mesh will be saved in this file
stimulation_zone: Bucket ( optional, output )The stimulation zone is the cortex region within the stimulated cone. The output object is a "bucket" (.bck file): a list of cortex voxels. It can be viewed in Anatomist or easily converted to a volume.
normal_mesh: Mesh ( optional, output )The normal line to the head at the coil stimulation point: it may visually help to align the coil.
target_line_mesh: Mesh ( optional, output )The line between the cortex target and the head projection at the coil stimulation point. This line may be slightly different from the normal line.
base_radius: Float ( input )Radius of the cone at the coil position
depth: Float ( input )TMS stimulation depth (length of the stimulation cone)
normal_radius: Float ( input )The normal direction to the head at the coil position is calculated by averaging it on a small area around the coil position to make it more robust. The normal_radius parameter specifies the radius of this averaging.
grey_matter_mask: Grey White Mask ( optional, input )The grey matter mask is used to get the stimulated cortex zone within the stimulation cone (see stimulation_zone parameter)
view_results: Boolean ( input )If view_results is set to True, result will be shown in Anatomist
Toolbox : TMS
User level : 0
Identifier :
tmsStimulationZone
File name :
brainvisa/toolboxes/tms/processes/tmsStimulationZone.py
Supported file formats :
head_mesh :GIFTI file, GIFTI file, MESH mesh, MNI OBJ mesh, PLY mesh, TRI meshlandmarks :TMS position file, TMS position filecone_mesh :GIFTI file, GIFTI file, MESH mesh, MNI OBJ mesh, PLY mesh, TRI meshstimulation_zone :Bucket, Bucketnormal_mesh :GIFTI file, GIFTI file, MESH mesh, MNI OBJ mesh, PLY mesh, TRI meshtarget_line_mesh :GIFTI file, GIFTI file, MESH mesh, MNI OBJ mesh, PLY mesh, TRI meshgrey_matter_mask :gz compressed NIFTI-1 image, Aperio svs, BMP image, DICOM image, Directory, ECAT i image, ECAT v image, FDF image, FreesurferMGH, FreesurferMGZ, GIF image, GIS image, Hamamatsu ndpi, Hamamatsu vms, Hamamatsu vmu, JPEG image, Leica scn, MINC image, NIFTI-1 image, PBM image, PGM image, PNG image, PPM image, SPM image, Sakura svslide, TIFF image, TIFF image, TIFF(.tif) image, TIFF(.tif) image, VIDA image, Ventana bif, XBM image, XPM image, Zeiss czi, gz compressed MINC image, gz compressed NIFTI-1 image