paramagpy.metal.Metal.fast_sbm_r2

Metal.fast_sbm_r2(posarray, gammaarray)[source]

Vectorised version of paramagpy.metal.Metal.sbm_r2()

This is generally used for speed in fitting PRE data

Parameters
  • posarray (array with shape (n,3)) – array of positions in meters

  • gammaarray (array with shape (n,3)) – array of gyromagnetic ratios of the spins

Returns

rates – The R2 relaxation rates in /s

Return type

array with shape (n,1)