Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

watchdog for automatic reconstruction with COR guess #4

Open
gianthk opened this issue Jan 24, 2024 · 2 comments
Open

watchdog for automatic reconstruction with COR guess #4

gianthk opened this issue Jan 24, 2024 · 2 comments
Assignees
Labels
enhancement New feature or request

Comments

@gianthk
Copy link
Owner

gianthk commented Jan 24, 2024

What it does:

  • listen trigger from DAQ (.H5 file creation complete; DAQ complete)
  • load only central sinogram line (fast) (or 100 lines)
  • if previous recon of a scan with the same base_name exists: reconstruct with the same COR
  • else: guess COR
  • write 1 reconstructed slice for inspection

Note:

  • size of sinogram loaded can be script argument

See one prototype here

@gianthk gianthk added the enhancement New feature or request label Jan 24, 2024
@gianthk
Copy link
Owner Author

gianthk commented Jan 25, 2024

@phlpphns I suggest to develop this wdog as a standalone script, not embedded within alrecon. This gives some advantages:

  • not everyone wants to reconstruct with alrecon, but the wdog remains a useful tool that one could start from the terminal
  • we could think of the wdog running on the cluster with little resources attached, while the wstation where alrecon runs remains free for other stuff
  • I found one test of such wdog that I had already created here.. might be a good starting point

@gianthk gianthk changed the title watchdog for automatic reconstruction guess watchdog for automatic reconstruction with COR guess Jan 25, 2024
@phlpphns
Copy link
Collaborator

phlpphns commented May 6, 2024

Epics PVs with the file name of the latest hdf5 file and a status True/False if measurement finished have been provided. An initial watchdog crawling all files in the experimental directory that takes that into account and also stores potential existing reconstructions in being worked on.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants