Author: bugman
Date: Fri Feb 6 15:01:00 2015
New Revision: 27598
URL: http://svn.gna.org/viewcvs/relax?rev=27598&view=rev
Log:
Updated the pcs.structural_noise user function to use the relax library
plotting API.
Modified:
trunk/pipe_control/pcs.py
Modified: trunk/pipe_control/pcs.py
URL:
http://svn.gna.org/viewcvs/relax/trunk/pipe_control/pcs.py?rev=27598&r1=27597&r2=27598&view=diff
==============================================================================
--- trunk/pipe_control/pcs.py (original)
+++ trunk/pipe_control/pcs.py Fri Feb 6 15:01:00 2015
@@ -1131,10 +1131,10 @@
file = open_write_file(file, dir, force)
# The header.
- grace.write_xy_header(file=file, title="PCS structural noise",
subtitle="%s Angstrom structural noise"%rmsd, data_type=['pcs_bc', 'pcs'],
sets=[len(align_ids)], set_names=[align_ids],
symbol_sizes=[[0.5]*len(align_ids)], linetype=[[0]*len(align_ids)],
axis_labels=[["Ln\\S3+\\N to spin distance (Angstrom)", "PCS standard deviation
(ppm)"]])
+ write_xy_header(format='grace', file=file, title="PCS structural
noise", subtitle="%s Angstrom structural noise"%rmsd, data_type=['pcs_bc',
'pcs'], sets=[len(align_ids)], set_names=[align_ids],
symbol_sizes=[[0.5]*len(align_ids)], linetype=[[0]*len(align_ids)],
axis_labels=[["Ln\\S3+\\N to spin distance (Angstrom)", "PCS standard deviation
(ppm)"]])
# The main data.
- grace.write_xy_data(data=[grace_data], file=file, graph_type='xy')
+ write_xy_data(format='grace', data=[grace_data], file=file,
graph_type='xy')
def weight(align_id=None, spin_id=None, weight=1.0):
_______________________________________________
relax (http://www.nmr-relax.com)
This is the relax-commits mailing list
[email protected]
To unsubscribe from this list, get a password
reminder, or change your subscription options,
visit the list information page at
https://mail.gna.org/listinfo/relax-commits