Skip to content

Commit

Permalink
added global variable for readability
Browse files Browse the repository at this point in the history
  • Loading branch information
ZohebShaikh committed Dec 2, 2024
1 parent 6bf88e9 commit 3d148de
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/ophyd_async/plan_stubs/_fly.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@
SeqTableInfo,
)

DEFAULT_FLUSH_PERIOD = 0.5


def prepare_static_pcomp_flyer_and_detectors(
flyer: StandardFlyer[PcompInfo],
Expand Down Expand Up @@ -104,7 +106,7 @@ def fly_and_collect(
stream_name: str,
flyer: StandardFlyer[SeqTableInfo] | StandardFlyer[PcompInfo],
detectors: list[StandardDetector],
flush_period: float = 0.5,
flush_period: float = DEFAULT_FLUSH_PERIOD,
):
"""Kickoff, complete and collect with a flyer and multiple detectors.
Expand Down

0 comments on commit 3d148de

Please sign in to comment.