Package test_suite :: Package system_tests :: Module frame_order :: Class Frame_order
[hide private]
[frames] | no frames]

Class Frame_order

source code


TestCase class for the functional tests of the frame order theories.

Nested Classes [hide private]

Inherited from unittest.case.TestCase: failureException

Instance Methods [hide private]
 
__init__(self, methodName='runTest')
Skip the tests if scipy is not installed.
source code
 
setUp(self)
Set up for all the functional tests.
source code
str
mesg_opt_debug(self)
Method for returning a string to help debug the minimisation.
source code
 
space_probe(self, ref_chi2=None, params=None, delta=0.0523598775598)
Probe the space around the supposed minimum.
source code
 
test_cam_free_rotor(self)
Test the free rotor frame order model of CaM.
source code
 
test_cam_free_rotor2(self)
Test the second free rotor frame order model of CaM.
source code
 
test_cam_iso_cone_free_rotor(self)
Test the isotropic cone, free rotor frame order model of CaM.
source code
 
test_cam_iso_cone_free_rotor2(self)
Test the second isotropic cone, free rotor frame order model of CaM.
source code
 
test_cam_rigid(self)
Test the rigid frame order model of CaM.
source code
 
test_cam_rotor(self)
Test the rotor frame order model of CaM.
source code
 
test_cam_rotor2(self)
Test the second rotor frame order model of CaM.
source code
 
test_model_free_rotor(self)
Test the free rotor frame order model.
source code
 
test_model_free_rotor_eigenframe(self)
Test the free rotor frame order model in the eigenframe.
source code
 
test_model_iso_cone(self)
Test the isotropic cone frame order model.
source code
 
test_model_iso_cone_free_rotor(self)
Test the free rotor isotropic cone frame order model.
source code
 
test_model_iso_cone_free_rotor_eigenframe(self)
Test the free rotor isotropic cone frame order model in the eigenframe.
source code
 
test_model_pseudo_ellipse(self)
Test the pseudo-ellipse frame order model.
source code
 
test_model_pseudo_ellipse_free_rotor(self)
Test the free rotor pseudo-elliptic cone frame order model.
source code
 
test_model_pseudo_ellipse_torsionless(self)
Test the pseudo-ellipse frame order model.
source code
 
test_model_rotor(self)
Test the rotor frame order model.
source code
 
test_model_rotor_eigenframe(self)
Test the rotor frame order model in the eigenframe.
source code
 
test_opendx_map(self)
Test the mapping of the Euler angle parameters for OpenDx viewing.
source code
 
test_opt_rigid_no_rot(self)
Test the 'rigid' model for unrotated tensors with no motion.
source code
 
test_opt_rigid_rand_rot(self)
Test the 'rigid' model for randomly rotated tensors with no motion.
source code
 
test_parametric_restriction_iso_cone_to_iso_cone_free_rotor(self)
Parametric restriction of the isotropic cone to the free rotor isotropic cone frame order model.
source code
 
test_parametric_restriction_pseudo_ellipse_to_iso_cone(self)
Parametric restriction of the pseudo-ellipse to the isotropic cone frame order model.
source code
 
test_parametric_restriction_pseudo_ellipse_to_iso_cone_free_rotor(self)
Parametric restriction of the pseudo-ellipse to the free rotor isotropic cone frame order model.
source code
 
test_parametric_restriction_pseudo_ellipse_free_rotor_to_iso_cone(self)
Parametric restriction of the pseudo-ellipse to the isotropic cone frame order model.
source code
 
test_parametric_restriction_pseudo_ellipse_free_rotor_to_iso_cone_free_rotor(self)
Parametric restriction of the free rotor pseudo-ellipse to the free rotor isotropic cone frame order model.
source code
 
test_pseudo_ellipse(self)
Test the pseudo-ellipse target function.
source code
 
test_pseudo_ellipse_torsionless(self)
Test the torsionless pseudo-ellipse target function.
source code

Inherited from base_classes.SystemTestCase: tearDown

Inherited from unittest.case.TestCase: __call__, __eq__, __hash__, __ne__, __repr__, __str__, addCleanup, addTypeEqualityFunc, assertAlmostEqual, assertAlmostEquals, assertDictContainsSubset, assertDictEqual, assertEqual, assertEquals, assertFalse, assertGreater, assertGreaterEqual, assertIn, assertIs, assertIsInstance, assertIsNone, assertIsNot, assertIsNotNone, assertItemsEqual, assertLess, assertLessEqual, assertListEqual, assertMultiLineEqual, assertNotAlmostEqual, assertNotAlmostEquals, assertNotEqual, assertNotEquals, assertNotIn, assertNotIsInstance, assertNotRegexpMatches, assertRaises, assertRaisesRegexp, assertRegexpMatches, assertSequenceEqual, assertSetEqual, assertTrue, assertTupleEqual, assert_, countTestCases, debug, defaultTestResult, doCleanups, fail, failIf, failIfAlmostEqual, failIfEqual, failUnless, failUnlessAlmostEqual, failUnlessEqual, failUnlessRaises, id, run, shortDescription, skipTest

Inherited from unittest.case.TestCase (private): _addSkip, _baseAssertEqual, _deprecate, _formatMessage, _getAssertEqualityFunc, _truncateMessage

Inherited from object: __delattr__, __format__, __getattribute__, __new__, __reduce__, __reduce_ex__, __setattr__, __sizeof__, __subclasshook__

Class Methods [hide private]

Inherited from unittest.case.TestCase: setUpClass, tearDownClass

Class Variables [hide private]

Inherited from unittest.case.TestCase: longMessage, maxDiff

Inherited from unittest.case.TestCase (private): _classSetupFailed

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, methodName='runTest')
(Constructor)

source code 

Skip the tests if scipy is not installed.

Parameters:
  • methodName (str) - The name of the test.
Overrides: object.__init__

setUp(self)

source code 

Set up for all the functional tests.

Overrides: unittest.case.TestCase.setUp

mesg_opt_debug(self)

source code 

Method for returning a string to help debug the minimisation.

Returns: str
The debugging string.