netpyne.analysis.traces
Module for analysis and plotting of traces-related results
Functions:
|
Function for/to <short description of netpyne.analysis.traces.plotTraces> |
|
Function for/to <short description of netpyne.analysis.traces.plotEPSPAmp> |
- netpyne.analysis.traces.plotTraces(include=None, timeRange=None, oneFigPer='cell', rerun=False, title=None, subtitles=True, overlay=False, colors=None, ylim=None, axis=True, legend=True, scaleBarLoc=1, figSize=(10, 8), fontSize=12, saveData=None, saveFig=None, showFig=True)[source]
Function for/to <short description of netpyne.analysis.traces.plotTraces>
- Parameters:
include (list) – Populations and cells to include in the plot. Default:
['eachPop', 'allCells']plots histogram for each population and overall average Options:['all']plots all cells and stimulations,['allNetStims']plots just stimulations,['popName1']plots a single population,['popName1', 'popName2']plots multiple populations,[120]plots a single cell,[120, 130]plots multiple cells,[('popName1', 56)]plots a cell from a specific population,[('popName1', [0, 1]), ('popName2', [4, 5, 6])], plots cells from multiple populationstimeRange (list [start, stop]) – Time range to plot. Default:
Noneplots entire time range Options:<option><description of option>oneFigPer (str) – Whether to plot one figure per cell (showing multiple traces) or per trace (showing multiple cells). Default:
'cell'Options:'trace'rerun (bool) – Rerun simulation so a new set of cells gets recorded. Default:
FalseOptions:<option><description of option>title (str) – Set the whole figure title, works only with
oneFigPer='cell'. Default:NoneOptions:<option><description of option>overlay (bool) – Whether to overlay plots or use subplots. Default:
Trueoverlays plots. Options:<option><description of option>colors (list) – List of normalized RGB colors to use for traces. Default:
Noneuses standard colors Options:<option><description of option>ylim (list [min, max]) – Sets the y limits of the plot. Default:
NoneOptions:<option><description of option>axis (bool) – Whether to show axis or not; if not, then a scalebar is included. Default:
TrueOptions:<option><description of option>scaleBarLoc (int) – Sets the location of the scale bar (added when axis=False). Default:
1Options:1upper right,2upper left,3lower left,4lower right,5right,6center left,7center right,8lower center,9upper center,10centerfigSize (list [width, height]) – Size of figure in inches. Default:
(10, 8)Options:<option><description of option>fontSize (int) – Font size on figure. Default:
12Options:<option><description of option>saveData (bool or str) – Whether and where to save the data used to generate the plot. Default:
FalseOptions:Trueautosaves the data,'/path/filename.ext'saves to a custom path and filename, valid file extensions are'.pkl'and'.json'saveFig (bool or str) – Whether and where to save the figure. Default:
FalseOptions:Trueautosaves the figure,'/path/filename.ext'saves to a custom path and filename, valid file extensions are'.png','.jpg','.eps', and'.tiff'showFig (bool) – Shows the figure if
True. Default:TrueOptions:<option><description of option>
- netpyne.analysis.traces.plotEPSPAmp(include=None, trace=None, start=0, interval=50, number=2, amp='absolute', polarity='exc', saveFig=False, showFig=True)[source]
Function for/to <short description of netpyne.analysis.traces.plotEPSPAmp>
- Parameters:
include (<
None?>) – <Short description of include> Default:NoneOptions:<option><description of option>trace (<
None?>) – <Short description of trace> Default:NoneOptions:<option><description of option>start (int) – <Short description of start> Default:
0Options:<option><description of option>interval (int) – <Short description of interval> Default:
50Options:<option><description of option>number (int) – <Short description of number> Default:
2Options:<option><description of option>amp (str) – <Short description of amp> Default:
'absolute'Options:<option><description of option>polarity (str) – <Short description of polarity> Default:
'exc'Options:<option><description of option>saveFig (bool) – <Short description of saveFig> Default:
FalseOptions:<option><description of option>showFig (bool) – <Short description of showFig> Default:
TrueOptions:<option><description of option>