axon.save

axon.save(save=False, fname='axon.json', extracel_context=False, intracel_context=False, rec_context=False, blacklist=[])[source]

Return axon as dictionary and eventually save it as json file WARNING to use BEFORE stimulation, (for post simulation savings use save_axon_results_as_json on results dictionary

Parameters:
  • save (bool) – if True, save in json files

  • fname (str) – Path and Name of the saving file, by default “axon.json”

Returns:

ax_dic – dictionary containing all information

Return type:

dict