AllenInstitute / MIES

Multichannel Igor Electrophysiology Suite
https://alleninstitute.github.io/MIES/user.html
Other
21 stars 6 forks source link

Rework SF labnotebook and add anaFuncParam #2061

Open t-b opened 3 months ago

t-b commented 3 months ago

Example code:

sel = select(channels(AD), sweeps())

labnotebook(["USER_DA Scale f-I slope", "USER_DA Scale BL QC"], $sel, UNKNOWN_MODE)

and

AnaFuncParam(["MaxFrequencyChangePercent", "AbsFrequencyMinDistance", "AbsDAScaleMinDistance", "AbsDAScaleMaxDistance"], $sel)

and

AnaFuncParam("OperationMode")

Close #2062 Close #1845

t-b commented 3 months ago

@timjarsky THis has the changes for accepting multiple labnotebook keys and the new anaFuncParam operation. See above for examples.

timjarsky commented 3 months ago

@timjarsky THis has the changes for accepting multiple labnotebook keys and the new anaFuncParam operation. See above for examples.

Thanks, @t-b. I'm excited to take a look. When you get around to the documentation, can you add a link to the lab notebook entry descriptions in the documentation?

timjarsky commented 3 months ago

@t-b nice!

image
t-b commented 3 months ago

Next revision:

Code:

sci = [10, 11, 12]
sel = select(channels(AD), $sci, all)

data($ep, $sel)

and

labnotebook(["Delay onset auto", "Delay onset user"], $sel, UNKNOWN_MODE)

and

AnaFuncParam(["*"], $sel)

and

AnaFuncParam(["SlopePercentage", "SamplingFrequency"], $sel)

grafik

We now have unique colors per sweep if all data is from the same channelType and number, and also wildcard support for anaFuncParam. Without that there is no way to figure out what parameters are available.

And we have better y-axis labels for labnotebook data including units.

@timjarsky If that is good, I'll polish it.

t-b commented 3 months ago

Now the SF labnotebook command also has support for wildcard syntax.