We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
fails here:
~/Apps/anaconda/envs/db-test/lib/python3.7/site-packages/apstools/synApps/swait.py in _setup_peak_swait_(calc, desc, swait, ref_signal, center, width, scale, noise) 225 # consider a noisy background, as well (needs a couple calcs) 226 assert(isinstance(swait, SwaitRecord)) --> 227 assert(isinstance(ref_signal, EpicsSignal)) 228 assert(width > 0) 229 assert(0.0 <= noise <= 1.0)
from this call:
APS_devices.setup_lorentzian_swait( calcs.calc1, m1.user_readback, center = 2*np.random.random() - 1, width = 0.015 * np.random.random(), scale = 10000 * (9 + np.random.random()), noise=0.05, )
The text was updated successfully, but these errors were encountered:
The swait.py code needs this import:
swait.py
from ophyd.signal import EpicsSignalBase
and this replacement for line 227 shown above:
assert(isinstance(ref_signal, EpicsSignalBase))
Sorry, something went wrong.
fixes #259
a6b7459
prjemian
Successfully merging a pull request may close this issue.
fails here:
from this call:
The text was updated successfully, but these errors were encountered: