Skip to content

Post-mortem debugging of adaptive #2663

@t-b

Description

@t-b
  • Open SweebBrowser
  • Change to Dashboard (DS)
  • Enable it and select (PSQ_Rheobase/PSQ_DAScale (Supra)/PAQ_DAScale (Adaptive))

SF code:

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)

Code for reentry tests

	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)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions