neurostuff / NiMARE

Coordinate- and image-based meta-analysis in Python
https://nimare.readthedocs.io
MIT License
182 stars 58 forks source link

Optimize ImagesToCoordinates with `Parallel` #871

Open JulioAPeraza opened 9 months ago

JulioAPeraza commented 9 months ago

Summary

Parallelize the for loop:

https://github.com/neurostuff/NiMARE/blob/edbbe19cad0bfc1c150ea28f2dce05bdb8dedca9/nimare/transforms.py#L370

Additional details

For large datasets like Neurovault, ImagesToCoordinates takes a lot of time to estimate the coordinates for all the images. It will be nice to run this process in parallel.

Next steps