added ReadingMode member to RawMasterFile adapted error in Matterhorntransformer

This commit is contained in:
2026-02-03 16:49:04 +01:00
parent 4edebf4671
commit 8c8d635b0c
9 changed files with 146 additions and 75 deletions

View File

@@ -0,0 +1,14 @@
import pytest
from aare import RawMasterFile, ReadingMode, DetectorType
@pytest.mark.withdata
def test_read_rawfile_quad_eiger_and_compare_to_numpy(test_data_path):
file_name = test_data_path/'raw/jungfrau/jungfrau_single_master_0.json'
f = RawMasterFile(file_name)
assert(f.reading_mode == ReadingMode.Unknown)
assert(f.detector_type == DetectorType.Jungfrau)