Author: bugman Date: Mon Dec 1 10:52:19 2008 New Revision: 8074 URL: http://svn.gna.org/viewcvs/relax?rev=8074&view=rev Log: Some fixes for the back_calc() relax-fit method. Not sure if this method will work yet! Modified: branches/spectral_errors/specific_fns/relax_fit.py Modified: branches/spectral_errors/specific_fns/relax_fit.py URL: http://svn.gna.org/viewcvs/relax/branches/spectral_errors/specific_fns/relax_fit.py?rev=8074&r1=8073&r2=8074&view=diff ============================================================================== --- branches/spectral_errors/specific_fns/relax_fit.py (original) +++ branches/spectral_errors/specific_fns/relax_fit.py Mon Dec 1 10:52:19 2008 @@ -157,7 +157,7 @@ scaling_matrix = self.assemble_scaling_matrix(spin=spin, scaling=False) # Initialise the relaxation fit functions. - setup(num_params=len(spin.params), num_times=len(cdp.relax_times), values=spin.ave_intensities, sd=cdp.sigma_I, relax_times=cdp.relax_times, scaling_matrix=scaling_matrix) + setup(num_params=len(spin.params), num_times=len(cdp.relax_times), values=spin.intensities, sd=spin.intensity_err, relax_times=cdp.relax_times, scaling_matrix=scaling_matrix) # Make a single function call. This will cause back calculation and the data will be stored in the C module. func(param_vector)