cortex-lab / Suite2P

Tools for processing 2P recordings
Other
121 stars 66 forks source link

where is wrapperOASIS? #108

Closed Student213 closed 6 years ago

Student213 commented 6 years ago

I dont have wrapperOASIS in my directory. I want to have the spike time and the deconvolved amplitudes, for this I use deconvolution_3 and deconvType = OASIS. So where can i find wrapperOASIS? Or is there an another method I can use for the spike time and amplitude?

with kind regards.

marius10p commented 6 years ago

Please add the full Suite2p repository to your path. For example, addpath(genpath(PATH_SUITE2P)). That wrapper should be somewhere in the deconvolution subfolder.

Student213 commented 6 years ago

Add the full Suite2P where, in the master_file?

% check out the README file for detailed instructions (and extra options)
addpath('/home/mattijskuiper/Example') % add the path to your make_db file

%path to the OASIS
addpath(genpath('/home/mattijskuiper/OASIS'))

% overwrite any of these default options in your make_db file for individual experiments
make_db_example; % RUN YOUR OWN MAKE_DB SCRIPT TO  RUN HERE

ops0.toolbox_path = '/home/mattijskuiper/Suite2P-master';
if exist(ops0.toolbox_path, 'dir')
    addpath(genpath(ops0.toolbox_path)) % add local path to the toolbox
else
    error('toolbox_path does not exist, please change toolbox_path');
end

there is already a path to my Suite2P.

When I search wrapperOASIS I get one result.

carsen-stringer commented 6 years ago

sorry, that is an old function. Currently we run add_deconvolution which calls wrapperDECONV.m. If 'OASIS' is chosen then it calls OASISpreprocess. If you want to run the deconvolution without suite2p, then you can just put your traces and your neuropil directly into wrapperDECONV (with the options structure that you can see in add_deconvolution)