netpyne.sim.save module
Module related to saving
- netpyne.sim.save.saveJSON(fileName, data, checkFileTimeout=0)[source]
Function for/to <short description of netpyne.sim.save.saveJSON>
- Parameters:
fileName (<type>) – <Short description of fileName> Default: required
data (<type>) – <Short description of data> Default: required
checkFileTimeout (timeout (sec)) – if >0 then will check if file exists before continuing at 0.1 ms intervals for the timeout specified in secs
- netpyne.sim.save.saveData(include=None, filename=None, saveLFP=True)[source]
Function to save simulation data to file
- Parameters:
include (list) – What data to save Default:
sim.cfg.saveDataInclude
Options: The list may include any combination of the following:'simData'
,'simConfig'
,'netParams'
,'net'
.filename (str) – Path and file name to save data to Default:
None
- netpyne.sim.save.distributedSaveHDF5()[source]
Function for/to <short description of netpyne.sim.save.distributedSaveHDF5>
- netpyne.sim.save.compactConnFormat()[source]
Function for/to <short description of netpyne.sim.save.compactConnFormat>
- netpyne.sim.save.intervalSave(simTime, gatherLFP=True)[source]
Function to save data at a specific time point in the simulation
- Parameters:
simTime (number) – The time at which to save the data Default: required
- netpyne.sim.save.saveDataInNodes(filename=None, saveLFP=True, removeTraces=False, saveFolder=None)[source]
Function to save simulation data by node rather than as a whole
- Parameters:
filename (str) – The name to use for the saved files. Default:
None
saveLFP (bool) – Whether to save any LFP data. Default:
True
saves LFP data. Options:False
does not save LFP data.removeTraces (bool) – Whether to remove traces data before saving. Default:
False
does not remove the trace data. Options:True
removes the trace data.saveFolder (str) – Name of the directory where data files will be saved. Default:
None
saves to the default directory.