Code for common analysis
plab.locations.(location)
server_data_path
: server location- ports/local workflow/github: used in rigging code
plab.locations.filename(drive,animal,rec_day,rec_time,filepart1,...,filepartN)
: construct lab filename
plab.find_recordings(animal,day,workflow)
: find recordings (specific or general) and recording modalities
Call functions from plab.wf.(function)
:
batch_widefield_preprocess
: run on widefield computer after experiment, calls preprocess_widefield
for all local data
hemo_correct(U_neuro,V_neuro,t_neuro,U_hemo,V_hemo,t_hemo)
: apply hemodynamic correction from alternating blue/violet
svd2px(U,V)
: reconstruct pixels from SVD components
svd_dff(U,V,mean_image)
: make deltaF/F V from SVD components
change_U(U,V,newU)
: convert V from one set of U's to another