archive-org.com » ORG » C » CHRONUX.ORG Total: 412 Choose link from "Titles, links and description words view": Or switch to
"Titles and links view". |

- Description of mtspecgramtrigc

etc e g For N 500 if PAD 1 we do not pad if PAD 0 we pad the FFT to 512 points if pad 1 we pad to 1024 points etc Defaults to 0 Fs sampling frequency optional Default 1 fpass frequency band to be used in the calculation in the form fmin fmax optional Default all frequencies between 0 and Fs 2 err error calculation 1 p Theoretical error bars 2 p Jackknife error bars 0 p or 0 no error bars optional Default 0 trialave average over events when 1 don t average when 0 optional Default 0 Output S triggered spectrum in form time x frequency x events for trialave 0 or in the form time x frequency trialave 1 t times f frequencies Serr error bars only for err 1 1 CROSS REFERENCE INFORMATION This function calls createdatamatc Helper function to create an event triggered matrix from univariate mtspecgramc Multi taper time frequency spectrum continuous process This function is called by SOURCE CODE 0001 function S t f Serr mtspecgramtrigc data E win movingwin params 0002 Multi taper event triggered time frequency spectrum continuous process 0003 0004 Usage 0005 0006 S t f Serr mtspecgramtrigc data E win movingwin params 0007 Input 0008 Note units have to be consistent Thus if movingwin is in seconds Fs 0009 has to be in Hz see chronux m for more information 0010 data single channel data required 0011 E event times required 0012 win in the form winl winr i e window around each event 0013 required 0014 movingwin in the form window winstep i e length of moving 0015 window and step size 0016 required 0017 Note that units for the windows have 0018 to be consistent with 0019 units of Fs 0020 params structure with fields tapers pad Fs fpass err trialave 0021 optional 0022 tapers precalculated tapers from dpss or in the one of the following 0023 forms 0024 1 A numeric vector TW K where TW is the 0025 time bandwidth product and K is the number of 0026 tapers to be used less than or equal to 0027 2TW 1 0028 2 A numeric vector W T p where W is the 0029 bandwidth T is the duration of the data and p 0030 is an integer such that 2TW p tapers are used In 0031 this form there is no default i e to specify 0032 the bandwidth you have to specify T and p as 0033 well Note that the units of W and T have to be 0034 consistent if W is in Hz T must be in seconds 0035 and vice versa Note that these units must also 0036 be consistent with the units of params Fs W can 0037 be in Hz if and only if params Fs is in Hz 0038 The default is to use form 1 with TW 3 and K 5 0039 Note that T has to be equal to movingwin 1 0040 0041

Original URL path: http://www.chronux.org/Documentation/chronux/spectral_analysis/continuous/mtspecgramtrigc.html (2015-03-27)

Open archived version from archive - Description of staogram

Usage S tau tc staogram data spk data lfp smp plt Tc Tinc Tw w D 0005 0006 INPUT 0007 Note that all times have to be consistent If data spk 0008 is in seconds so must be sig and t If data spk is in 0009 samples so must sig and t The default is seconds 0010 0011 data spk strucuture array of spike times data 0012 data lfp array of lfp data samples x trials 0013 smp lfp times of samples 0014 0015 Optional 0016 0017 Parameter 0018 0019 plt y n 0020 0021 y standard staogram 0022 n no plot 0023 0024 Tc start and end times centres whole trial 0025 Tinc time increment between windows 0 1 0026 Tw time window width 0 3 0027 w smoothing width in seconds 0028 D plot sta out to on axis D 1 D 2 s 0029 0030 OUTPUT 0031 S spike triggered average 0032 tau lag 0033 tc bin centers 0034 0035 0036 setup defaults 0037 if nargin 3 error Require spike lfp and lfptimes end 0038 data spk padNaN data spk create a zero padded data matrix from input structural array 0039 data spk data spk transposes data to get it in a form compatible with Murray s routine 0040 if nargin 4 plt y end 0041 if nargin 6 Tinc 0 1 end 0042 if nargin 7 Tw 0 5 end 0043 if nargin 8 w 0 01 end 0044 if nargin 9 D 0 15 1 1 end 0045 if nargin 5 0046 Tc 1 min data spk 1 Tw 2 0047 Tc 2 max max data spk Tw 2 0048 end 0049 0050 if isempty plt plt y end 0051 if isempty Tinc Tinc 0 1 end 0052 if isempty Tw Tw 0 5

Original URL path: http://www.chronux.org/Documentation/chronux/spectral_analysis/hybrid/staogram.html (2015-03-27)

Open archived version from archive - Description of coherencysegc

if segave 1 S2 spectrum 2 frequencies x segments if segave 0 dimension frequencies if segave 1 f frequencies confC confidence level for C at 1 p only for err 1 1 phistd theoretical jackknife depending on err 1 1 err 1 2 standard deviation for phi Note that phi 2 phistd and phi 2 phistd will give 95 confidence bands for phi only for err 1 1 Cerr Jackknife error bars for C use only for Jackknife err 1 2 CROSS REFERENCE INFORMATION This function calls coherencyc Multi taper coherency cross spectrum and individual spectra continuous process createdatamatc Helper function to create an event triggered matrix from univariate This function is called by SOURCE CODE 0001 function C phi S12 S1 S2 f confC phistd Cerr coherencysegc data1 data2 win params 0002 Multi taper coherency cross spectrum and individual spectra with segmenting continuous process 0003 computed by segmenting two univariate time series into chunks 0004 0005 Usage 0006 C phi S12 S1 S2 f confC phistd Cerr coherencysegc data1 data2 win params 0007 Input 0008 Note units have to be consistent See chronux m for more information 0009 data1 column vector required 0010 data2 column vector required 0011 win length of segments required 0012 params structure with fields tapers pad Fs fpass err 0013 optional 0014 tapers precalculated tapers from dpss or in the one of the following 0015 forms 0016 1 A numeric vector TW K where TW is the 0017 time bandwidth product and K is the number of 0018 tapers to be used less than or equal to 0019 2TW 1 0020 2 A numeric vector W T p where W is the 0021 bandwidth T is the duration of the data and p 0022 is an integer such that 2TW p tapers are used In 0023 this form there is no default i e to specify 0024 the bandwidth you have to specify T and p as 0025 well Note that the units of W and T have to be 0026 consistent if W is in Hz T must be in seconds 0027 and vice versa Note that these units must also 0028 be consistent with the units of params Fs W can 0029 be in Hz if and only if params Fs is in Hz 0030 The default is to use form 1 with TW 3 and K 5 0031 0032 pad padding factor for the FFT optional can take values 1 0 1 2 0033 1 corresponds to no padding 0 corresponds to padding 0034 to the next highest power of 2 etc 0035 e g For N 500 if PAD 1 we do not pad if PAD 0 we pad the FFT 0036 to 512 points if pad 1 we pad to 1024 points etc 0037 Defaults to 0 0038 Fs sampling frequency optional Default 1 0039 fpass frequency band to be used in the calculation in the form 0040 fmin fmax optional 0041 Default all frequencies between 0 and Fs 2

Original URL path: http://www.chronux.org/Documentation/chronux/spectral_analysis/continuous/coherencysegc.html (2015-03-27)

Open archived version from archive - Description of fig7_5

This function calls This function is called by runbook SOURCE CODE 0001 Local Regression and Likelihood Figure 7 5 0002 0003 Author Catherine Loader 0004 0005 load border 0006 fit0 locfit day runs cens no family geom nn 0 7 0007 fit1 locfit day runs weights ones 265 1 0 8 cens no family geom nn 0 7 0008 xev lfmarg fit 0009 xev xev 1 0010 y0 predict fit0

Original URL path: http://www.chronux.org/Documentation/chronux/locfit/Book/fig7_5.html (2015-03-27)

Open archived version from archive - Description of mtspecgramtrigpb

if PAD 0 we pad the FFT to 512 points if pad 1 we pad to 1024 points etc Defaults to 0 Fs sampling frequency optional Default 1 fpass frequency band to be used in the calculation in the form fmin fmax optional Default all frequencies between 0 and Fs 2 err error calculation 1 p Theoretical error bars 2 p Jackknife error bars 0 p or 0 no error bars optional Default 0 trialave average over events when 1 don t average when 0 optional Default 0 fscorr finite size corrections 0 don t use finite size corrections or 1 use finite size corrections optional available only for spikes Defaults 0 Output S triggered time frequency spectrum in form time x frequency x events if segave 0 or in the form time x frequency segave 1 t times f frequencies R spike rate Serr error bars only for err 1 1 CROSS REFERENCE INFORMATION This function calls createdatamatpb mtspecgrampb Multi taper time frequency spectrum binned point process This function is called by SOURCE CODE 0001 function S t f R Serr mtspecgramtrigpb data E win movingwin params fscorr 0002 Multi taper event triggered time frequency spectrum binned point process 0003 0004 Usage 0005 0006 S t f R Serr mtspecgramtrigpb data E win movingwin params fscorr 0007 Input 0008 data single channel data vector required 0009 E event times required 0010 win in the form winl winr i e window around each event 0011 required 0012 movingwin in the form window winstep i e length of moving 0013 window and step size 0014 required 0015 Note that units for the windows have 0016 to be consistent with 0017 units of Fs 0018 params structure with fields tapers pad Fs fpass err trialave 0019 optional 0020 tapers precalculated tapers from dpss or in the one of the following 0021 forms 0022 1 A numeric vector TW K where TW is the 0023 time bandwidth product and K is the number of 0024 tapers to be used less than or equal to 0025 2TW 1 0026 2 A numeric vector W T p where W is the 0027 bandwidth T is the duration of the data and p 0028 is an integer such that 2TW p tapers are used In 0029 this form there is no default i e to specify 0030 the bandwidth you have to specify T and p as 0031 well Note that the units of W and T have to be 0032 consistent if W is in Hz T must be in seconds 0033 and vice versa Note that these units must also 0034 be consistent with the units of params Fs W can 0035 be in Hz if and only if params Fs is in Hz 0036 The default is to use form 1 with TW 3 and K 5 0037 Note that T has to be equal to movingwin 1 0038 0039 pad padding factor for the FFT optional can take values 1 0 1

Original URL path: http://www.chronux.org/Documentation/chronux/spectral_analysis/pointbinned/mtspecgramtrigpb.html (2015-03-27)

Open archived version from archive - Description of start_display

DESCRIPTION CROSS REFERENCE INFORMATION This function calls This function is called by load scope rtf SOURCE CODE 0001 function start display ring fig 0002 0003 set fig XData 1 length ring YData ring axis 1 length ring 0 3 0

Original URL path: http://www.chronux.org/Documentation/chronux/spectral_analysis/specscope/start_display.html (2015-03-27)

Open archived version from archive - Description of coherencysegcpb

0 dimension frequencies if segave 1 f frequencies zerosp 1 for trials where no spikes were found 0 otherwise confC confidence level for C at 1 p only for err 1 1 phistd theoretical jackknife depending on err 1 1 err 1 2 standard deviation for phi Note that phi 2 phistd and phi 2 phistd will give 95 confidence bands for phi only for err 1 1 Cerr Jackknife error bars for C use only for Jackknife err 1 2 CROSS REFERENCE INFORMATION This function calls coherencycpb Multi taper coherency cross spectrum and individual spectra continuous and binned point process data This function is called by SOURCE CODE 0001 function C phi S12 S1 S2 f zerosp confC phistd Cerr coherencysegcpb data1 data2 win params segave fscorr 0002 Multi taper coherency cross spectrum and individual spectra with segmenting 0003 computed by segmenting two univariate time series into chunks continuous and binned point process 0004 0005 Usage 0006 C phi S12 S1 S2 f zerosp confC phistd Cerr coherencysegcpb data1 data2 win params segave fscorr 0007 Input 0008 Note units have to be consistent See chronux m for more information 0009 data1 column vector continuous data required 0010 data2 column vector binned point process data required 0011 win length of segments required 0012 params structure with fields tapers pad Fs fpass err 0013 optional 0014 tapers precalculated tapers from dpss or in the one of the following 0015 forms 0016 1 A numeric vector TW K where TW is the 0017 time bandwidth product and K is the number of 0018 tapers to be used less than or equal to 0019 2TW 1 0020 2 A numeric vector W T p where W is the 0021 bandwidth T is the duration of the data and p 0022 is an integer such that 2TW p tapers are used In 0023 this form there is no default i e to specify 0024 the bandwidth you have to specify T and p as 0025 well Note that the units of W and T have to be 0026 consistent if W is in Hz T must be in seconds 0027 and vice versa Note that these units must also 0028 be consistent with the units of params Fs W can 0029 be in Hz if and only if params Fs is in Hz 0030 The default is to use form 1 with TW 3 and K 5 0031 0032 pad padding factor for the FFT optional can take values 1 0 1 2 0033 1 corresponds to no padding 0 corresponds to padding 0034 to the next highest power of 2 etc 0035 e g For N 500 if PAD 1 we do not pad if PAD 0 we pad the FFT 0036 to 512 points if pad 1 we pad to 1024 points etc 0037 Defaults to 0 0038 Fs sampling frequency optional Default 1 0039 fpass frequency band to be used in the calculation in the form 0040 fmin fmax optional 0041

Original URL path: http://www.chronux.org/Documentation/chronux/spectral_analysis/hybrid/coherencysegcpb.html (2015-03-27)

Open archived version from archive - Description of fig7_6

0003 Estimating the mean survival time using a local weibull 0004 transformed Gamma model 0005 0006 load heart 0007 z 0 625 0008 ts surv 0 5 z 0009 fit locfit age ts cens cens family gamma nn 0 8 0010 i find cens 0 0011 figure Name fig7 6 mean survival time local weibull 0012 plot age i log surv i 0 5 o 0013 hold on 0014 i

Original URL path: http://www.chronux.org/Documentation/chronux/locfit/Book/fig7_6.html (2015-03-27)

Open archived version from archive