cortex-lab / Suite2P

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

How to specify that there is no red channel #83

Closed bill-connelly closed 7 years ago

bill-connelly commented 7 years ago

Looking at some of the variables (like firstIdx) I think Suite2p is thinking I have two channels.

What variables do I set in make_db or master_file to let suite2p know that there is only one channel?

Or is that impossible? If so, how do I get it to ignore the red channel? I've already got db(i).AlignToRedChannel= 0

marius10p commented 7 years ago

If you do not set any red channel options anywhere, it will assume one channel. You can enforce this option by setting db(i).nchannels = 1. But this should really be the default, unless your tiff headers contain the information as a tag.