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

could not reference motor.user_readback in swait calc #257

Closed
prjemian opened this issue Nov 6, 2019 · 0 comments
Closed

could not reference motor.user_readback in swait calc #257

prjemian opened this issue Nov 6, 2019 · 0 comments
Assignees
Labels
Milestone

Comments

@prjemian
Copy link
Contributor

prjemian commented Nov 6, 2019

Using this code to set up a swait record as a noisy detector:

APS_devices.setup_lorentzian_swait(
    calcs.calc1,
    m1.user_readback,
    center = 2*np.random.random() - 2,
    width = 0.015 * np.random.random(),
    scale = 10000 * (9 + np.random.random()),
    noise=0.05,
)

This failed when the EpicsSignalRO failed the test of isinstance(m1.user_readback, EpicsSignal)

@prjemian prjemian added the bug label Nov 6, 2019
@prjemian prjemian added this to the 1.1.15 milestone Nov 6, 2019
@prjemian prjemian self-assigned this Nov 6, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant