peng-lab/BaSiCPy

`basic.fit()` should also return baseline intensities

Closed this issue · 5 comments

Considering basic.fit() also does the baseline fitting, the estimated baseline (for photobreaching etc...) should be returned.
example:

basic=Basic()
basic.fit(train_images)
corrected, baselines = basic.predict(test_images)
# corrected, baselines = basic.fit_predict(train_images)

merged to the broader issue and close.

Reopen as the current version returns corrected images only.

Yes, my first pass at predict was only to implement something straightforward. Baby steps and incremental change are easiest :)

I meant to re-open this and forgot.

An array of baseline values are included as a parameter of the BaSiC class (basic.baseline) so we do not need to return baseline with transform.

Can we close this issue? @yfukai @Nicholas-Schaub

Yeah let's close this.