LimitSources#
- class prose.blocks.utils.LimitSources(min: int = 4, max: int = 10000, name=None)[source]#
Limit number of sources. If not in between min and max sources, image is discarded
- Parameters:
min (int, optional) – minimum number of sources, by default 4
max (int, optional) – maximum number of sources, by default 10000