fascicle.remove_sim_masks

fascicle.remove_sim_masks(mask_labels: None | Iterable[str] | str = None, remove_from_pop: bool = True, keep_elec: bool = True)[source]

Remove simulation masks from the fascicle and optionally from the population table.

Parameters:
  • mask_labels (Iterable[str] | str | None, optional) – Mask labels to remove. If None, remove all simulation masks.

  • remove_from_pop (bool, optional) – If True, also delete the masks from the underlying population.

  • keep_elec (bool, optional) – If True, preserve masks associated with electrode overlap.