simnibs.write_geo_text

simnibs.write_geo_text(positions, text, fn, name='', mode='bw')

Writes a .geo file with text in specified positions

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

  • text (list of strings) – Text to be printed in each position

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

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