paramagpy.metal.Metal.fast_first_invariant_squared¶
- static Metal.fast_first_invariant_squared(t)[source]¶
Vectorised version of
paramagpy.metal.Metal.first_invariant_squared()
This is generally used for speed in fitting PRE data
- Parameters
tensorarray (array with shape (n,3,3)) – array of shielding tensors
- Returns
firstInvariantSquared – the first invariants squared of the tensors
- Return type
array with shape (n,1)