ewoksxrdct.tests.test_reshape_aeroystepscan#

Functions

ai_file(tmp_path_factory)

An azimuthal-integration output with one frame per scan point, built once and shared across tests since they only ever read it.

test_run_reshapes_input_data(ai_file)

Reshapes into (N_trans, N_rot) and sorts each row by rotation, moving the frames and translations by the same permutation.

test_run_warns_on_rotation_count_mismatch(...)

A mismatch between the computed and the fscan-derived rotation count warns.

test_run_wrong_integration_path_raises(ai_file)

A radial axis or intensity HDF5 path that does not exist raises ValueError.

test_run_wrong_motor_name_raises(ai_file)

A motor name that doesn't exist in the bliss master file raises ValueError.