Protein.add_layer

Protein.add_layer(name: str, array: numpy.ndarray)

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