"""
Arguments:

SENSORS (list)
PHI_RANGE (tuple (min, max))
THETA_RANGE  (tuple (min, max))
STEPS  (tuple (phi, theta))
LATENCY (double)
RELATIVE (BOOLEAN)
"""


#set_preference(Preference.ENABLED_PLOTS, [phi, theta, scienta.dataMatrix, integration])
set_preference(Preference.PLOT_TYPES, {integration:1})
ascan((motor, motor2), SENSORS, (PHI_RANGE[0], THETA_RANGE[0]), (PHI_RANGE[1], THETA_RANGE[1]), STEPS, LATENCY, RELATIVE, before_read=trig_scienta)