nwbParams.m 1.5 KB

12345678910111213141516171819202122232425262728
  1. % NWB parameters common across all animals and recording sessions
  2. % Parameters that may change:
  3. % dataset
  4. projectName = 'Brainwide Infraslow Activity Dynamics';
  5. experimenter = 'Martynas Dervinis';
  6. institution = 'University of Leicester';
  7. publications = {};
  8. lab = 'Michael Okun lab';
  9. dataset = 'neuropixels';
  10. videoFrameRate = 25; % Hz
  11. % Find the repository root folder
  12. rootFolderName = 'convert2nwbMatNpx';
  13. cfd = mfilename('fullpath');
  14. startInd = strfind(cfd, rootFolderName);
  15. rootFolder = cfd(1:startInd+numel(rootFolderName)-1);
  16. % Assign data folders
  17. if strcmpi(dataset, 'neuronexus')
  18. rawDataFolder = [rootFolder filesep 'nnx_raw_derived_data']; % Raw and certain derived Neuronexus data for all animals
  19. derivedDataFolder = [rootFolder filesep 'nnx_derived_data']; % Neuroscience Gateway analysis scripts, functions, and downloaded processed Neuronexus data for all animals
  20. derivedDataFolderNWB = [rootFolder filesep 'nnx_derived_data_nwb']; % Derived Neuronexus data for all animals placed in NWB format
  21. elseif strcmpi(dataset, 'neuropixels')
  22. rawDataFolder = [rootFolder filesep 'npx_raw_derived_data']; % Raw and certain derived Neuropixels data for all animals
  23. derivedDataFolder = [rootFolder filesep 'npx_derived_data']; % Neuroscience Gateway analysis scripts, functions, and downloaded processed Neuropixels data for all animals
  24. derivedDataFolderNWB = [rootFolder filesep 'npx_derived_data_nwb']; % Derived Neuropixels data for all animals placed in NWB format
  25. end