AbbyCui / CalciumImagingAnalysis

1 stars 2 forks source link

Function to graph/export the smoothed CSVs from only a subset of cells #10

Open cawarwick opened 1 year ago

cawarwick commented 1 year ago

Make function to graph a set of ROIs given as a CSV and also export the traces for those cells as a CSV e.g. you want to graph only GRP responders or Projection Neurons and/or export the raw traces of only GRP/SPBNs without having to manually open every CSV and find those cells.

I image maybe we could implement something similar to the BadROI function where it could check if the number is present in the 'goodROI' CSV and them create an array and CSV export it?

cawarwick commented 1 month ago

Rename20xAvg.py and TemplateMatching.py have now addressed most of this feature. It doesn't graph them specifically but it can average and export a specific subset of cells for graphing outside of this environment.

cawarwick commented 1 month ago

Maybe as an update to this we could have the traces exported, but also include the option to export a Mean and errors bars rather than having to make them post hoc