spc-group / haven

Bluesky tools for beamlines managed by the spectroscopy group
https://haven-spc.readthedocs.io/en/latest/
Other
4 stars 6 forks source link

Ion chamber timeout #313

Open canismarko opened 2 days ago

canismarko commented 2 days ago

This PR adds a proper timeout calculation to the IonChamber.trigger() method. Previously, the default timeout was used regardless of the settings on the scaler. Now, the new method IonChamber.default_timeout() is used to determine the best timeout based on the scaler configuration.

Things to do before merging: