mailr7995 - /branches/spectral_errors/sample_scripts/noe.py


Others Months | Index by Date | Thread Index
>>   [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Header


Content

Posted by edward on November 20, 2008 - 23:40:
Author: bugman
Date: Thu Nov 20 23:40:45 2008
New Revision: 7995

URL: http://svn.gna.org/viewcvs/relax?rev=7995&view=rev
Log:
Modified the noe.py sample script to use the new 'spectrum' user functions.

This copies the changes of r7994 which were made to the equivalent system 
test.


Modified:
    branches/spectral_errors/sample_scripts/noe.py

Modified: branches/spectral_errors/sample_scripts/noe.py
URL: 
http://svn.gna.org/viewcvs/relax/branches/spectral_errors/sample_scripts/noe.py?rev=7995&r1=7994&r2=7995&view=diff
==============================================================================
--- branches/spectral_errors/sample_scripts/noe.py (original)
+++ branches/spectral_errors/sample_scripts/noe.py Thu Nov 20 23:40:45 2008
@@ -32,16 +32,16 @@
 structure.load_spins(spin_id='@N')
 
 # Load the reference spectrum and saturated spectrum peak intensities.
-noe.read(file='ref.list', spectrum_type='ref')
-noe.read(file='sat.list', spectrum_type='sat')
+spectrum.read_intensities(file='ref.list', spectrum_id='ref')
+spectrum.read_intensities(file='sat.list', spectrum_id='sat')
 
 # Set the errors.
-noe.error(error=3600, spectrum_type='ref')
-noe.error(error=3000, spectrum_type='sat')
+spectrum.baseplane_rmsd(error=3600, spectrum_id='ref')
+spectrum.baseplane_rmsd(error=3000, spectrum_id='sat')
 
 # Individual residue errors.
-noe.error(error=122000, spectrum_type='ref', spin_id=":114")
-noe.error(error=8500, spectrum_type='sat', spin_id=":114")
+spectrum.baseplane_rmsd(error=122000, spectrum_id='ref', spin_id=":114")
+spectrum.baseplane_rmsd(error=8500, spectrum_id='sat', spin_id=":114")
 
 # Deselect unresolved residues.
 deselect.read(file='unresolved')




Related Messages


Powered by MHonArc, Updated Fri Nov 21 10:00:03 2008