pRF_CreateParallel4LISA_ephys.m 1.1 KB

1234567891011121314151617181920212223242526272829
  1. % CreateParallel Bash scripts for pRF fitting on LISA
  2. m={'M03','M04'};
  3. for i=1:2
  4. M=m{i};
  5. joblist.monkey = M;
  6. joblist.sessions = {...
  7. 'mua', [];...
  8. 'lfp', [];...
  9. }; % SESSION nWorkers
  10. joblist.instances = {'1','2','3','4','5','6','7','8'}; % 2 digits, leading zero!
  11. joblist.sessinc = 1:size(joblist.sessions,1);
  12. joblist.type = 'ephys'; % used as label NB! also the folder where data is loaded from
  13. joblist.modeltype = 'linear_ephys';
  14. % 'css_hrf' / 'linear_hrf' / 'dog_hrf'
  15. % 'css_ephys' / 'linear_ephys' / 'dog_ephys'
  16. joblist.xvalmode = 1; % 0 / 1 / 2
  17. joblist.resfld = ['linear_ephys_cv' num2str(joblist.xvalmode) '_neggain']);
  18. parallel_fun_dir = '$TMPDIR/PRF/'; %$TMPDIR is fast 'scratch' space
  19. parallel_fun = 'pRF_FitModel_LISA_ephys_neggain';
  20. job_name = ['FitPRF_' joblist.resfld];
  21. fprintf('\n== Running create_parallel_LISA ==')
  22. pRF_CreateParallel4LISA_worker_ephys(...
  23. parallel_fun, joblist, parallel_fun_dir, job_name)
  24. end