PK qBDD|HF F spykeutils-0.4.1/searchindex.jsSearch.setIndex({envversion:42,terms:{represent:2,all:[2,5,6,3],code:[2,3],edg:6,illustr:6,symmetrickernel:2,four:6,known:[2,5],scalar:2,t_stop:[2,6],skip:[2,6],follow:[2,5,6,3],research:7,evalu:2,millisecond:[2,3],filter_area_fract:2,accur:2,depend:[2,5,3],waveform:[2,6,1],sensit:2,easiest:5,neurodebian:5,binning_param:2,deviat:2,calculate_refperiod_fp:2,recording_channel_group:3,under:2,norm:2,hill:2,deserialize_paramet:3,everi:[2,3],string:[2,3],fals:[2,6,3],account:2,discretize_kernel:2,util:1,consider_guiparam:3,novel:2,veri:[2,6],affect:3,brows:5,s00521:2,max_rat:2,border_correct:2,analog_signal_arrays_by_channelgroup:3,epoch_arrai:[2,3],level:2,independ:2,button:1,list:[2,6,3],fewer:2,correct:2,as_kernel_of_s:2,vector:2,convolv:[2,6],section:5,small:[6,1],analogsignalarrai:[2,1,3],refperiod:2,pleas:[2,5],causaldecayingexpkernel:2,properti:2,slower:2,unnorm:2,natur:2,direct:2,second:[2,1,3],cost:2,pass:2,download:0,further:[2,3],interspik:6,append:6,victor:2,even:2,neo:[0,1,2,3,5,6],what:3,appear:1,compar:2,defin:[2,3],neg:2,sum:2,calcul:[2,1],spikes_by_unit:3,uniform:2,current:[2,1,5,3],delet:2,spykeview:3,analog_signal_arrays_by_segment_and_channelgroup:3,"new":[2,1,3],shimazaki:2,train_wav:6,method:[2,1,3],acesss:3,full:2,gener:[2,6,1],error:2,boolitem:3,len:2,middl:1,let:2,ubuntu:5,reinsert:2,coincid:2,becom:[6,1],legend:1,valu:[2,6,3],convert:[2,1,3],mailinglist:0,forum:0,hdf5:3,shift:2,correlogram:[2,1],larger:[2,6],gaussiankernel:2,progressbar:1,precis:2,overlap_fp_fn:2,doctest:6,poisson:[2,6,1],extrem:2,implement:[2,1,7,3],some_tim:3,overrid:3,tau:2,appli:2,refresh_view:3,prefer:6,apt:5,index2:2,bin_siz:[2,6],visibl:[2,6],instal:[0,6,3],total:2,causal:2,unit:[2,6,3],jan:7,from:[2,1,5,6,3],describ:2,would:[2,6,1],memori:2,peri:[2,6],shinomoto:2,dure:2,next:6,implic:2,process:[2,7,6,3],call:[6,3],recommend:3,no_channelgroup:3,type:[2,3],administr:5,more:[2,3],sort:[2,5,1],presort:2,desir:2,get_nam:3,relat:2,no_unit:3,berlin:7,train:[2,1,6,7,3],indic:[2,3],neurosci:[2,7],obj:2,given:[2,3],cach:1,must:2,none:[2,3],analyt:2,data_provid:2,restor:3,setup:5,work:[5,6,3],annot:2,minimum:[2,1],can:[0,1,2,3,5,6],learn:[2,5],norm_dist:2,purpos:[6,3],def:3,instantan:[2,6],control:2,cancelexcept:2,encapsul:3,give:[2,6,3],superposit:2,sudo:5,share:2,accept:2,high:2,sourc:[2,3],want:[2,5,6,3],serial:3,made:3,occur:2,contribut:7,delai:2,alwai:5,spike_density_estim:[2,6],end:2,divid:2,anoth:2,data_dir:3,length:2,write:3,how:5,sig:6,pure:5,instead:[2,1,5,6,3],simpl:2,sin:6,updat:3,pink:6,product:2,kernel_func:2,overridden:3,clone:5,earlier:2,synchroni:2,befor:[2,5],mai:2,multipl:[2,6,3],varianc:[2,1],data:[2,3],averag:2,mous:1,github:5,practic:2,third:2,spyke:[0,1,2,3],classmethod:3,"pr\u00f6pper":7,minim:2,paiva:2,correspond:2,element:[2,3],maximum_kernel:6,inform:[2,7,3],environ:3,allow:2,exclus:2,first:[2,6,3],order:2,origin:2,over:2,move:[2,1],becaus:[6,3],outer:2,report:[2,3],paper:2,privileg:5,same:[2,6,3],hierarchi:[2,1,6,3],boundary_enclosing_at_least:2,still:2,dynam:2,paramet:[2,1,5,3],perfect:2,conjunct:0,concatenate_spike_train:2,group:[0,7,2],directli:[2,5,3],exact:2,ignores_cancel:2,epoch:[2,3],relev:3,neurotechnolog:2,platform:0,window:6,complex:2,decai:2,cross:2,therefor:[2,5,6],might:[2,5],easier:2,weber:2,non:3,scipi:[2,5,6],"return":[2,1,6,3],greater:2,thei:[2,5,3],python:[0,5,3],hunter:2,overestim:2,initi:1,st_convolv:2,spike_amplitude_histogram:2,half:[2,3],now:[6,1],discuss:0,assess:[2,1],max_lag:2,name:[2,3],sampling_r:[2,6],spike_train_to_spik:2,refresh:[1,3],extract_spik:2,separ:[2,6],easili:3,unitquant:2,mode:[2,1],each:[2,6],debug:2,found:2,complet:[2,6],gui:[0,2,3],mean:[2,1],domain:2,just:[2,3],weight:2,analog_signals_by_segment_and_channel:3,selection_block:3,gaussian:[2,5,6,1],wrap:2,set_statu:2,"static":2,iter:2,dauwel:2,our:6,happen:6,extract:[2,3],event:[2,3],special:2,"try":2,shown:[2,6],referenc:2,space:2,area_fract:2,crosscorrelogram:2,robert:7,remove_half_orphan:2,content:[0,5],suitabl:3,print:3,formula:2,conversion_mod:3,prewhiten:[2,1],matric:2,integr:2,lag:2,navig:0,advanc:2,get_refperiod_viol:2,infin:2,standard:2,base:[0,6,2,3],york:2,dictionari:[2,6,3],usual:[2,6],releas:1,index1:2,afterward:[2,3],shortest:2,thrown:2,save_guiparam:3,frequenc:2,could:2,pictur:6,synchron:2,round:6,filter:2,isi:1,propos:2,variance_explain:2,assign:2,lambda:6,oper:[2,3],dimens:2,rang:[2,6],render:2,kernel:[2,6,1],onc:[2,5],arrai:[2,6,3],bar_plot:6,qualiti:[2,5,1],number:2,system:2,instruct:5,alreadi:[2,3],done:2,least:2,stabl:5,open:[6,3],spiketrain:[2,6,3],size:[2,6,1],differ:[2,3],"long":2,returnd:3,exponenti:2,associ:3,caught:2,smoother:6,sometim:2,construct:2,stimulu:[2,6],attach:[2,3],toi:6,master:5,demonstr:6,white:2,cite:2,store:3,inner:2,maximum_spike_train_interv:2,consol:[2,3],option:[2,1,5,3],relationship:[2,6],especi:2,scikit:5,park:2,specifi:[2,1,3],part:[5,3],enclos:2,too:[2,6,1],mostli:[2,3],off:2,exactli:2,than:2,remove_from_hierarchi:2,include_array_epoch:3,serv:3,serialize_paramet:3,stg:6,houghton:2,provid:[2,1,3],hdf5io:1,remov:[2,1,3],neural:[2,7],rate:[2,6],structur:6,"final":6,purpura:2,epoch_array_to_epoch:2,str:[2,3],were:[2,6],posit:2,unittim:2,half_width:2,"function":[2,1,5,6,3],comput:[2,5,7],no_seg:3,per_second:2,viewer:[0,1,2,3],respons:2,ani:2,titl:2,is_symmetr:2,shell:5,have:[2,1,5,3],tabl:3,need:[2,3],been:[2,3],properli:1,kernel_discretization_param:2,border:2,analog_signals_by_seg:3,startplugin:1,squar:[2,1],moreov:2,aligned_spike_train:2,rproepp:5,note:[2,6],also:[2,5,6,3],discret:2,take:[2,5,6],which:[2,6,3],shortli:2,van_rossum_multiunit_dist:2,noth:2,singl:2,gen_homogeneous_poisson:[2,6],compat:1,begin:2,copi:[2,3],distribut:2,num_spik:2,normal:2,setuptool:5,rectangularkernel:2,object:[2,1,5,6,3],spykeplugin:[1,3],most:[2,5,6,3],spike_train:[2,6,3],regular:[6,3],pair:2,segment:[2,1,6,3],"class":[2,1,3],homogen:[2,6],doi:2,neuro:2,later:2,cover:2,spikes_by_unit_and_seg:3,spike_trains_by_seg:3,dummi:[2,3],cortex:2,determin:[2,1,3],latest:5,boundari:2,victor_purpura_multiunit_dist:2,index:[0,5,2,3],show:[2,6,1],opposit:2,event_array_to_ev:2,area:[2,6],find:[2,6],involv:1,absolut:2,onli:[2,1,6,3],slow:2,randn:6,nois:[2,6],explain:[2,1],configur:[5,3],analog_signal_arrays_by_seg:3,data_provider_neo:3,should:[2,6,3],optimal_gauss_kernel_s:2,analog_signals_by_channel_and_seg:3,dict:[2,3],analyz:[0,6],spikes_by_segment_and_unit:3,factor:2,include_array_ev:3,folder:[5,3],psth:2,data_dict:3,visual:[2,3],count:[2,1],st_norm:2,variou:1,get:[2,5],familiar:5,express:2,stop:2,cheaper:2,cannot:3,num_step:2,progress:[2,3],increas:2,recalcul:2,symmetr:2,requir:[0,2],bar:[6,1],cut_off:6,yield:2,"public":1,remot:3,statist:2,contain:[2,5,6,3],where:[2,6,3],view:[1,3],conform:3,autocorrel:2,set:[2,3],schreiber:2,kernelfromfunct:2,maximum:2,datatyp:3,eviron:3,see:[2,5],result:[2,5,6,3],arg:2,close:[2,3],gen_inhomogeneous_poisson:[2,6],analog:[2,6,3],statu:2,hunter_milton_similar:2,kei:[2,3],pattern:2,review:2,inaccur:2,label:[2,3],between:[2,6],"import":[6,3],kreuz:2,rate_correct:2,attribut:3,altern:5,assumpt:2,parent:2,numer:2,weak:6,extens:1,lazi:1,labeled_ev:3,here:[2,6],otherwis:2,recording_channel:3,purpl:6,summed_dist_matrix:2,popul:2,both:[2,6,3],last:2,get_paramet:3,analysisplugin:3,equal:2,tempor:2,aronov:2,triangularkernel:2,equat:2,mani:[2,5,6],sklearn:2,com:[0,5],"default":[2,1,5,3],load:[1,6,3],point:[2,3],instanti:3,overview:5,period:2,normalization_factor:2,empti:[2,3],suppli:3,cancel:2,respect:[2,5,3],trust:2,assum:2,esim:6,quit:2,vialatt:2,cauchi:2,milton:2,event_arrai:[2,3],numpi:2,invers:2,laplacian:2,sinc:6,no_channel:3,much:2,besid:2,interpret:2,timelag:2,certain:[2,1,3],addit:[2,1,5,3],valueerror:2,regul:2,spike_trains_by_unit_and_seg:3,fire:[2,6],persist:3,logspac:6,search:0,argument:2,spikes_by_seg:3,togeth:2,func:2,analog_signals_by_channel:3,spykeutil:7,present:[2,5,3],"case":[2,5,6],refractori:2,multi:[0,2],main:3,look:[5,6],guidata:3,quantiti:[2,5,6],include_waveform:2,plugin:2,durat:2,euclidean:2,"while":[2,6],pairwis:2,abov:2,analog_sign:3,pytabl:[5,3],exist:[2,3],margin:6,bin:[2,6,1],cs_dist:2,helper:1,best:2,dataproviderneo:3,metric:[2,7,1],neuron:[2,6],them:5,physic:2,cluster:[2,5,1],floatitem:3,itself:0,new_statu:2,sever:2,st_dict:6,decor:2,proport:2,develop:5,trial:[2,6],perform:[2,3],make:5,belong:[2,3],eventarrai:[2,3],sqrt:2,progressind:[2,3],member:[2,3],uniform_y_scal:2,spykeexcept:2,instanc:2,descend:2,document:1,start:[2,6,3],pan:1,higher:2,http:[0,5],closest:2,again:[2,6],optim:[2,6,1],effect:2,covari:2,rais:2,user:[2,5],improv:1,typic:2,recent:3,lower:[2,3],appropri:3,kept:2,center:7,framework:0,whole:2,thu:2,well:[2,6],inherit:3,without:[2,1,3],exampl:[2,3],command:[5,3],thi:[2,5,6,3],choos:6,academ:2,dimension:2,left:2,collapsed_spike_train:2,distanc:2,identifi:3,entri:[2,3],execut:[5,3],less:2,when:[2,1,3],obtain:[2,3],detail:2,align:2,shape:[2,6],apply_to_dict:2,simultan:2,speed:1,network:2,cut:2,easi:5,except:2,param:3,script:[1,3],add:6,other:[2,3],densiti:[2,1],input:2,save:[1,3],st_inner:2,applic:[0,2],ensure_unit_area:2,transpar:1,read:3,regard:2,print_mor:3,sweep:2,arrari:2,grid:1,know:2,press:2,tick:2,color:1,apart:3,insert:2,like:[2,6],specif:2,rossum:2,signal:[2,3],arbitrari:3,dataprovid:[1,3],integ:3,server:3,collect:5,princip:2,victor_purpura_dist:2,schwarz:2,show_waveform:6,fill:2,reassign:2,downward:2,interpol:2,page:[0,5],two:[2,6,3],encount:2,spikes_to_spike_train:2,sampleplugin:3,often:2,manual:6,interv:[2,6],linux:5,some:[2,6,3],self:3,shallow:2,intern:3,sure:5,plugin_framework:3,flatten:2,home:1,linspac:6,analog_signal_arrays_by_channelgroup_and_seg:3,librari:0,scale:2,lead:[2,3],channel:2,event_synchron:2,binned_train:6,definit:3,minimum_spike_train_interv:2,overlap:[2,5],grassberg:2,analog_signal_arrai:3,estim:[2,1],larg:[2,6],select:[1,5,3],necessari:3,three:[2,6],violat:2,bin_spike_train:2,either:2,gosmann:7,core:[2,6,3],who:2,run:2,dataitem:3,plot:2,journal:2,ident:2,usag:[0,6],recordingchannelgroup:3,max_spik:2,step:2,analog_signal_array_to_analog_sign:2,repositori:5,fulli:2,major:1,subtract:2,van_rossum_dist:2,after:[2,1],microvolt:2,comparison:2,about:2,actual:2,similiarili:6,electrophysiolog:[0,6],manag:5,binless:2,includ:[2,6,3],recordingchannel:3,guiqwt:[5,6],inhomogen:[2,6],produc:[2,6],block:[2,3],own:3,effici:2,consid:[2,3],convolut:6,"float":[2,3],easy_instal:5,automat:[2,6,1],dataset:[0,3],down:3,ellipsi:6,num_bin:2,right:5,whiten:2,ensur:3,chang:[2,1,3],your:[2,5,3],per:[2,1],websit:5,git:5,van:2,wai:[2,5],few:2,support:[0,1,6,7,3],transform:2,fast:2,avail:[0,5,1],width:2,interfac:3,low:6,fraction:2,suit:3,gui_data:2,cichocki:2,analysi:[2,5,3],head:5,creation:6,form:2,offer:3,forc:1,tupl:2,spike:[2,1,7,3],triangular:2,t_start:2,histogram:[2,6],sde:6,schreiber_similar:2,link:2,measur:2,delta:2,renam:1,line:[2,1,6,3],"true":[2,6,3],faster:[2,1],info:3,concaten:2,optimize_step:[2,6],consist:[2,1],possibl:[2,1],clearli:6,access:[5,3],smooth:2,displai:6,record:2,below:2,sampl:2,problem:2,similar:[2,6],significantli:1,curv:6,khz:6,analysis_plugin:2,constant:[2,6],creat:[2,7,3],flat:6,"int":[2,3],smoothing_filt:2,"abstract":3,kernel_s:[2,6],censor:2,repres:6,bernstein:7,decreas:2,file:[1,6,3],pip:5,inf:2,doe:2,set_tick:2,probabl:2,incorrect:2,denot:2,readi:[6,3],intact:2,googl:0,laplaciankernel:2,analogsign:[2,1,6,3],total_tim:2,spike_trains_by_unit:3,reassignment_cost:2,dicionari:[6,3],signal_arrai:2,valid:[2,3],bool:[2,3],branch:5,better:3,test:7,quiroga:2,you:[2,5,6,3],spike_trains_by_segment_and_unit:3,grk:7,mock:6,epocharrai:[2,3],sequenc:[2,3],neurophysiolog:[0,2],drift:2,ndarrai:2,from_data:3,embed:2,amplitud:2,debian:5,matrix:[2,1],axi:2,longer:2,algorithm:2,directori:[5,3],align_tim:2,descript:2,set_paramet:3,ignor:[2,3],time:[2,6,3],labeled_epoch:3,scroll:1},objtypes:{"0":"py:module","1":"py:class","2":"py:method","3":"py:function","4":"py:staticmethod","5":"py:exception","6":"py:classmethod"},objnames:{"0":["py","module","Python module"],"1":["py","class","Python class"],"2":["py","method","Python method"],"3":["py","function","Python function"],"4":["py","staticmethod","Python static method"],"5":["py","exception","Python exception"],"6":["py","classmethod","Python class method"]},filenames:["index","changelog","apidoc/spykeutils","apidoc/spykeutils.plugin","apidoc/spykeutils.plot","intro","examples","acknowledgements"],titles:["Welcome to the documentation of spykeutils!","Changelog","API reference","plugin Package","spykeutils.plot package","Requirements","Examples","Acknowledgements"],objects:{"":{spykeutils:[2,0,0,"-"]},"spykeutils.plugin.data_provider":{DataProvider:[3,1,1,""]},"spykeutils.spike_train_metrics":{st_inner:[2,3,1,""],victor_purpura_dist:[2,3,1,""],st_norm:[2,3,1,""],schreiber_similarity:[2,3,1,""],cs_dist:[2,3,1,""],norm_dist:[2,3,1,""],van_rossum_multiunit_dist:[2,3,1,""],event_synchronization:[2,3,1,""],van_rossum_dist:[2,3,1,""],hunter_milton_similarity:[2,3,1,""],victor_purpura_multiunit_dist:[2,3,1,""]},spykeutils:{conversions:[2,0,0,"-"],rate_estimation:[2,0,0,"-"],stationarity:[2,0,0,"-"],spike_train_generation:[2,0,0,"-"],sorting_quality_assesment:[2,0,0,"-"],correlations:[2,0,0,"-"],progress_indicator:[2,0,0,"-"],signal_processing:[2,0,0,"-"],spike_train_metrics:[2,0,0,"-"],SpykeException:[2,1,1,""],tools:[2,0,0,"-"],plugin:[3,0,0,"-"]},"spykeutils.progress_indicator.ProgressIndicator":{step:[2,2,1,""],done:[2,2,1,""],begin:[2,2,1,""],set_ticks:[2,2,1,""],set_status:[2,2,1,""]},"spykeutils.signal_processing.LaplacianKernel":{evaluate:[2,4,1,""],boundary_enclosing_at_least:[2,2,1,""],normalization_factor:[2,2,1,""],summed_dist_matrix:[2,2,1,""]},"spykeutils.conversions":{analog_signal_array_to_analog_signals:[2,3,1,""],spikes_to_spike_train:[2,3,1,""],epoch_array_to_epochs:[2,3,1,""],spike_train_to_spikes:[2,3,1,""],event_array_to_events:[2,3,1,""]},"spykeutils.plugin.analysis_plugin":{AnalysisPlugin:[3,1,1,""]},"spykeutils.spike_train_generation":{gen_inhomogeneous_poisson:[2,3,1,""],gen_homogeneous_poisson:[2,3,1,""]},"spykeutils.plugin.analysis_plugin.AnalysisPlugin":{load:[3,2,1,""],get_parameters:[3,2,1,""],configure:[3,2,1,""],get_name:[3,2,1,""],start:[3,2,1,""],set_parameters:[3,2,1,""],save:[3,2,1,""]},"spykeutils.signal_processing.SymmetricKernel":{summed_dist_matrix:[2,2,1,""],is_symmetric:[2,2,1,""]},"spykeutils.signal_processing.RectangularKernel":{evaluate:[2,4,1,""],boundary_enclosing_at_least:[2,2,1,""],normalization_factor:[2,2,1,""]},"spykeutils.plugin.data_provider.DataProvider":{analog_signals:[3,2,1,""],analog_signals_by_channel_and_segment:[3,2,1,""],data_dict:[3,2,1,""],refresh_view:[3,2,1,""],spike_trains_by_segment_and_unit:[3,2,1,""],epochs:[3,2,1,""],analog_signal_arrays:[3,2,1,""],analog_signal_arrays_by_channelgroup_and_segment:[3,2,1,""],segments:[3,2,1,""],analog_signals_by_segment_and_channel:[3,2,1,""],spike_trains_by_unit:[3,2,1,""],spikes_by_unit:[3,2,1,""],recording_channel_groups:[3,2,1,""],spike_trains:[3,2,1,""],analog_signal_arrays_by_segment_and_channelgroup:[3,2,1,""],spikes_by_segment_and_unit:[3,2,1,""],analog_signals_by_channel:[3,2,1,""],units:[3,2,1,""],spike_trains_by_segment:[3,2,1,""],events:[3,2,1,""],recording_channels:[3,2,1,""],blocks:[3,2,1,""],from_data:[3,6,1,""],epoch_arrays:[3,2,1,""],analog_signal_arrays_by_segment:[3,2,1,""],spike_trains_by_unit_and_segment:[3,2,1,""],labeled_epochs:[3,2,1,""],spikes_by_unit_and_segment:[3,2,1,""],spikes:[3,2,1,""],spikes_by_segment:[3,2,1,""],analog_signal_arrays_by_channelgroup:[3,2,1,""],event_arrays:[3,2,1,""],analog_signals_by_segment:[3,2,1,""],selection_blocks:[3,2,1,""],labeled_events:[3,2,1,""]},"spykeutils.correlations":{correlogram:[2,3,1,""]},"spykeutils.progress_indicator":{ProgressIndicator:[2,1,1,""],ignores_cancel:[2,3,1,""],CancelException:[2,5,1,""]},"spykeutils.signal_processing.TriangularKernel":{evaluate:[2,4,1,""],boundary_enclosing_at_least:[2,2,1,""],normalization_factor:[2,2,1,""]},"spykeutils.stationarity":{spike_amplitude_histogram:[2,3,1,""]},"spykeutils.rate_estimation":{collapsed_spike_trains:[2,3,1,""],aligned_spike_trains:[2,3,1,""],psth:[2,3,1,""],optimal_gauss_kernel_size:[2,3,1,""],spike_density_estimation:[2,3,1,""]},"spykeutils.plugin":{data_provider:[3,0,0,"-"],analysis_plugin:[3,0,0,"-"],gui_data:[3,0,0,"-"]},"spykeutils.signal_processing.Kernel":{boundary_enclosing_at_least:[2,2,1,""],normalization_factor:[2,2,1,""],is_symmetric:[2,2,1,""],summed_dist_matrix:[2,2,1,""]},"spykeutils.signal_processing.CausalDecayingExpKernel":{evaluate:[2,4,1,""],boundary_enclosing_at_least:[2,2,1,""],normalization_factor:[2,2,1,""]},"spykeutils.tools":{bin_spike_trains:[2,3,1,""],apply_to_dict:[2,3,1,""],remove_from_hierarchy:[2,3,1,""],maximum_spike_train_interval:[2,3,1,""],concatenate_spike_trains:[2,3,1,""],extract_spikes:[2,3,1,""],minimum_spike_train_interval:[2,3,1,""]},"spykeutils.signal_processing.KernelFromFunction":{is_symmetric:[2,2,1,""]},"spykeutils.sorting_quality_assesment":{get_refperiod_violations:[2,3,1,""],overlap_fp_fn:[2,3,1,""],calculate_refperiod_fp:[2,3,1,""],variance_explained:[2,3,1,""]},"spykeutils.signal_processing.GaussianKernel":{evaluate:[2,4,1,""],boundary_enclosing_at_least:[2,2,1,""],normalization_factor:[2,2,1,""]},"spykeutils.signal_processing":{Kernel:[2,1,1,""],CausalDecayingExpKernel:[2,1,1,""],GaussianKernel:[2,1,1,""],LaplacianKernel:[2,1,1,""],SymmetricKernel:[2,1,1,""],RectangularKernel:[2,1,1,""],smooth:[2,3,1,""],discretize_kernel:[2,3,1,""],KernelFromFunction:[2,1,1,""],TriangularKernel:[2,1,1,""],as_kernel_of_size:[2,3,1,""],st_convolve:[2,3,1,""]}},titleterms:{spike_train_metr:2,analysis_plugin:3,creat:6,acknowledg:7,modul:[2,3],progress_ind:2,indic:0,spykeutil:[0,4,2],packag:[2,4,3],correl:2,sampl:6,tabl:0,download:5,instal:5,sorting_quality_asses:2,welcom:0,version:1,gui_data:3,spike:6,spike_train_gener:2,psth:6,refer:2,plot:[4,6],stationar:2,tool:2,densiti:6,usag:5,rate_estim:2,data:6,requir:5,subpackag:2,document:0,signal_process:2,convers:2,data_provid:3,changelog:1,signal:6,plugin:3,exampl:6,isi:6,api:2,estim:6}})PK pBDDWH9 9 spykeutils-0.4.1/examples.html
The functions in spykeutils work on electrophysiological data that is
represented in Neo object hierarchies. Usually, you would load these objects
from a file, but for the purpose of this demonstration we will manually create
an object hierarchy to illustrate their structure. Note that most functions
in spykeutils will also work with separate Neo data objects that are not
contained in a complete hierarchy. First, we import the modules we will use:
To create a peri stimulus time histogram from our spike trains, we call
spykeutils.rate_estimation.psth(). This function can create multiple
PSTHs and takes a dicionary of lists of spike trains. Since our spike trains
were generated by three units, we will create three histograms, one for each
unit:
spykeutils.rate_estimation.psth() returns two values: A dictionary
with the resulting histograms and a Quantity 1D with the bin edges.
If guiqwt is installed, we can also use the spykeutils.plot
package to create a PSTH plot from our data (in this case we want a bar
histogram and therefore only use spike trains from one unit):
Similar to a PSTH, a spike density estimation gives an esimate of the
instantaneous firing rate. Instead of binning, it is based on a kernel
convolution which results in a smoother estimate. Creating and SDE with
spykeutils works very similar to creating a PSTH. Instead of manually
choosing the size of the Gaussian kernel,
spykeutils.rate_estimation.spike_density_estimation() also supports
finding the optimal kernel size automatically for each unit:
>>> kernel_sizes=sp.logspace(2,3.3,100)*pq.ms>>> spykeutils.rate_estimation.spike_density_estimation(st_dict,optimize_steps=kernel_sizes)[0]{<neo.core.unit.Unit object at 0x...>: array([ ...
As with the PSTH, there is also a plot function for creating a spike
density estimation. Here, we use both units because the function produces
a line plot where both units can be shown at the same time:
While spike density estimations are preferable to PSTHs in many cases, the
picture also shows an important weakness: The estimation will generally be too
low on margins. The areas where this happens become larger with kernel size,
which is clearly visible from the rounded shape of the purple and pink
curves (which should be flat because of the constant rate of the spike
trains) with their very large kernel size.
As a final example, we will again use the spykeutils.plot package to
create a plot of the signals we created. This plot will also display the
spike times from one of our spike trains.
PK qBDD.% spykeutils-0.4.1/.buildinfo# Sphinx build info version 1
# This file hashes the configuration used when building these files. When it is not found, a full rebuild will be done.
config: f8355ccab226af11a9c60021154756e6
tags: efa25262f700e02b1777eb79ee109f5c
PK ]BDDO&