A change in the definition of spatial frequency bandwidth?
Since the beginning, we have used a definition of bandwidth in the spatial frequency domain which was quite standard (see supp material for instance):
E(f;sf0,Bsf)∝1f⋅exp(−.5log(fsf0)2log(1+Bsfsf0)2)
This is implemented in the folowing code which reads:
env = 1./f_radius*np.exp(-.5*(np.log(f_radius/sf_0)**2)/(np.log((sf_0+B_sf)/sf_0)**2))
However the one implemented in the code looks different (thanks to Kiana for spotting this!), so that one can think that the code is using:
E(f;sf0,Bsf)∝1f⋅exp(−.5log(fsf0)2log((1+Bsfsf0)2))
The difference is minimal, yet very important for a correct definition of the bandwidth!
In fact, we are really using the correct formula, but to make it clearer, I just changed it to this new code which reads:
env = 1./f_radius*np.exp(-.5*(np.log(f_radius/sf_0)**2)/((np.log((sf_0+B_sf)/sf_0))**2))