AllenInstitute / MIES

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

SweepFormula: P/x subtraction #334

Open timjarsky opened 4 years ago

timjarsky commented 4 years ago

Implement p / x subtraction in MIES.

This is a technique used to subtract leak (aka linear) currents from current traces.

Desired workflow:

So, a stimset that looks like this: image

Get acquired like this when x = -4: image

timjarsky commented 1 year ago
  1. Add P/x to DA_Ephys. It will generate a new stimset on-the-fly (as with oodDAQ)
  2. Add P/x sweep formula to do subtraction
  3. Add special P/x epoch info where epochs equal the duration of the user-defined stimset sweep. SF will recognize P/x sweeps using lab notebook data. The sweep formula will average and multiply appropriate epochs together and subtract from the user-defined epoch.