synApps swait record

The swait record is part of the calc module: https://htmlpreview.github.io/?https://raw.githubusercontent.com/epics-modules/calc/R3-6-1/documentation/swaitRecord.html

see the synApps calc module suppport: https://github.com/epics-modules/calc

Ophyd support for the EPICS synApps swait record

EXAMPLES:;

import apstools.synApps_ophyd calcs = apstools.synApps_ophyd.userCalcsDevice(“xxx:”, name=”calcs”)

calc1 = calcs.calc1 apstools.synApps_ophyd.swait_setup_random_number(calc1)

apstools.synApps_ophyd.swait_setup_incrementer(calcs.calc2)

calc1.reset()

swaitRecord(*args, **kwargs)

synApps swait record: used as $(P):userCalc$(N)

userCalcsDevice(*args, **kwargs)

synApps XXX IOC setup of userCalcs: $(P):userCalc$(N)

swait_setup_random_number(swait, **kw)

setup swait record to generate random numbers

swait_setup_gaussian(swait, motor[, center, …])

setup swait for noisy Gaussian

swait_setup_lorentzian(swait, motor[, …])

setup swait record for noisy Lorentzian

swait_setup_incrementer(swait[, scan, limit])

setup swait record as an incrementer

apstools.synApps_ophyd.swait.swait_setup_gaussian(swait, motor, center=0, width=1, scale=1, noise=0.05)[source]

setup swait for noisy Gaussian

apstools.synApps_ophyd.swait.swait_setup_incrementer(swait, scan=None, limit=100000)[source]

setup swait record as an incrementer

apstools.synApps_ophyd.swait.swait_setup_lorentzian(swait, motor, center=0, width=1, scale=1, noise=0.05)[source]

setup swait record for noisy Lorentzian

apstools.synApps_ophyd.swait.swait_setup_random_number(swait, **kw)[source]

setup swait record to generate random numbers