Author: bugman Date: Sat Jul 3 20:08:53 2010 New Revision: 11287 URL: http://svn.gna.org/viewcvs/relax?rev=11287&view=rev Log: The N-state model calculate() method now stored the back-calculated RDCs and PCSs and Q factors. Modified: 1.3/specific_fns/n_state_model.py Modified: 1.3/specific_fns/n_state_model.py URL: http://svn.gna.org/viewcvs/relax/1.3/specific_fns/n_state_model.py?rev=11287&r1=11286&r2=11287&view=diff ============================================================================== --- 1.3/specific_fns/n_state_model.py (original) +++ 1.3/specific_fns/n_state_model.py Sat Jul 3 20:08:53 2010 @@ -1517,6 +1517,17 @@ # Store the global chi-squared value. cdp.chi2 = chi2 + + # Store the back-calculated data. + self._minimise_bc_data(model) + + # Calculate the RDC Q-factors. + if 'rdc' in data_types: + rdc.q_factors() + + # Calculate the PCS Q-factors. + if 'pcs' in data_types: + pcs.q_factors() # NOE potential. if hasattr(cdp, 'noe_restraints'):