hyperspy.tests.samfire package

Submodules

hyperspy.tests.samfire.test_goodness_of_fit_tests module

class hyperspy.tests.samfire.test_goodness_of_fit_tests.TestInformationCriteria

Bases: object

setup_method(method)
test_index()
test_map()
class hyperspy.tests.samfire.test_goodness_of_fit_tests.TestRedChisq

Bases: object

setup_method(method)
test_changing_tolerance()
test_index()
test_map()

hyperspy.tests.samfire.test_histogram_segmenter module

class hyperspy.tests.samfire.test_histogram_segmenter.TestHistogramSegmenter

Bases: object

setup_method(method)
test_init()
test_most_frequent()
test_update()
hyperspy.tests.samfire.test_histogram_segmenter.compare_two_value_dicts(ans_r, ans)

hyperspy.tests.samfire.test_red_chisq_weight module

class hyperspy.tests.samfire.test_red_chisq_weight.Test_Red_chisq_weight

Bases: object

setup_method(method)
test_function()
test_map_noslice()

hyperspy.tests.samfire.test_samfire module

class hyperspy.tests.samfire.test_samfire.Mock_queue

Bases: object

put(value)
class hyperspy.tests.samfire.test_samfire.TestSamfireEmpty

Bases: object

setup_method(method)
test_change_strategy()
test_next_pixels()
test_optional_components()
test_samfire_init_default()
test_samfire_init_fig()
test_samfire_init_marker()
test_samfire_init_metadata()
test_samfire_init_model()
test_samfire_init_strategies()
test_samfire_init_strategy_list()
test_setup()
test_swap_dict_and_model()
class hyperspy.tests.samfire.test_samfire.TestSamfireMain

Bases: object

setup_method(method)
test_multiprocessed(mpl_cleanup)
class hyperspy.tests.samfire.test_samfire.TestSamfireWorker

Bases: object

setup_method(method)
test_add_model()
test_main_result()
hyperspy.tests.samfire.test_samfire.generate_test_model()
hyperspy.tests.samfire.test_samfire.test_create_worker_defaults()

hyperspy.tests.samfire.test_strategy module

class hyperspy.tests.samfire.test_strategy.TestGlobalStrategy

Bases: object

setup_method(method)
test_package_values()
test_refresh_nooverwrite_given()
test_refresh_nooverwrite_nogiven()
test_refresh_overwrite_given()
test_refresh_overwrite_nogiven()
test_update_marker()
class hyperspy.tests.samfire.test_strategy.TestLocalSimple

Bases: object

setup_method(method)
test_clean()
test_default_init()
test_get_distance_array()
test_radii()
test_refresh_nooverwrite()
test_refresh_overwrite()
test_samf_weight_setters()
test_update_marker()
class hyperspy.tests.samfire.test_strategy.TestLocalWithModel

Bases: object

setup_method(method)
test_values()
hyperspy.tests.samfire.test_strategy.compare_two_value_dicts(ans_r, ans)
hyperspy.tests.samfire.test_strategy.create_artificial_samfire(shape)
class hyperspy.tests.samfire.test_strategy.someweight

Bases: object

function(ind)
map(calc_pixels, slices=slice(None, None, None))

hyperspy.tests.samfire.test_strategy_list module

class hyperspy.tests.samfire.test_strategy_list.TestStrategyList

Bases: object

setup_method(method)
test_append()
test_extend()
test_remove_int()
test_remove_object()

hyperspy.tests.samfire.test_utils module

class hyperspy.tests.samfire.test_utils.TestSamfireUtils

Bases: object

setup_method(method)
test_nearest_indices_cent1()
test_nearest_indices_cent2()
test_nearest_indices_cent3()
test_nearest_indices_cent4()
test_nearest_indices_ind1()
test_nearest_indices_ind2()
test_nearest_indices_ind3()
test_nearest_indices_ind4()
test_nearest_indices_ind5()

Module contents