{"action":"opened","issue":{"url":"https://api.github.com/repos/pabloi/labTools/issues/12","labels_url":"https://api.github.com/repos/pabloi/labTools/issues/12/labels{/name}","comments_url":"https://api.github.com/repos/pabloi/labTools/issues/12/comments","events_url":"https://api.github.com/repos/pabloi/labTools/issues/12/events","html_url":"https://github.com/pabloi/labTools/issues/12","id":111828330,"number":12,"title":"EMG processing for 1 base (1-16 emg) only","user":{"login":"willpower2727","id":10742358,"avatar_url":"https://avatars.githubusercontent.com/u/10742358?v=3","gravatar_id":"","url":"https://api.github.com/users/willpower2727","html_url":"https://github.com/willpower2727","followers_url":"https://api.github.com/users/willpower2727/followers","following_url":"https://api.github.com/users/willpower2727/following{/other_user}","gists_url":"https://api.github.com/users/willpower2727/gists{/gist_id}","starred_url":"https://api.github.com/users/willpower2727/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/willpower2727/subscriptions","organizations_url":"https://api.github.com/users/willpower2727/orgs","repos_url":"https://api.github.com/users/willpower2727/repos","events_url":"https://api.github.com/users/willpower2727/events{/privacy}","received_events_url":"https://api.github.com/users/willpower2727/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/pabloi/labTools/labels/enhancement","name":"enhancement","color":"84b6eb"},{"url":"https://api.github.com/repos/pabloi/labTools/labels/question","name":"question","color":"cc317c"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-10-16T13:09:12Z","updated_at":"2015-10-16T13:09:12Z","closed_at":null,"body":"Yashar's study will only use 15 emg sensors, 1 base, but labtools is only currently setup to process emg from both bases.\r\n\r\nIs there an easy fix to let labtools know that it doesn't need to synchronize? It crashes when trying to synchronize:\r\n\r\nError using griddedInterpolant\r\nInterpolation requires at least two sample points in each dimension.\r\n\r\nError in interp1>Interp1DStripNaN (line 233)\r\n    F = griddedInterpolant(xi,vi,method);\r\n\r\nError in interp1 (line 171)\r\n        VqLite = Interp1DStripNaN(X,V,Xq,F.Method);\r\n\r\nError in findTimeLag (line 31)\r\nP2=interp1(0:length(P)-1,P,aux,'spline'); %For sub-sample resolution\r\n\r\nError in estimateDopplerShift (line 36)\r\n        [~,~,t(i)]=findTimeLag(aux1,aux2,1,Inf);\r\n\r\nError in matchSignals (line 60)\r\n[relativeShift,~] = estimateDopplerShift(signal1,alignedSignal2);\r\n\r\nError in loadTrials (line 257)\r\n        [~,timeScaleFactorA,lagInSamplesA,~] = matchSignals(refAux,aux(:,1));\r\n\r\nError in loadSubject (line 83)\r\nrawTrialData=loadTrials(trialMD,fileList,secFileList,info);\r\n\r\nError in c3d2mat (line 23)\r\n    [expData,rawExpData,adaptData]=loadSubject(info,eventClass{answer});\r\n\r\nError in interp1>Interp1DStripNaN (line 233)\r\n    F = griddedInterpolant(xi,vi,method);\r\n\r\nError in interp1 (line 171)\r\n        VqLite = Interp1DStripNaN(X,V,Xq,F.Method);\r\n\r\nError in findTimeLag (line 31)\r\nP2=interp1(0:length(P)-1,P,aux,'spline'); %For sub-sample resolution\r\n\r\nError in estimateDopplerShift (line 36)\r\n        [~,~,t(i)]=findTimeLag(aux1,aux2,1,Inf);\r\n\r\nError in matchSignals (line 60)\r\n[relativeShift,~] = estimateDopplerShift(signal1,alignedSignal2);\r\n\r\nError in loadTrials (line 257)\r\n        [~,timeScaleFactorA,lagInSamplesA,~] = matchSignals(refAux,aux(:,1));\r\n\r\nError in loadSubject (line 83)\r\nrawTrialData=loadTrials(trialMD,fileList,secFileList,info);\r\n\r\nError in c3d2mat (line 23)\r\n    [expData,rawExpData,adaptData]=loadSubject(info,eventClass{answer});"}}