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