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 mtdspectrumc
    pad padding factor for the FFT optional can take values 1 0 1 2 1 corresponds to no padding 0 corresponds to padding to the next highest power of 2 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 trialave average over trials channels when 1 don t average when 0 optional Default 0 Output dS spectral derivative in form phi x frequency x channels trials if trialave 0 or in form phi x frequency if trialave 1 f frequencies CROSS REFERENCE INFORMATION This function calls mtfftc Multi taper fourier transform continuous data This function is called by mtdspecgramc Multi taper derivative of the time frequency spectrum continuous process SOURCE CODE 0001 function dS f mtdspectrumc data phi params 0002 Multi taper frequency derivative of the spectrum continuous process 0003 0004 Usage 0005 0006 dS f mtdspectrumc data phi params 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 in form samples x channels trials or a single vector required 0013 phi angle for evaluation of derivative required 0014 e g phi 0 pi 2 gives the time and frequency derivatives 0015 params structure with fields tapers pad Fs fpass trialave 0016 optional 0017 tapers precalculated tapers from dpss or in the one of the following 0018 forms 0019 1 A numeric vector TW K where TW is the 0020 time bandwidth product and K is the number of 0021 tapers to be used less than or equal to 0022 2TW 1 0023 2 A numeric vector W T p where W is the 0024 bandwidth T is the duration of the data and p 0025 is an integer such that 2TW p tapers are used In 0026 this form there is no default i e to specify 0027 the bandwidth you have to specify T and p as 0028 well Note that the units of W and T have to be 0029 consistent if W is in Hz T must be in seconds 0030 and vice versa Note that these units must also 0031 be consistent with the units of params Fs W can 0032 be in Hz if and only if params Fs is in Hz 0033 The default is to use form 1 with TW 3 and K 5 0034 0035 pad padding factor for the FFT

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


  • Description of segment_calc_script
    j cellstr tmp j name end 0006 wavnames regexp names wav match 0007 ind cellfun isempty wavnames 0008 wavnames wavnames ind 0009 segnames regexp names wav seg txt match 0010 ind cellfun isempty segnames 0011 segnames segnames ind 0012 0013 nwaves length wavnames 0014 0015 movingwin 0 01 0 005 0016 params tapers 2 3 params pad 1 params Fs 44100 params fpass 5000 20000 0017 F1 F2 F3 F4 F0 C1 C2 0018 for i 1 nwaves 0019 i 0020 data wavread wavnames i 1 0021 Feat S t f acoustic features MB data movingwin params 0022 sname wavnames i 1 sp 0023 load char sname mat 0024 C fft log S 2 cep real C C1 C1 cep 2 C2 C2 cep 3 0025 x0 log mean S 2 log 10 10 x0 x0 max x0 F0 F0 x0 0026 x log Feat 1 w Feat 2 x x x log 10 10 x x max x 0027 F1 F1 x 0028 F2 F2 w 0029 F3 F3 Feat 3 0030 tmp load char segnames i 1 sz size tmp 0031 seg zeros length t 1 0032 if sz 1 0 0033 for j 1 sz 1 ind

    Original URL path: http://www.chronux.org/Documentation/chronux/wave_browser/segment_calc_script.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_2006a/@videoReader/close.html (2015-03-27)
    Open archived version from archive

  • Description of fig5_6
    REFERENCE INFORMATION This function calls This function is called by runbook SOURCE CODE 0001 Local Regression and Likelihood Figure 5 6 0002 Author Catherine Loader 0003 0004 Cumulative Distribution Function 0005 0006 This function uses cdfplot from Matlab s add on statistics toolbox 0007 0008 NEED 0009 predict should backtr by default 0010 0011 load geyser 0012 fit locfit geyser nn 0 1 h 1 2 renorm 1 0013 x

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

  • Description of mtdspectrumpb
    1 2 1 corresponds to no padding 0 corresponds to padding to the next highest power of 2 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 trialave average over trials when 1 don t average when 0 optional Default 0 Output dS derivative of the spectrum in form phi x frequency x channels trials if trialave 0 in the form phi x frequency if trialave 1 f frequencies CROSS REFERENCE INFORMATION This function calls mtfftpb Multi taper fourier transform binned point process data This function is called by mtdspecgrampb Multi taper derivatives of time frequency spectrum binned point process SOURCE CODE 0001 function dS f mtdspectrumpb data phi params 0002 Multi taper spectral derivative binned point process 0003 0004 Usage 0005 0006 dS f mtdspectrumpb data phi params 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 in form samples x channels trials or single vector required 0013 tapers precalculated tapers from dpss or in the form NW K e g 3 5 optional 0014 If not specified use NW K 3 5 0015 phi angle for evaluation of derivative required 0016 e g phi 0 pi 2 giving the time and frequency 0017 derivatives 0018 params structure with fields tapers pad Fs fpass 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

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

  • Description of significant-spike-field-coherenceMBL2005
    0 100 params trialave 1 params err 1 0 05 0004 movingwin 0 5 0 1 duration of moving window used to evaluate spectrograms 0005 win 2 2 window around events 0006 fignum 2 3 6 9 8 7 4 1 figure numbers for particular directions 0007 for targ 0 7 0008 E targoff find targets targ 0009 datasp createdatamatpt dsp 1 E win 0010 datalfp createdatamatc dlfp 1 E

    Original URL path: http://www.chronux.org/Documentation/chronux/old/tutorial/significant-spike-field-coherenceMBL2005.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_2006a/@videoWriter/close.html (2015-03-27)
    Open archived version from archive

  • Description of fig6_1
    x and g x fit1 and fit2 below evaluate on a grid of points p1 and p2 and apply the back transformation Disclaimer I don t consider derivative estimation from noisy data to be a well defined problem Use at your own risk Author Catherine Loader NEED m argument passed to lfmarg CROSS REFERENCE INFORMATION This function calls This function is called by runbook SOURCE CODE 0001 Local Regression and Likelihood Figure 6 1 0002 0003 Derivative local slope estimation for the Old Faithful Geyser Data 0004 The deriv argument specifies derivative estimation 0005 deriv 1 First order derivative 0006 deriv 1 1 Second order derivative 0007 deriv 2 For bivariate fits partial deriv wrt second variable 0008 deriv 1 2 Mixed second order derivative 0009 0010 Density estimation is done on the log scale That is the estimate 0011 is of g x log f x where f x is the density 0012 0013 The relation between derivatives is therefore 0014 f x f x g x g x exp g x 0015 To estimate f x we must estimate g x and g x fit1 and fit2 below 0016 evaluate on a grid of points p1 and p2

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



  •