trackpy.artificial

Functions

draw_array(N, size[, separation, ndim])

Generates an image with an array of features.

draw_cluster(image, position, size, cluster_size)

Draws a cluster of size n at pos with angle angle.

draw_feature(image, position, size[, ...])

Draws a radial symmetric feature and adds it to the image at given position.

draw_features_brightfield(shape, positions, ...)

Generates an image with features at given positions.

draw_point(image, pos, value)

draw_spots(shape, positions, size[, ...])

Generates an image with features at given positions.

feat_brightfield(r, ndim, radius, ...)

Brightfield particle with intensity dip in center at r = 0.

feat_disc(r, ndim, disc_size)

Solid disc of size disc_size, with Gaussian smoothed borders.

feat_gauss(r, ndim)

Gaussian at r = 0.

feat_hat(r, ndim, disc_size)

Solid disc of size disc_size, with Gaussian smoothed borders.

feat_ring(r, ndim, thickness)

Ring feature with a gaussian profile with a certain thickness.

feat_step(r, ndim)

Solid disc.

gen_connected_locations(shape, count, separation)

Generates count number of positions within shape that are touching.

gen_nonoverlapping_locations(shape, count, ...)

Generates count number of positions within shape, that have minimum distance separation from each other.

gen_random_locations(shape, count[, margin])

Generates count number of positions within shape.

rot_2d(angle)

rot_3d(angles)

Classes

SimulatedImage(shape, size[, dtype, ...])

This class makes it easy to generate artificial pictures.