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 mtdspectrumpt
    be used in the calculation in the form fmin fmax optional Default all frequencies between 0 and Fs 2 trialave average over trials when 1 don t average when 0 optional Default 0 t time grid over which the tapers are to be calculated this argument is useful when calling the spectrum calculation routine from a moving window spectrogram calculation routine If left empty the spike times are used to define the grid Output dS spectral derivative in form phi x frequency x channels trials if trialave 0 function of phi x frequency if trialave 1 f frequencies CROSS REFERENCE INFORMATION This function calls minmaxsptimes Find the minimum and maximum of the spike times in each channel mtfftpt Multi taper fourier transform for point process given as times This function is called by mtdspecgrampt Multi taper derivative time frequency spectrum point process times SOURCE CODE 0001 function dS f mtdspectrumpt data phi params t 0002 Multi taper spectral derivative point process times 0003 0004 Usage 0005 0006 dS f mtdspectrumpt data phi params t 0007 Input 0008 Note that all times can be in arbitrary units But the units have to be 0009 consistent So if E is in secs win t have to be in secs and Fs has to 0010 be Hz If E is in samples so are win and t and Fs 1 In case of spike 0011 times the units have to be consistent with the units of data as well 0012 data structure array of spike times with dimension channels trials 0013 also accepts 1d array of spike times required 0014 phi angle for evaluation of derivative required 0015 e g phi 0 pi 2 giving the time and frequency derivatives 0016 params structure with fields tapers pad Fs fpass trialave 0017 optional 0018 tapers precalculated tapers from dpss or in the one of the following 0019 forms 0020 1 A numeric vector TW K where TW is the 0021 time bandwidth product and K is the number of 0022 tapers to be used less than or equal to 0023 2TW 1 0024 2 A numeric vector W T p where W is the 0025 bandwidth T is the duration of the data and p 0026 is an integer such that 2TW p tapers are used In 0027 this form there is no default i e to specify 0028 the bandwidth you have to specify T and p as 0029 well Note that the units of W and T have to be 0030 consistent if W is in Hz T must be in seconds 0031 and vice versa Note that these units must also 0032 be consistent with the units of params Fs W can 0033 be in Hz if and only if params Fs is in Hz 0034 The default is to use form 1 with TW 3 and K 5 0035 0036 pad padding factor for the FFT optional can take values 1 0 1 2 0037 1 corresponds to no padding

    Original URL path: http://www.chronux.org/Documentation/chronux/spectral_analysis/pointtimes/mtdspectrumpt.html (2015-03-27)
    Open archived version from archive


  • Description of smooth_lf
    invlink inverse link function for locfit lfknots locfit Smoothing noisy data using Local Regression and Likelihood This function is called by SOURCE CODE 0001 function z smooth lf x y varargin 0002 0003 must unlike R smooth lf function give x and y 0004 also R s direct T is automatic 0005 0006 0007 xev x 0008 if k 1 0009 if strcmp varargin 1 xev 0010 xev varargin 2

    Original URL path: http://www.chronux.org/Documentation/chronux/locfit/m/smooth_lf.html (2015-03-27)
    Open archived version from archive

  • Description of close
    leaks resources GOOD code vr videoReader vr close vr clear vr okay but not needed After calling CLOSE VR should not be used any more vr videoReader vr close vr next vr BAD vr videoReader close vr BAD should reassign result to vr to be safe next vr BAD SEE ALSO videoReader Copyright c 2006 Gerald Dalley See MIT txt in the installation directory for licensing details especially when using this library on GNU Linux CROSS REFERENCE INFORMATION This function calls This function is called by SOURCE CODE 0001 function vr close vr 0002 VR CLOSE VR 0003 Closes video VR and releases any system resources necessary to access it 0004 e g threads file handles etc Do NOT just clear a videoReader 0005 object without first closing its handle 0006 0007 BAD code typically will leak system resources 0008 vr videoReader 0009 0010 clear vr leaks resources 0011 0012 GOOD code 0013 vr videoReader 0014 vr close vr 0015 clear vr okay but not needed 0016 0017 After calling CLOSE VR should not be used any more 0018 vr videoReader 0019 vr close vr 0020 next vr BAD 0021 vr videoReader 0022 close vr BAD should reassign result to

    Original URL path: http://www.chronux.org/Documentation/chronux/fly_track/videoIO/videoIO_2006b/@videoReader/close.html (2015-03-27)
    Open archived version from archive

  • Description of fig6_2
    Likelihood Figure 6 2 Author Catherine Loader Local smooth of CO2 dataset main trend CROSS REFERENCE INFORMATION This function calls This function is called by runbook SOURCE CODE 0001 Local Regression and Likelihood Figure 6 2 0002 Author Catherine Loader 0003 0004 Local smooth of CO2 dataset main trend 0005 0006 load co2 0007 fit locfit year month 12 co2 alpha 0 5 deg 1 0008 figure Name fig6 2

    Original URL path: http://www.chronux.org/Documentation/chronux/locfit/Book/fig6_2.html (2015-03-27)
    Open archived version from archive

  • Description of mtfftc
    Multi taper coherency cross spectrum and individual spectra continuous process coherencyc unequal length trials This routine computes the average multi taper coherence for a given set of unequal length segments It is cohmatrixc Multi taper coherency cross spectral matrix continuous process ftestc computes the F statistic for sine wave in locally white noise continuous data mtdspectrumc Multi taper frequency derivative of the spectrum continuous process mtspectrumc Multi taper spectrum continuous process mtspectrumc unequal length trials This routine computes the multi taper spectrum for a given set of unequal length segments It is mtspectrumsegc Multi taper segmented spectrum for a univariate continuous process nonst stat Nonstationarity test continuous process SOURCE CODE 0001 function J mtfftc data tapers nfft Fs 0002 Multi taper fourier transform continuous data 0003 0004 Usage 0005 J mtfftc data tapers nfft Fs all arguments required 0006 Input 0007 data in form samples x channels trials or a single vector 0008 tapers precalculated tapers from dpss 0009 nfft length of padded data 0010 Fs sampling frequency 0011 0012 Output 0013 J fft in form frequency index x taper index x channels trials 0014 if nargin 4 error Need all input arguments end 0015 data change row to column

    Original URL path: http://www.chronux.org/Documentation/chronux/spectral_analysis/continuous/mtfftc.html (2015-03-27)
    Open archived version from archive

  • Description of specerr
    with the specified method CROSS REFERENCE INFORMATION This function calls This function is called by SOURCE CODE 0001 function Serr specerr S J err trialave numsp 0002 Function to compute lower and upper confidence intervals on the spectrum 0003 Usage Serr specerr S J err trialave numsp 0004 Outputs Serr Serr 1 lower confidence level Serr 2 upper confidence level 0005 0006 Inputs 0007 S spectrum 0008 J tapered fourier transforms 0009 err errtype p errtype 1 asymptotic estimates errchk 2 Jackknife estimates 0010 p p value for error estimates 0011 trialave 0 no averaging over trials channels 0012 1 perform trial averaging 0013 numsp number of spikes in each channel specify only when finite 0014 size correction required and of course only for point 0015 process data 0016 0017 Outputs 0018 Serr error estimates Only for err 1 1 If err 1 p or 2 p Serr 1 and Serr 2 0019 contain the lower and upper error bars with the specified method 0020 if nargin 4 error Need at least 4 input arguments end 0021 if err 1 0 error Need err 1 p or 2 p for error bar calculation Make sure you are not asking for the output of Serr end 0022 nf K C size J 0023 errchk err 1 0024 p err 2 0025 pp 1 p 2 0026 qq 1 pp 0027 0028 if trialave 0029 dim K C 0030 C 1 0031 dof 2 dim 0032 if nargin 5 dof fix 1 1 dof 1 2 sum numsp end 0033 J reshape J nf dim 0034 else 0035 dim K 0036 dof 2 dim ones 1 C 0037 for ch 1 C 0038 if nargin 5 dof ch fix 1 1 dof 1 2 numsp ch end 0039 end 0040 end 0041

    Original URL path: http://www.chronux.org/Documentation/chronux/spectral_analysis/helper/specerr.html (2015-03-27)
    Open archived version from archive

  • Description of close
    corrupted file GOOD code vw videoWriter vw close vw clear vw okay but not needed After calling CLOSE VW should not be used any more vw videoWriter vw close vr next vw BAD vw videoWriter close vw BAD should reassign result to vw to be safe next vw BAD SEE ALSO videoWriter Copyright c 2007 Gerald Dalley See MIT txt in the installation directory for licensing details especially when using this library on GNU Linux CROSS REFERENCE INFORMATION This function calls This function is called by SOURCE CODE 0001 function vw close vw 0002 VW CLOSE VW 0003 Closes video VW and releases any system resources necessary to access it 0004 e g threads file handles etc Do NOT just clear a videoWriter 0005 object without first closing its handle 0006 0007 BAD code typically will leak system resources 0008 vw videoWriter 0009 0010 clear vw leaks resources probably results in a corrupted file 0011 0012 GOOD code 0013 vw videoWriter 0014 0015 vw close vw 0016 clear vw okay but not needed 0017 0018 After calling CLOSE VW should not be used any more 0019 vw videoWriter 0020 vw close vr 0021 next vw BAD 0022 vw videoWriter 0023

    Original URL path: http://www.chronux.org/Documentation/chronux/fly_track/videoIO/videoIO_2006b/@videoWriter/close.html (2015-03-27)
    Open archived version from archive

  • Description of fig6_3
    locfit is period 2 pi CROSS REFERENCE INFORMATION This function calls This function is called by runbook SOURCE CODE 0001 Local Regression and Likelihood Figure 6 3 0002 Author Catherine Loader 0003 0004 Local smooth of CO2 dataset Estimate the main trend 0005 then use periodic smoothing of the residuals to estimate 0006 the annual effect 0007 0008 A periodic smooth is specified by style a 0009 Note that year

    Original URL path: http://www.chronux.org/Documentation/chronux/locfit/Book/fig6_3.html (2015-03-27)
    Open archived version from archive



  •