Skip to content

getframes

Realistic synthetic camera frames for scientific imaging pipelines.

getframes generates physically realistic frames from CCD, CMOS, EMCCD, eAPD, and sCMOS detectors, with accurate, auditable noise physics — read noise, dark current, shot noise, fixed-pattern non-uniformity, a unified stochastic gain stage, clock-induced charge, nonlinearity, and cosmic rays. Generate dark, bias, and flat frames, or render a star field through a PSF and telescope into a science frame. Use it to build, test, and validate image-processing pipelines against ground truth.

import getframes as gf

cam = gf.Camera.from_preset("andor_ikon_m934")
frame = cam.dark_frame(exposure=60.0, temperature=-60.0, seed=0)

print(frame.stats())   # {'mean': ..., 'std': ..., ...}

Install

pip install getframes

Where to next

Status

getframes 1.0 is stable: the public API is frozen under Semantic Versioning. See API stability.