bahanonu / ciatah

CIAtah (pronounced cheetah): a software package for calcium imaging analysis of one- and two-photon imaging datasets. Documentation: https://git.io/ciatah_docs. Formerly known as calciumImagingAnalysis (ciapkg).
https://git.io/ciatah_docs
MIT License
82 stars 21 forks source link

SNR data export #71

Open laopenti opened 3 years ago

laopenti commented 3 years ago

Hi, Biafra~

Lately, I've been working on a two-photon .tiff file through computeManualSortSignals on MatLab 2020b, win10. Normally, all things pretty good so far. Thank you for the update version2.5.1, it's amazing.

Could you please concretely enlighten a handy approach or code to help me to export the SNR value of every identified cell while or finishing the computeManualSortSignals part. I could only read it from the interface like below on-by-one.

Biafra_参数含义02

If there is no misunderstanding on SNR here in CIAtah v2.5.1, that is Signals Noise Ratio, an important parameter I would use someday. So, hope you would help me with that.

And, one more thing, have you ever considered uploading a teaching video on the Internet about the rest of the operation after computeManualSortSignals?

Best Wishes to you!

Benson from SheepMountain, NJ

bahanonu commented 3 years ago

hey Benson, great to hear things are working out for you. To grab the SNR you can load in the already processed data then compute SNR as below:

% Load data
[inputImages,inputSignals,infoStruct,algorithmStr] = ciapkg.io.loadSignalExtraction('path_to_file.mat');

% Compute SNR
inputSnr = computeSignalSnr(inputSignals,'detectMethod','raw','numStdsForThresh',2);

re: after computeManualSortSignals, are there specific steps or analyses you are referring to? We'll have a book chapter out soon that covers some later steps, e.g. comparing neural activity to behavior/stimuli.

laopenti commented 3 years ago

Hi, Biafra

Thanks for the reply so quickly.

Benson From SheepMountain, NJ