darfix.tests.test_mapping#

Functions

test_fit_data()

Tests the new data has same shape as initial data

test_fit_rocking_curve()

Tests the correct fit of a rocking curve

test_generator1()

Tests the correct creation of a generator without moments

test_generator2()

Tests the correct creation of a generator with moments

test_magnification()

Tests magnification

test_magnification_uncentered()

Tests magnification uncentered

test_moments()

Tests the correct moments calculation

test_peak_position()

Tests peak position map

test_peak_position_values()

Tests peak position map with values

test_rsm()

Tests RSM