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.
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'.
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.