`basic.fit()` should also return baseline intensities
Closed this issue · 5 comments
yfukai commented
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)
yfukai commented
merged to the broader issue and close.
yfukai commented
Reopen as the current version returns corrected images only.
Nicholas-Schaub commented
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.
tdmorello commented
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
yfukai commented
Yeah let's close this.