mne-tools / mne-nirs

Process Near-Infrared Spectroscopy Data in MNE
https://mne.tools/mne-nirs/
BSD 3-Clause "New" or "Revised" License
79 stars 35 forks source link

Add function to drop sources and detectors #379

Closed rob-luke closed 3 years ago

rob-luke commented 3 years ago

What does this implement/fix?

Add function to drop sources and detectors

Additional information

Modeled on https://mne.tools/stable/generated/mne.io.Raw.html?highlight=drop#mne.io.Raw.drop_channels

codecov-commenter commented 3 years ago

Codecov Report

Merging #379 (0bbca72) into main (94d13f1) will decrease coverage by 0.22%. The diff coverage is 87.69%.

Impacted file tree graph

@@            Coverage Diff             @@
##             main     #379      +/-   ##
==========================================
- Coverage   93.69%   93.47%   -0.23%     
==========================================
  Files          51       51              
  Lines        1841     1900      +59     
  Branches      237      251      +14     
==========================================
+ Hits         1725     1776      +51     
- Misses         70       76       +6     
- Partials       46       48       +2     
Impacted Files Coverage Δ
mne_nirs/channels/_channels.py 80.95% <76.47%> (-5.26%) :arrow_down:
mne_nirs/channels/__init__.py 100.00% <100.00%> (ø)
mne_nirs/channels/tests/test_channels.py 100.00% <100.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 94d13f1...0bbca72. Read the comment docs.