Hi, That's quite a useful automation :) Cheers, Edward On 5 December 2014 at 18:18, <tlinnet@xxxxxxxxxxxxx> wrote:
Author: tlinnet Date: Fri Dec 5 18:18:53 2014 New Revision: 26966 URL: http://svn.gna.org/viewcvs/relax?rev=26966&view=rev Log: Adding the new user function spectrum.error_analysis_per_field(), to quickly perform an spectrum error analysis. Modified: trunk/user_functions/spectrum.py Modified: trunk/user_functions/spectrum.py URL: http://svn.gna.org/viewcvs/relax/trunk/user_functions/spectrum.py?rev=26966&r1=26965&r2=26966&view=diff ============================================================================== --- trunk/user_functions/spectrum.py (original) +++ trunk/user_functions/spectrum.py Fri Dec 5 18:18:53 2014 @@ -174,6 +174,28 @@ uf.wizard_apply_button = False +# The spectrum.error_analysis_per_field user function. +uf = uf_info.add_uf('spectrum.error_analysis_per_field') +uf.title = "Use spectrum ID's per each field strength for an error analysis for peak intensities." +uf.title_short = "Per field strength peak intensity error analysis." +# Description. +uf.desc.append(Desc_container()) +uf.desc[-1].add_paragraph("Please see the spectrum.error_analysis user function documentation.") +uf.desc[-1].add_paragraph("This user function will collect all spectrum ID's for each field strength separately, and call the spectrum.error_analysis with these.") +uf.desc[-1].add_paragraph("This function is meant as a short-cut for the spectrum.error_analysis function.") +# Prompt examples. +uf.desc.append(Desc_container("Prompt examples")) +uf.desc[-1].add_paragraph("To collect all spectrum ID's per field strength, and perform peak intensity error analysis:") +uf.desc[-1].add_prompt("relax> spectrum.error_analysis_per_field()") +uf.backend = spectrum.error_analysis_per_field +uf.menu_text = "&error_analysis_per_field" +uf.gui_icon = "oxygen.categories.applications-education" +uf.wizard_height_desc = 530 +uf.wizard_size = (1000, 700) +uf.wizard_image = WIZARD_IMAGE_PATH + 'spectrum' + sep + 'spectrum_200.png' +uf.wizard_apply_button = False + + # The spectrum.integration_points user function. uf = uf_info.add_uf('spectrum.integration_points') uf.title = "Set the number of summed points used in volume integration of a given spin in a spectrum." _______________________________________________ relax (http://www.nmr-relax.com) This is the relax-commits mailing list relax-commits@xxxxxxx 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