@staticmethod
def remove(layer, select):
    """Delete selection (list of ids) of units from parameter arrays. """
    layer['bias'] = layer['bias'][0, [select]]
    layer['lvar'] = layer['lvar'][0, [select]]
    return True
