nerve.save
- nerve.save(fname='nerve.json', extracel_context=False, intracel_context=False, rec_context=False, fascicles_context=True, save=True, _fasc_save=False, blacklist=[])[source]
Save a fascicle in a json file
- Parameters:
fname (str) – name of the file to save the fascicle
extracel_context (bool) – if True, add the extracellular context to the saving
intracel_context (bool) – if True, add the intracellular context to the saving
rec_context (bool) – if True, add the recording context to the saving
fascicles_context (bool) – if True, add the fascicles are fully saved
blacklist (list[str]) – key to exclude from saving
save (bool) – if false only return the dictionary
- Returns:
key_dict – Pyhton dictionary containing all the fascicle information
- Return type:
dict