ewoksxas.tasks.tests.test_read_scans#

Functions

test_inputs_coerce_dict_configs_to_dataclasses()

Plain dict counter/metadata configs are coerced into the dataclasses.

test_read_scans()

Test reading a single scan with one counter from HDF5.

test_read_scans_array_metadata()

Test reading scans where a metadata item is an array (not scalar).

test_read_scans_categorical_missing_values_no_nan_category()

Missing categorical values are padded with '' (no spurious 'nan').

test_read_scans_counter_is_discrete()

The standard Counter meta is a DiscreteVariable (issue #15/#25).

test_read_scans_custom_grid()

Test reading scans with a custom X grid specification.

test_read_scans_from_table()

Test reading multiple scans with one counter from HDF5.

test_read_scans_metadata_type_categorical()

A 'categorical' type token produces a DiscreteVariable meta.

test_read_scans_metadata_type_numeric()

A 'numeric' token produces a ContinuousVariable meta.

test_read_scans_metadata_type_text_overrides_autodetect()

A 'text' token forces StringVariable even for low-cardinality data.

test_read_scans_multiple_counters()

Test reading scans with multiple counters creates row per scan*counter.

test_read_scans_multiple_scans_multiple_counters()

Test reading multiple scans with multiple counters.