Hi, This is the standard way of calculating theta. Note that some of the dispersion models in lib.dispersion do not use this code and actually calculate a different theta value using the population averaged spin-lock offset. Regards, Edward On 13 March 2014 19:44, Troels E. Linnet <NO-REPLY.INVALID-ADDRESS@xxxxxxx> wrote:
Follow-up Comment #34, sr #3124 (project relax): The theta calculation in relax is: # Calculate the tilt angle. omega1 = point * 2.0 * pi Delta_omega = shifts[ei][si][mi] - offsets[ei][si][mi][oi] Domega[ei][si][mi][oi].append(Delta_omega) if Delta_omega == 0.0: theta[ei][si][mi][oi].append(pi / 2.0) else: theta[ei][si][mi][oi].append(atan(omega1 / Delta_omega)) _______________________________________________________ Reply to this item at: <http://gna.org/support/?3124> _______________________________________________ Message sent via/by Gna! http://gna.org/ _______________________________________________ relax (http://www.nmr-relax.com) This is the relax-devel mailing list relax-devel@xxxxxxx To unsubscribe from this list, get a password reminder, or change your subscription options, visit the list information page at https://mail.gna.org/listinfo/relax-devel