ingo-m / pyprf

A free & open python tool for population receptive field analysis.
GNU General Public License v3.0
15 stars 3 forks source link

Avoid changes to model time courses in parallel processes #24

Closed ingo-m closed 6 years ago

ingo-m commented 6 years ago

In order to avoid write access to model time courses in parallel processes the following operation:

# Change type to float 32:
aryFuncChnk = aryFuncChnk.astype(np.float32)
aryPrfTc = aryPrfTc.astype(np.float32)

located at pyprf/pyprf/analysis/find_prf_cpu.py line 135 should be moved to pyprf/pyprf/analysis/pyprf_main.py, line 149.

ingo-m commented 6 years ago

Solved with 98f1c11adc48297b3bc0834d4dcbbb3b14edcafe.