-
Notifications
You must be signed in to change notification settings - Fork 9
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
Improve diagnostics & reporting of lineup2() plan #1045
Conversation
That looks great, thank you |
success=TrueMotor: 'motor' Detector: 'noisy_det'
========== ====================
statistic value
========== ====================
n 19
centroid -0.00604313560021479
x_at_max_y 0.07498907624123874
fwhm 2.427762264595814
variance 0.8626928293778106
sigma 0.9288125910956475
min_x -3.0
mean_x 0.9535573837387351
max_x 4.90711476747747
min_y -0.08111386966031231
mean_y 0.29494471116616
max_y 0.980899512651778
success True
========== ==================== success=FalseMotor: 'motor' Detector: 'noisy_det'
========== ================================
statistic value
========== ================================
n 19
centroid -0.5391606368907506
x_at_max_y 0.0
fwhm 3.0223874138499687
variance 0.0
sigma 0.0
min_x -3.0
mean_x 1.5
max_x 6.0
min_y -0.09436187725503624
mean_y 0.19753874119348702
max_y 0.7724043891492777
success False
reasons ['Computed peak sigma is zero.']
========== ================================ |
To get the peak analysis into the dictionary on a routine basis, need to insert a call for that analysis before the call to apstools/apstools/callbacks/scan_signal_statistics.py Lines 199 to 205 in bb907b9
How to keep |
Each of these inner functions rely on content in apstools/apstools/plans/alignment.py Line 503 in bb907b9
apstools/apstools/plans/alignment.py Line 536 in bb907b9
apstools/apstools/plans/alignment.py Line 546 in bb907b9
With that refactor, this decision would examine the appropriate apstools/apstools/plans/alignment.py Line 574 in bb907b9
|
@MDecarabas Thanks! |
@jilavsky : Thanks for the prompting on this!