mirror of
https://github.com/slsdetectorgroup/aare.git
synced 2026-02-18 22:38:41 +01:00
14 lines
390 B
Python
14 lines
390 B
Python
|
|
|
|
import pytest
|
|
from aare import RawMasterFile, ReadoutMode, 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 == ReadoutMode.UNKNOWN)
|
|
assert(f.detector_type == DetectorType.Jungfrau) |