cddm._sim_nb¶
Numba functions for sim module
Module Contents¶
- cddm._sim_nb.mirror(x, x0, x1)¶
transforms coordinate x by flooring in the interval of [x0,x1] It performs x0 + (x-x0)%(x1-x0)
- cddm._sim_nb.numba_seed(value)¶
Seed for numba random generator
- cddm._sim_nb.make_step(x, scale, velocity)¶
Performs random particle step from a given initial position x.
- cddm._sim_nb.psf_gauss(x, x0, y, y0, sigma, intensity)¶
Gaussian point-spread function. This is used to calculate pixel value for a given pixel coordinate x,y and particle position x0,y0.
- cddm._sim_nb.draw_points(im, points, intensity)¶
Draws pixels to image from a given points array
- cddm._sim_nb.adc_8bit(frame, scale, black_level)¶
Converts raw signal to unsigned int using 8bit conversion
- cddm._sim_nb.adc_10bit(frame, scale, black_level)¶
Converts raw signal to unsigned int using 10bit conversion
- cddm._sim_nb.adc_12bit(frame, scale, black_level)¶
Converts raw signal to unsigned int using 12bit conversion
- cddm._sim_nb.adc_14bit(frame, scale, black_level)¶
Converts raw signal to unsigned int using 14bit conversion
- cddm._sim_nb.adc_16bit(frame, scale, black_level)¶
Converts raw signal to unsigned int using 16bit conversion
- cddm._sim_nb.draw_psf(im, points, intensity, sigma)¶
Draws psf to image from a given points array