-
Notifications
You must be signed in to change notification settings - Fork 12
Restructure OAV device organisation and naming (Artemis554) #25
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
Merged
Merged
Changes from all commits
Commits
Show all changes
20 commits
Select commit
Hold shift + click to select a range
b315703
reorganise oav devices and rename snapshot to MJPG
d-perl 9210928
restructure oav devices
d-perl 7443325
keep oav detector
d-perl 4c7494c
fix oav test
d-perl 4524e50
tidy pv names
d-perl 8bf0308
Merge branch 'main' into artemis554
d-perl c5ef21a
3.8 compatible typing
d-perl aa2278d
Merge branch 'main' into artemis554
d-perl 766285e
add detector motion to i03 and change bad name
d-perl bec8035
simplify oav params
d-perl f9ebe75
tidy up
d-perl 8b1ecb4
propagate type info in skip_device decorator
d-perl 34ca052
more tidying
d-perl 4aa5c45
fix tests
d-perl d27329e
Merge branch 'main' into artemis554
d-perl 8b667a3
drop python 3.8 tests
d-perl a6e5d5e
Merge branch 'main' into artemis554
d-perl 127a03f
remove redundant snapshot
d-perl 4b4bf94
make keyword names consistent
d-perl bbf3b6b
fix test patch location
d-perl File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,34 @@ | ||
| from ophyd import Component, Device, EpicsSignal | ||
|
|
||
|
|
||
| class MXSC(Device): | ||
| """ | ||
| Device for edge detection plugin. | ||
| """ | ||
|
|
||
| input_plugin: EpicsSignal = Component(EpicsSignal, "NDArrayPort") | ||
| enable_callbacks: EpicsSignal = Component(EpicsSignal, "EnableCallbacks") | ||
| min_callback_time: EpicsSignal = Component(EpicsSignal, "MinCallbackTime") | ||
| blocking_callbacks: EpicsSignal = Component(EpicsSignal, "BlockingCallbacks") | ||
| read_file: EpicsSignal = Component(EpicsSignal, "ReadFile") | ||
| filename: EpicsSignal = Component(EpicsSignal, "Filename", string=True) | ||
| preprocess_operation: EpicsSignal = Component(EpicsSignal, "Preprocess") | ||
| preprocess_ksize: EpicsSignal = Component(EpicsSignal, "PpParam1") | ||
| canny_upper_threshold: EpicsSignal = Component(EpicsSignal, "CannyUpper") | ||
| canny_lower_threshold: EpicsSignal = Component(EpicsSignal, "CannyLower") | ||
| close_ksize: EpicsSignal = Component(EpicsSignal, "CloseKsize") | ||
| sample_detection_scan_direction: EpicsSignal = Component( | ||
| EpicsSignal, "ScanDirection" | ||
| ) | ||
| sample_detection_min_tip_height: EpicsSignal = Component( | ||
| EpicsSignal, "MinTipHeight" | ||
| ) | ||
| tip_x: EpicsSignal = Component(EpicsSignal, "TipX") | ||
| tip_y: EpicsSignal = Component(EpicsSignal, "TipY") | ||
| top: EpicsSignal = Component(EpicsSignal, "Top") | ||
| bottom: EpicsSignal = Component(EpicsSignal, "Bottom") | ||
| output_array: EpicsSignal = Component(EpicsSignal, "OutputArray") | ||
| draw_tip: EpicsSignal = Component(EpicsSignal, "DrawTip") | ||
| draw_edges: EpicsSignal = Component(EpicsSignal, "DrawEdges") | ||
| waveform_size_x: EpicsSignal = Component(EpicsSignal, "ArraySize1_RBV") | ||
| waveform_size_y: EpicsSignal = Component(EpicsSignal, "ArraySize2_RBV") |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.