catalystneuro / leifer_lab_to_nwb

Conversion scripts for the Leifer lab. Includes the publication Neural signal propagation atlas of Caenorhabditis elegans (Nature, 2023).
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

Outputs of pumpprobe signal extraction #7

Closed CodyCBakerPhD closed 2 weeks ago

CodyCBakerPhD commented 3 months ago

In pumpprobe/preprocessing I see a 'responses' folder with dumped .png plots of extracted signals, but having trouble finding that data output saved from the wormdatamodel.signal.extract function

emosb commented 2 months ago

The responses folder is holding .png files which are generated loading in the signal file (and doing additional post-processing and smoothing on this data according to user parameters).

There are multiple files storing the signal, using slightly different parameters/ordering. If I'm tracing the preprocessing code correctly, it looks like initially the signal is saved to green-prematching.txt (the most raw signal extraction). If the user adds the tag matchless-tracking when running this preprocessing code (which to my knowledge is standard) then the output is saved in green_matchless.txt. * The green.pickle and green.txt files are both generated as the last step of this preprocessing code - the green.pickle file is what is loaded in while making these .png files

emosb commented 2 months ago

I believe the green.txt files and green.pickle files should store the same information, just in different formats

CodyCBakerPhD commented 2 weeks ago

This has been explained at this point, thank you