paramagpy.metal.Metal.fast_second_invariant_squared¶
- static Metal.fast_second_invariant_squared(t)[source]¶
Vectorised version of
paramagpy.metal.Metal.second_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
secondInvariantSquared – the second invariants squared of the tensors
- Return type
array with shape (n,1)