Author: bugman Date: Tue Jan 15 11:55:49 2008 New Revision: 4730 URL: http://svn.gna.org/viewcvs/relax?rev=4730&view=rev Log: Started to pass data into maths_fns.n_state_model.N_state_opt. Modified: branches/N_state_model/specific_fns/n_state_model.py Modified: branches/N_state_model/specific_fns/n_state_model.py URL: http://svn.gna.org/viewcvs/relax/branches/N_state_model/specific_fns/n_state_model.py?rev=4730&r1=4729&r2=4730&view=diff ============================================================================== --- branches/N_state_model/specific_fns/n_state_model.py (original) +++ branches/N_state_model/specific_fns/n_state_model.py Tue Jan 15 11:55:49 2008 @@ -192,7 +192,8 @@ A, b = self.linear_constraints() # Set up the class instance containing the target function. - model = N_state_opt() + print cdp + model = N_state_opt(init_params=param_vector, data=cdp.align_tensor, errors=cdp.align_tensor_errors) # Setup the minimisation algorithm when constraints are present. if constraints and not search('^[Gg]rid', min_algor):