paramagpy.metal.Metal.pre_mesh

Metal.pre_mesh(mesh, gamma=267512897.63847807, rtype='r2', dsa=True, sbm=True)[source]

Calculate a PRE value at each location of cubic grid of points

Parameters
  • mesh (array with shape (n,n,n,3)) – a cubic grid as generated by the method <make_mesh>

  • gamma (float) – the gyromagnetic ratio of the spin

  • rtype (str) – either ‘r1’ or ‘r2’, the relaxation type

  • dsa (bool (optional)) – when True (defualt), DSA or Curie spin relaxation is included

  • sbm (bool (optional)) – when True (defualt), SBM spin relaxation is included

Returns

pre_mesh – The same grid shape, with PRE values at the respective locations

Return type

array with shape (n,n,n,1)