netpyne.analysis.utils

Module for utilities to help analyze and plot results

Functions:

exception(function)

Function for/to <short description of netpyne.analysis.utils.exception>

getCellsInclude(include[, sim])

Function for/to <short description of netpyne.analysis.utils.getCellsInclude>

getCellsIncludeTags(include, tags[, tagsFormat])

Function for/to <short description of netpyne.analysis.utils.getCellsIncludeTags>

syncMeasure()

Function for/to <short description of netpyne.analysis.utils.syncMeasure>

invertDictMapping(d)

Function for/to <short description of netpyne.analysis.utils.invertDictMapping>

getSpktSpkid([cellGids, timeRange, sim])

Function for/to <short description of netpyne.analysis.utils.getSpktSpkid>

checkAvailablePlots([requireCfg])

Function to check which plots are available for the GUI

netpyne.analysis.utils.exception(function)[source]

Function for/to <short description of netpyne.analysis.utils.exception>

Parameters

function (<type>) – <Short description of function> Default: required

netpyne.analysis.utils.getCellsInclude(include, sim=None)[source]

Function for/to <short description of netpyne.analysis.utils.getCellsInclude>

Parameters
  • include (<type>) – <Short description of include> Default: required

  • sim (<None?>) – <Short description of sim> Default: None Options: <option> <description of option>

netpyne.analysis.utils.getCellsIncludeTags(include, tags, tagsFormat=None)[source]

Function for/to <short description of netpyne.analysis.utils.getCellsIncludeTags>

Parameters
  • include (<type>) – <Short description of include> Default: required

  • tags (<type>) – <Short description of tags> Default: required

  • tagsFormat (<None?>) – <Short description of tagsFormat> Default: None Options: <option> <description of option>

netpyne.analysis.utils.syncMeasure()[source]

Function for/to <short description of netpyne.analysis.utils.syncMeasure>

netpyne.analysis.utils.invertDictMapping(d)[source]

Function for/to <short description of netpyne.analysis.utils.invertDictMapping>

Parameters

d (<type>) – <Short description of d> Default: required

netpyne.analysis.utils.getSpktSpkid(cellGids=[], timeRange=None, sim=None)[source]

Function for/to <short description of netpyne.analysis.utils.getSpktSpkid>

Parameters
  • cellGids (list) – <Short description of cellGids> Default: [] Options: <option> <description of option>

  • timeRange (<None?>) – <Short description of timeRange> Default: None Options: <option> <description of option>

  • sim (<None?>) – <Short description of sim> Default: None Options: <option> <description of option>

netpyne.analysis.utils.checkAvailablePlots(requireCfg=False)[source]

Function to check which plots are available for the GUI

Returns

  • requireCfg (<Bool>)

  • <Whether a plot configuration in sim.cfg.analysis is required to return True for each plot>

  • **Default (*** False*)

Returns

<Keys indicate the name of the analysis function and values whether they are available or not (Boolean)>

Return type

dict