Files
aare/python/examples/play.py
Erik Fröjdh 53aed8d8c6 added license
2025-11-20 09:01:28 +01:00

10 lines
294 B
Python

# SPDX-License-Identifier: MPL-2.0
from aare import apply_calibration
import numpy as np
raw = np.zeros((5,10,10), dtype=np.uint16)
pedestal = np.zeros((3,10,10), dtype=np.float32)
calibration = np.ones((3,10,10), dtype=np.float32)
calibrated = apply_calibration(raw, pedestal, calibration,)