trange = E1
sel = select(selrange($trange),selchannels(AD), selsweeps())
dat = data($sel)
apfreq = apfrequency($dat)
stimscale = labnotebook("Stim Scale Factor", $sel)
fiSlope = labnotebook("USER_DA Scale f-I slope", $sel, UNKNOWN_MODE)
$apfreq
and
merge($apfreq)
vs
merge($stimscale)
and
$fiSlope
and
merge($fiSlope)
vs
merge($stimscale)
and
$stimscale
and
labnotebook(["User_DA Scale Sweep QC", "USER_DA Scale f-I slope QC", "USER_DA Scale f-I neg. slope QC"], $sel, UNKNOWN_MODE)
and
$fiSlope
and
labnotebook("USER_DA Scale DAScale values left", $sel, UNKNOWN_MODE)
and
labnotebook("USER_DA Scale operation mode", $sel, UNKNOWN_MODE)
and
labnotebook("Set Sweep count", $sel)
and
anaFuncParam("NumSweepsWithSaturation", $sel)
string formula, sbBrowser, win, bsPanel
formula = ProcedureText("", -1, "Proc0")
win = "DB_ITC18USB_Dev_0"
ExecuteSweepFormulaCode(win, formula)
bsPanel = BSP_GetPanel(win)
PGC_SetAndActivateControl(bsPanel, "check_BrowserSettings_SF", val = 1)
PGC_SetAndActivateControl(bsPanel, "check_BrowserSettings_DB_Failed", val = 1)
PGC_SetAndActivateControl(bsPanel, "check_BrowserSettings_DB_Passed", val = 1)
SF code:
Code for reentry tests