Dna.add_layer#

Dna.add_layer(name: str, array: numpy.ndarray) None#

Add layer to the assay

All layers need to have the same dimension

Args:

name: name of the attribute array: array with layer values

Raises:

ValueError: if array has different shape than existing layers