cortex-lab / Suite2P

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

add back soft signal extraction #56

Closed marius10p closed 7 years ago

marius10p commented 7 years ago

Due to the possibility of overlapping ROIs in the "Sourcery" version, I had removed the simpler signal and neuropil extraction method (computing signal inside and outside of ROIs).

We can add this back if we discard all overlapping pixels. In addition, we must ensure that the contaminated pixels are not used for neuropil subtraction.

marius10p commented 7 years ago

This is now done by default. The new option is called ops.signalExtraction, and set to 'raw' by default. The alternative, using regression to demix signals, is called 'regression'.