We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b8375d8 commit ee3e354Copy full SHA for ee3e354
pyat/at/acceptance/floodfill_acceptance.py
@@ -26,7 +26,7 @@ def floodfill(
26
offset: list | np.ndarray | None = None,
27
verbose: bool = False,
28
pool_size: int = 10,
29
- use_mp: bool = True,
+ use_mp: bool | at.MPMode = True,
30
):
31
"""Find the 2D acceptance of the ring using Flood Fill.
32
@@ -50,7 +50,8 @@ def floodfill(
50
a small deviation to the tracked coordinates,
51
e.g. [10e-5 10e-5] in the transverse planes.
52
verbose: Print extra info. Default 0.
53
- use_mp: Parallel tracking with queue. Only CPU, not GPU.
+ use_mp: Parallel tracking, default True. It uses at.MPMode.CPU,
54
+ not at.MPMode.GPU.
55
pool_size: Number of cpus.
56
57
Returns:
0 commit comments