Skip to content
This repository has been archived by the owner on Mar 25, 2024. It is now read-only.

Reduce the number of restarts of timepix device on initialization #19

Open
troehling opened this issue Oct 6, 2021 · 0 comments
Open
Labels
enhancement New feature or request

Comments

@troehling
Copy link
Contributor

When launching pymepix-viewer a TimepixDevice object is created. This object can be started and stopped (the associated pipeline is started and stopped). Some operations (like changing the number of processes used in the pipeline) require this to be restarted. Some operations might not require this restart.
On initialisation of the application multiple operations are implemented which do currently execute a restart of the timepix device. Overall the device is restarted three times (if I counted correctly) although only one start would be required.

The objective is to:

  • Eliminate all stops from __init__method to optimise the loading time of the application
  • Eliminate restarts (start and stop) from all operations where it is not required. Right now it is not clear which operations do qualify for this. In the worst case (which I do not hope) the restart is required every time.
@troehling troehling added the enhancement New feature or request label Oct 6, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant