Skip to content

Commit

Permalink
Update contributing_code.md
Browse files Browse the repository at this point in the history
  • Loading branch information
avolu authored Feb 16, 2024
1 parent 412c79f commit cca7c5b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion _doc/contributing_code.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ Cedalion is using XArrays as main data structures for processing. There are curr

## Example for contributing new functionality to Cedalion
In this example we will incorporate two new functions into the toolbox: A function that identifies motion artifacts in fNIRS data and a function to prune bad channels. Both functions are replicating the Homer3 functions "hmR_MotionArtifact" and "hmR_PruneChannels".
The corresponding jupyter notebook example to showcase the code in this file is the [Pruning and Motion Artefacts Notebook Example](https://github.com/ibs-lab/cedalion/blob/alex_working/examples/pruning_and_motion_artifacts.ipynb)
The corresponding jupyter notebook example to showcase the code in this file is the [Pruning and Motion Artefacts Notebook Example](https://github.com/ibs-lab/cedalion/blob/alex_working/examples/pruning_and_motion_artifacts.ipynb). **Please check it out to get an idea of how to get snirf data into a typical xarray structure that the functions are expecing.**

### Where do these functions belong?
The function to prune channels belongs to /siproc/quality.py and will simply be called "prune". It will then be available with
Expand Down

0 comments on commit cca7c5b

Please sign in to comment.