Skip to content

Conversation

@jwlodek
Copy link
Member

@jwlodek jwlodek commented Feb 15, 2024

Currently ADTriggerStatus essentially hard codes the two signals that are watched/compared when reporting the progress of a trigger execution. I know of at least a few cases where this isn't desirable due to either non-standard AD driver behavior, or because the underlying detector relies on a different progress metric than completed/readout frames.

I'd like to get some feedback on whether or not this approach is reasonable, and if yes I can write up a unit test or two to check behavior when either or both signals are overridden.

@tacaswell
Copy link
Contributor

Seems reasonable, but needs updates to docstring please.

@jwlodek
Copy link
Member Author

jwlodek commented Mar 22, 2024

Hm. Not sure why those commits are now included here since they are already merged with master. Let me clean this up.

@tacaswell tacaswell force-pushed the make-adtriggerstatus-reusable branch from 0033f48 to 7e5e723 Compare April 16, 2024 21:27
@tacaswell
Copy link
Contributor

I think you did a rebase, merge from your remote, push cycle. I rebased and force-pushed for you.

A special status object that notifies watches (progress bars)
based on comparing device.cam.array_counter to device.cam.num_images.
based on comparing the two signal values counter_signal and
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can this be a numpydoc style docstring?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants