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 lcv
    Loader CROSS REFERENCE INFORMATION This function calls locfit Smoothing noisy data using Local Regression and Likelihood rsum This function is called by lcvplot SOURCE CODE 0001 function g lcv varargin 0002 0003 likelihood cross validation 0004 0005 returned vector consists of log likelihood trace H trace H H 0006 and cross validated deviance 2 cross validated log likelihood 0007 0008 Author Catherine Loader 0009 0010 fit locfit varargin ev cros

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


  • Description of plx_info
    event counts 0016 evcounts i is the number of events for channel i 0017 0018 if nargin 2 0019 disp 2 input arguments are required 0020 return 0021 end 0022 0023 if isempty filename 0024 fname pathname uigetfile plx Select a plx file 0025 filename strcat pathname fname 0026 end 0027 fid fopen filename r 0028 0029 if fid 1 0030 disp cannot open file 0031 return 0032 end 0033 0034 disp strcat file filename 0035 header fread fid 64 int32 0036 version header 2 0037 freq header 35 frequency 0038 ndsp header 36 number of dsp channels 0039 nevents header 37 number of external events 0040 nslow header 38 number of slow channels 0041 npw header 39 number of points in wave 0042 npr header 40 number of points before threshold 0043 disp strcat version num2str version 0044 disp strcat frequency num2str freq 0045 disp strcat number of DSP headers num2str ndsp 0046 disp strcat number of Event headers num2str nevents 0047 disp strcat number of A D headers num2str nslow 0048 tscounts fread fid 5 130 int32 0049 wfcounts fread fid 5 130 int32 0050 evcounts fread fid 1 512 int32 0051 if fullread 0 0052 reset counters 0053 tscounts zeros 5 130 0054 wfcounts zeros 5 130 0055 evcounts zeros 1 512 0056 skip variable headers 0057 fseek fid 1020 ndsp 296 nevents 296 nslow cof 0058 record 0 0059 while feof fid 0 0060 type fread fid 1 int16 0061 upperbyte fread fid 1 int16 0062 timestamp fread fid 1 int32 0063 channel fread fid 1 int16 0064 unit fread fid 1 int16 0065 nwf fread fid 1 int16 0066 nwords fread fid 1 int16 0067 toread nwords 0068 if toread 0 0069 wf fread fid toread int16 0070 end 0071 if type 1 0072 tscounts

    Original URL path: http://www.chronux.org/Documentation/chronux/dataio/ReadingPLXandDDTfilesinMatlab/plx_info.html (2015-03-27)
    Open archived version from archive

  • Description of FindDuration
    0003 FINDDURATION 0004 Usage out FindDuration indx 0005 0006 This is a short little function that finds a jump in the indx vector 0007 and then spits out the number of elements before that jump It does 0008 this for all jumps it finds By a jump I mean a discontinutity in the 0009 index For example if the index vector is 1 2 3 4 5 8 9 10

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

  • Description of fig11_5
    is hard to see CROSS REFERENCE INFORMATION This function calls This function is called by runbook SOURCE CODE 0001 Local Regression and Likelihood Figure 11 5 0002 Author Catherine Loader 0003 0004 Local Adaptive Smooth Dopler example 0005 Adaptive fitting using Katkovnik et al ICI criterion 0006 0007 NEED Improve plot curve is hard to see 0008 0009 x 0 2047 2047 0010 m 20 sqrt x 1 x sin

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

  • Description of lcvplot
    INFORMATION This function calls lcv This function is called by SOURCE CODE 0001 function g lcvplot alpha varargin 0002 0003 Computes and plots the Likelihood Cross Validation score LCV 0004 for local fits with different smoothing parameters 0005 0006 The first argument to lcvplot alpha should be a matrix with one 0007 or two columns first column nearest neighbor component second 0008 column constant component Each row of this matrix

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

  • Description of plx_ts
    empty string will use File Open dialog 0008 channel 1 based channel number 0009 unit unit number 0 invalid 1 4 valid 0010 OUTPUT 0011 n number of timestamps 0012 ts array of timestamps in seconds 0013 0014 if nargin 3 0015 disp 3 input arguments are required 0016 return 0017 end 0018 0019 n 0 0020 ts 0 0021 if isempty filename 0022 fname pathname uigetfile plx Select a plx file 0023 filename strcat pathname fname 0024 end 0025 0026 fid fopen filename r 0027 if fid 1 0028 disp cannot open file 0029 return 0030 end 0031 0032 disp strcat file filename 0033 0034 read file header 0035 header fread fid 64 int32 0036 freq header 35 frequency 0037 ndsp header 36 number of dsp channels 0038 nevents header 37 number of external events 0039 nslow header 38 number of slow channels 0040 npw header 39 number of points in wave 0041 npr header 40 number of points before threshold 0042 tscounts fread fid 5 130 int32 0043 wfcounts fread fid 5 130 int32 0044 evcounts fread fid 1 512 int32 0045 0046 skip variable headers 0047 fseek fid 1020 ndsp 296 nevents 296 nslow cof 0048 0049

    Original URL path: http://www.chronux.org/Documentation/chronux/dataio/ReadingPLXandDDTfilesinMatlab/plx_ts.html (2015-03-27)
    Open archived version from archive

  • Description of FindFly
    function x y bodyline sqr FindFly chunk sqrsize 0002 0003 FINDFLY 0004 0005 Usage 0006 x y bodyline sqr FindFly chunk sqrsize 0007 0008 This function takes in a single image matrix chunk and finds the fly 0009 First it finds the brightest pixel in the image then grabs a square 0010 of size 2 sqrsize pixels around the fly The center of mass of this 0011 square is calculated mass pixel level and that is returned as the 0012 fly position The variable sqr can be returned which contains the 0013 limits defining a bounding box around the fly 0014 0015 This function also returns the body axis orientation vector The 0016 body axis is calcuated using FlyOrient Fly Orient returns the bodyline 0017 vector which is a 2 element vector containing two angles one in the upper 0018 half plane and one in the lower half plane These angles which are 0019 complementary define the body axis The noise threshold required for 0020 FlyOrient is currently fixed at 0 2 If you wish to change this 0021 threshold you must go into the FindFly m file and hard code a 0022 different value 0023 0024 0025 Written by Dan Valente 0026 28 September 2006 0027 0028 noise thresh 0 2 for the FlyOrient function 0029 0030 brightest pixel level max max chunk 0031 brightpix row brightpix col find chunk brightest pixel level 0032 0033 just in case more spots have the same brightness only take one 0034 width length chunk 1 0035 height length chunk 1 0036 0037 row pos brightpix row 1 0038 col pos brightpix col 1 0039 0040 y row pos 0041 x col pos 0042 0043 0044 take subset of pixels around fly need to take enough to ensure 0045 entire fly is captured

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

  • Description of fig13_1
    0006 0007 figure Name fig13 1a 0008 plot x y o 0009 hold on 0010 0011 fit locfit x y deg 1 kern minmax alpha 4000 ev grid mg 200 ll 0 ur 1 0012 xev fit fit points evaluation points 0013 yev predict fit fitp 0014 plot xev yev 0015 0016 fit locfit x y deg 1 h 0 05 ev grid mg 100 ll 0 ur 1 0017

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



  •