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 getnext
    sized frame and reading past the end of the stream Typical usage vr videoReader numbers uncompressed avi info getinfo vr for i 1 info numFrames img getnext vr imshow img pause 1 info fps end vr close vr SEE ALSO videoReader videoReader getframe videoReader next 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 getframe FRAME GETFRAME VR next WORKED NEXT VR This function is called by SOURCE CODE 0001 function frame getnext vr 0002 FRAME GETNEXT VR 0003 This method is a shortcut for 0004 if next vr 0005 frame getframe vr 0006 else 0007 frame 0008 end 0009 0010 Although this method can be more convenient than calling NEXT and GETFRAME 0011 separately there is no way to distinguish between a zero sized frame and 0012 reading past the end of the stream 0013 0014 Typical usage 0015 vr videoReader numbers uncompressed avi 0016 info getinfo vr 0017 for i 1 info numFrames 0018 img getnext vr 0019 imshow img 0020 pause 1 info fps 0021 end 0022 vr close vr 0023 0024 SEE ALSO 0025 videoReader 0026

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


  • Description of pca1
    signals PC V pca1 data 0006 0007 data in MxN matrix of input data 0008 M dimensions N trials 0009 signals MxN matrix of projected data 0010 PC each column is a principal component 0011 V Mx1 matrix of variances 0012 data out mean subtracted data 0013 0014 0015 From Jon Schlens PCA tutorial 0016 0017 M N size data 0018 0019 subtract off the mean for each dimension 0020

    Original URL path: http://www.chronux.org/Documentation/chronux/fly_track/FTrack/functions/pca1.html (2015-03-27)
    Open archived version from archive

  • Description of CalcReorientAngle
    moves indx 0002 0003 CALCREORIENTANGLE 0004 Usage beta CalcReorientAngle vtheta moves indx 0005 0006 This function calculates the reorientation angle or the change in angle 0007 of progression after the fly stops The inputs are the angle of the 0008 velocity vector vtheta and an index of all the frames where the fly was 0009 moving moves indx 0010 0011 Written by Dan Valente 0012 modified November 2007 0013 0014

    Original URL path: http://www.chronux.org/Documentation/chronux/fly_track/FAnalyze/functions/CalcReorientAngle.html (2015-03-27)
    Open archived version from archive

  • Description of evoked
    width plt err 0005 0006 Inputs 0007 Note that all times can be in arbitrary units But the units have to be 0008 consistent So if win is in secs width is in secs and Fs has to be Hz 0009 If win is in samples so is width and Fs 1 0010 0011 data times channels trials or a single vector required 0012 Fs sampling frequency required 0013 win subsection of data to be used Default all available data 0014 width s of smoothing kernel Default 50 samples 0015 plt plot n for no plot otherwise plot color Default blue colored lines 0016 err 0 1 Default 1 calculate bootstrap errorbars 0017 0018 Outputs 0019 V evoked potential 0020 t times of evaluation 0021 Err bootstrap statdard deviation 0022 0023 if nargin 2 error Data sampling frequency required end 0024 data change row to column data 0025 N size data 1 0026 data data 0027 if nargin 3 win 0 N 1 Fs end 0028 if nargin 4 width 50 Fs end 0029 if nargin 5 plt b end 0030 if nargin 6 err 1 end 0031 T win 0032 if isempty T T 0 N 1 Fs end 0033 if isempty width width 50 Fs end 0034 if isempty plt plt b end 0035 if isempty err err 1 end 0036 0037 t min T 1 Fs max T 0038 if nargin 5 0039 indx find t T 1 t T 2 0040 t t indx 0041 data data indx 0042 end 0043 0044 if width t length t t 1 2 0045 disp Width is too large for data segment should be in seconds 0046 disp Turn off smoothing 0047 width 0 0048 end 0049 0050 s t 2 t 1 0051 N fix width s 0052

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

  • Description of getnext
    sized frame and reading past the end of the stream Typical usage vr videoReader numbers uncompressed avi info getinfo vr for i 1 info numFrames img getnext vr imshow img pause 1 info fps end vr close vr SEE ALSO videoReader videoReader getframe videoReader next 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 getframe FRAME GETFRAME VR next WORKED NEXT VR This function is called by SOURCE CODE 0001 function frame getnext vr 0002 FRAME GETNEXT VR 0003 This method is a shortcut for 0004 if next vr 0005 frame getframe vr 0006 else 0007 frame 0008 end 0009 0010 Although this method can be more convenient than calling NEXT and GETFRAME 0011 separately there is no way to distinguish between a zero sized frame and 0012 reading past the end of the stream 0013 0014 Typical usage 0015 vr videoReader numbers uncompressed avi 0016 info getinfo vr 0017 for i 1 info numFrames 0018 img getnext vr 0019 imshow img 0020 pause 1 info fps 0021 end 0022 vr close vr 0023 0024 SEE ALSO 0025 videoReader 0026

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

  • Description of plot_matrix
    plt l for log n for no log Xerr lower and upper confidence intervals for X1 lower upper x t x f CROSS REFERENCE INFORMATION This function calls This function is called by SOURCE CODE 0001 function plot matrix X t f plt Xerr 0002 Function to plot a time frequency matrix X Time and frequency axes are in t and f 0003 If error bars are specified in Xerr 0004 it also plots them Xerr contains upper and lower confidence intervals 0005 on X 0006 Usage plot matrix X t f plt Xerr 0007 Inputs 0008 X input vector as a function of time and frequency t x f 0009 t t axis grid for plot Default 1 size X 1 0010 f f axis grid for plot Default 1 size X 2 0011 plt l for log n for no log 0012 Xerr lower and upper confidence intervals for X1 lower upper x t x f 0013 if nargin 1 error Need data end 0014 NT NF size X 0015 if nargin 2 0016 t 1 NT 0017 end 0018 if nargin 3 0019 f 1 NF 0020 end 0021 if length f NF length t NT error

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

  • Description of CleanData
    the set In order to use this one must look at a plot of the data to determine the portion to look at and the threshold to set CROSS REFERENCE INFORMATION This function calls This function is called by FTrack FTRACK SOURCE CODE 0001 function cleanx CleanData x rnge choice epsilon 0002 0003 CLEANDATA 0004 Usage 0005 cleanx CleanData x rnge choice epsilon 0006 0007 This function will take in a data set x a specific portion of that data 0008 rnge and look for any points below choice below or above 0009 choice above the threshold epsilon It will then get rid of those 0010 points and create linearly extrapolated points in their place It 0011 returns the cleaned data set cleanx 0012 0013 Note This function is to be used ONLY when the user knows for a fact that 0014 spurious points exist in the data set It is not very automatic but 0015 assures that only KNOWN false points will be removed from the set In 0016 order to use this one must look at a plot of the data to determine the 0017 portion to look at and the threshold to set 0018 0019 Written by

    Original URL path: http://www.chronux.org/Documentation/chronux/fly_track/FTrack/functions/CleanData.html (2015-03-27)
    Open archived version from archive

  • Description of extractdatac
    function is called by SOURCE CODE 0001 function data extractdatac data Fs t 0002 Extract segements of continuous data between t 1 and t 2 0003 Usage data extractdatac data Fs t 0004 0005 Input 0006 data continous data in the form samples x channels or a single vector 0007 Fs sampling frequency 0008 t time as a 2d vector t 1 t 2 0009 Note that sampling frequency and

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



  •