pisces.models.core.base.BaseModel.remove_field#

BaseModel.remove_field(name: str)[source]#

Remove a physical field from the model.

Deletes the field from both memory and the HDF5 file.

Parameters:

name (str) – Name of the field to remove.

Raises:

KeyError – If the field does not exist.