ptypy.simulations.detector#

Detector module

Note that “dark current” and consequently exposure time is not used. Modern detectors are insensitive to dark current. Scale the incoming Intensity accordingly to match the number of photons in your acquisition.

This file is part of the PTYPY package.

copyright:

Copyright 2014 by the PTYPY team, see AUTHORS.

license:

see LICENSE for details.

Functions

conv(A, inp, **kwargs)

expect2(a)

generates 1d numpy array with 2 entries generated from multiple inputs (tuples, arrays, scalars).

fill2D(imA, imB, offset)

fill array imA with imB

shot(I[, exp, flux, sensitivity, dark_c, ...])

I : intensity distribution flux : overall photon photons per seconds coming in exp : exposition time in sec io_noise : readout noise rms full_well : electron capacity of each pixel el_per_ADU : conversion effficiency of electrons to digitally counted units dark_curr : electrons per second per pixel on average

smooth_step(x, mfs)

Classes

Detector([pars])