Generate synthetic microtitre plate results with and without artefacts.
plate_generator
creates plate
objects, which have three main attributes:
plate.data
: typical combination of values and any artefactplate.effect
: the artefact present on the plateplate.noise
: the values with without any artefact
import plate_generator
import matplotlib.pyplot as plt
edge_plate = plate_generator.edge_plate()
plt.imshow(edge_plate.data)
row_plate = plate_generator.row_plate()
plt.imshow(row_plate.data)
Plates can be combined with mathematical operations (+
, -
, *
, \
, ...)
combined = row_plate + edge_plate
plt.imshow(combined.data)
The artefacts can be separated from the noise.
plt.subplot(211)
plt.imshow(combined.effect)
plt.title("Artefact")
plt.subplot(212)
plt.imshow(combined.noise)
plt.imshow("Noise")