Conveniently generate BIDS files from SNIRF files.
snirf2bids requires Python > 3.
Any SNIRF file with a valid BIDS name can be converted into BIDS metadata text files.
For use with snirf2bids, a SNIRF file name must include at least the sub-
and task-
entitites and end in _nirs.snirf
, i.e. sub-01_task-tapping_nirs.snirf
.
snirf2bids.snirf2bids('<path to snirf file>', '<folder to generate files in>')
s = snirf2bids.snirf2json('<path to snirf file>') # Returns serialized JSON in which keys are filenames and values are their contents
Developed by BU BME Senior Design Group 3 (2022): Christian Arthur, Jeonghoon Choi, Jiazhen Liu, Juncheng Zhang and the Boston University Neurophotonics Center.
@Christian Arthur 🍈
@Juncheng Zhang 🍊
@Jeonghoon Choi 🍍
@Jiazhen Liu 🍇
This project exists thanks to:
![](https://github.com/sstucker.png?raw=true)
![](https://github.com/rob-luke.png?raw=true)
![](https://github.com/chrsthur.png?raw=true)
![](https://github.com/andyzjc.png?raw=true)
![](https://github.com/jeonghoonchoi.png?raw=true)
![](https://github.com/ELISALJZ.png?raw=true)
![](https://github.com/dboas.png?raw=true)