clock_eseem Two pieces of python code here are for 1 and 7 nuclear spin bath. Code is simple translation of physics formula.