sas.qtgui.Perspectives.ParticleEditor.tests package

Submodules

sas.qtgui.Perspectives.ParticleEditor.tests.test_angles module

sas.qtgui.Perspectives.ParticleEditor.tests.test_angles.test_inverse_point_calc_exact(n_divisions)

Check the calculation of divisions for point number works, when it is an exact input

sas.qtgui.Perspectives.ParticleEditor.tests.test_angles.test_inverse_point_calc_maximally_greater(n_divisions)

Check the calculation of divisions rounds correctly (up) when it is one less than the next exact input

sas.qtgui.Perspectives.ParticleEditor.tests.test_angles.test_inverse_point_calc_minimally_greater(n_divisions)

Check the calculation of divisions rounds correctly (up) when it is one more than an exact input

sas.qtgui.Perspectives.ParticleEditor.tests.test_angles.test_point_number_prediction(n_divisions)

Geodesic point number function should give the number of points the generating function returns

sas.qtgui.Perspectives.ParticleEditor.tests.test_angles.test_rotation_to_z(vector)

Check the method that rotates vectors to the z axis

sas.qtgui.Perspectives.ParticleEditor.tests.test_angles.test_total_weights(n_divisions)

Total weights should add to 4pi

sas.qtgui.Perspectives.ParticleEditor.tests.test_point_generator module

sas.qtgui.Perspectives.ParticleEditor.tests.test_point_generator.test_with_grid(npoints, splits)

Module contents