Author: bugman Date: Wed Feb 22 12:37:26 2012 New Revision: 15364 URL: http://svn.gna.org/viewcvs/relax?rev=15364&view=rev Log: Created 3 system tests for the 2-state rotor frame order test data. Added: branches/frame_order_testing/test_suite/system_tests/scripts/frame_order/cam/rotor_2_state.py - copied, changed from r15359, branches/frame_order_testing/test_suite/system_tests/scripts/frame_order/cam/rotor.py Modified: branches/frame_order_testing/test_suite/system_tests/frame_order.py Modified: branches/frame_order_testing/test_suite/system_tests/frame_order.py URL: http://svn.gna.org/viewcvs/relax/branches/frame_order_testing/test_suite/system_tests/frame_order.py?rev=15364&r1=15363&r2=15364&view=diff ============================================================================== --- branches/frame_order_testing/test_suite/system_tests/frame_order.py (original) +++ branches/frame_order_testing/test_suite/system_tests/frame_order.py Wed Feb 22 12:37:26 2012 @@ -501,6 +501,33 @@ self.check_chi2(0.1460413756923267) + def test_cam_rotor_2_state(self): + """Test the 2-state rotor frame order model of CaM.""" + + # The flags, execute the script, and then check the chi2 value. + self.flags() + self.interpreter.run(script_file=self.cam_path+'rotor_2_state.py') + self.check_chi2(0.0+0.0) + + + def test_cam_rotor_2_state_pcs(self): + """Test the 2-state rotor frame order model of CaM (with only PCS data).""" + + # The flags, execute the script, and then check the chi2 value. + self.flags(rdc=False) + self.interpreter.run(script_file=self.cam_path+'rotor_2_state.py') + self.check_chi2(0.0) + + + def test_cam_rotor_2_state_rdc(self): + """Test the 2-state rotor frame order model of CaM (with only RDC data).""" + + # The flags, execute the script, and then check the chi2 value. + self.flags(pcs=False) + self.interpreter.run(script_file=self.cam_path+'rotor_2_state.py') + self.check_chi2(0.0) + + def test_cam_rotor2(self): """Test the second rotor frame order model of CaM.""" Copied: branches/frame_order_testing/test_suite/system_tests/scripts/frame_order/cam/rotor_2_state.py (from r15359, branches/frame_order_testing/test_suite/system_tests/scripts/frame_order/cam/rotor.py) URL: http://svn.gna.org/viewcvs/relax/branches/frame_order_testing/test_suite/system_tests/scripts/frame_order/cam/rotor_2_state.py?p2=branches/frame_order_testing/test_suite/system_tests/scripts/frame_order/cam/rotor_2_state.py&p1=branches/frame_order_testing/test_suite/system_tests/scripts/frame_order/cam/rotor.py&r1=15359&r2=15364&rev=15364&view=diff ============================================================================== --- branches/frame_order_testing/test_suite/system_tests/scripts/frame_order/cam/rotor.py (original) +++ branches/frame_order_testing/test_suite/system_tests/scripts/frame_order/cam/rotor_2_state.py Wed Feb 22 12:37:26 2012 @@ -30,14 +30,14 @@ class Analysis(Base_script): # Set up some class variables. - directory = 'rotor' + directory = 'rotor_2_state' model = 'rotor' ave_pos_alpha = 4.3434999280669997 ave_pos_beta = 0.43544332764249905 ave_pos_gamma = 3.8013235235956007 - axis_theta = 0.9600799785953431 - axis_phi = 4.0322755062196229 - cone_sigma_max = 30.0 / 360.0 * 2.0 * pi + axis_theta = 0.52344988559983696152 + axis_phi = 0.89068285262982982431 + cone_sigma_max = 10.0 / 360.0 * 2.0 * pi cone = True num_int_pts = 50