paramagpy.metal.Metal.fast_dsa_r2

Metal.fast_dsa_r2(posarray, gammaarray, csaarray=0.0)[source]

Vectorised version of paramagpy.metal.Metal.dsa_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

  • csaarray (array with shape (m,3,3) (optional)) – array of CSA tensors of the spins. This defualts to 0.0, meaning CSAxDSA crosscorrelation is not accounted for.

Returns

rates – The R2 relaxation rates in /s

Return type

array with shape (n,1)