Contents:
pyrost.bin.
bar_positions
Generate a coordinate array of randomized barcode’s bar positions.
x0 (float) – Barcode’s lower bound along the x axis [um].
x1 (float) – Barcode’s upper bound along the x axis [um].
b_dx (float) – Average bar’s size [um].
rd (float) – Random deviation of barcode’s bar positions (0.0 - 1.0).
bx_arr – Array of barcode’s bar coordinates.
numpy.ndarray