Author: bugman Date: Mon Dec 1 15:42:53 2008 New Revision: 8077 URL: http://svn.gna.org/viewcvs/relax?rev=8077&view=rev Log: Fixed the setting of the spin specific peak intensity errors in __errors_repl(). This should be an array equal to cdp.sigma_I. Modified: branches/spectral_errors/generic_fns/spectrum.py Modified: branches/spectral_errors/generic_fns/spectrum.py URL: http://svn.gna.org/viewcvs/relax/branches/spectral_errors/generic_fns/spectrum.py?rev=8077&r1=8076&r2=8077&view=diff ============================================================================== --- branches/spectral_errors/generic_fns/spectrum.py (original) +++ branches/spectral_errors/generic_fns/spectrum.py Mon Dec 1 15:42:53 2008 @@ -206,14 +206,14 @@ # Create the standard deviation data structure. cdp.sigma_I[i] = sqrt(cdp.var_I[i]) - # Set the spin specific errors. - for spin in spin_loop(): - # Skip deselected spins. - if not spin.select: - continue - - # Set the error. - spin.intensity_err = cdp.sigma_I[i] + # Set the spin specific errors. + for spin in spin_loop(): + # Skip deselected spins. + if not spin.select: + continue + + # Set the error. + spin.intensity_err = cdp.sigma_I def __errors_volume_no_repl():