simnibs.write_geo_spheres

simnibs.write_geo_spheres(positions, fn, values=None, name='', mode='bw')

Writes a .geo file with spheres in specified positions

Parameters
  • positions (nx3 ndarray:) – position of spheres

  • fn (str) – name of file to be written

  • values (nx1 ndarray (optional)) – values to be assigned to the spheres. Default: 0

  • name (str (optional)) – Name of the view

  • mode (str (optional)) – Mode in which open the file. Default: ‘bw’