ewoksxas.tasks.tests.test_read_scans#
Functions
Plain dict counter/metadata configs are coerced into the dataclasses. |
|
Test reading a single scan with one counter from HDF5. |
|
Test reading scans where a metadata item is an array (not scalar). |
|
|
Missing categorical values are padded with '' (no spurious 'nan'). |
The standard Counter meta is a DiscreteVariable (issue #15/#25). |
|
Test reading scans with a custom X grid specification. |
|
Test reading multiple scans with one counter from HDF5. |
|
A 'categorical' type token produces a DiscreteVariable meta. |
|
A 'numeric' token produces a ContinuousVariable meta. |
|
A 'text' token forces StringVariable even for low-cardinality data. |
|
Test reading scans with multiple counters creates row per scan*counter. |
|
Test reading multiple scans with multiple counters. |