WIP: Use greater distance when defining overlapping nirs channels #8307
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
What does this implement/fix?
When you have a NIRS recording with lots of very close channels the topomap looks bad. We had code to handle overlapping NIRS channels, but it was for exactly overlapping channels. This extends what's considered overlapping channels to 1.5cm. In NIRS experiments the source and detectors are ideally placed 3cm apart, so I have taken half this value and it looks nice in my figures.
Example of topoplot with existing value (note the small black dots representing channels in little clusters)...
And with the new value
Additional information
1.5 cm seems to play nicely with the topographic plotting too. But Im open to other suggested values or perhaps a totally different approach?