Schroeder-Lab / Data

For pre-processing raw data (two-photon, ephys, bonsai, ...) and loading/saving data.
0 stars 3 forks source link

Function _linear in preprocess_traces #31

Closed mariacozan closed 1 year ago

mariacozan commented 1 year ago

There is a function in preprocess traces called _linear which only is only used in some commented out code. It appears to be an older version of the LinearAnalytical solution currently in use. Please remove this if not needed anymore or move it to a different file.

The function:

def _linear(x, a, b):
    return a + b * x