cosanlab / nltools

Python toolbox for analyzing imaging data
https://nltools.org
MIT License
120 stars 42 forks source link

We can optimize the function here #404

Closed TiankangXie closed 1 year ago

TiankangXie commented 2 years ago

https://github.com/cosanlab/nltools/blob/a2a54df71972f41e4efc77dd861fd07bd214f0ec/nltools/data/brain_data.py#L958

TiankangXie commented 2 years ago

See more here: https://stackoverflow.com/questions/30143417/computing-the-correlation-coefficient-between-two-multi-dimensional-arrays/30143754#30143754