ZELLMECHANIK-DRESDEN / ShapeOut

Shape-Out has been superseded by Shape-Out 2.
https://shapeout.readthedocs.io
GNU General Public License v2.0
5 stars 5 forks source link

Compensation for fluorescence data #185

Closed phidahl closed 7 years ago

phidahl commented 7 years ago

For multichannel fluorescence measurements we need a way to compensate the fluorescence max. values.

Compensations means to take account for channel crosstalk by subtraction of an adjustable fraction of other channels from the values of one channel.

The corrections factors can be expressed by a (NxN) matrix A

fl1_max' = fl1_max - A_12 fl2_max - A_13 fl3_max fl2_max' = fl2_max - A_21 fl1_max - A_23 fl3_max fl3_max' = fl3_max - A_31 fl1_max - A_32 fl2_max

It would need a some edit fields to adjust the values of A_xy and a checkbox to switch compensation on/off.

paulmueller commented 7 years ago

Instead of a checkbox, would it be ok if we created new data columns for this purpose ("FL-1 maximum, cross-talk-corrected [a.u.]")? Do you need this for the raw trace data as well?

phidahl commented 7 years ago

new data columns would be even better. Nope, the trace data shall be unaffected. (for now)

Am 26.10.2017 um 12:41 schrieb Paul Müller notifications@github.com:

Instead of a checkbox, would it be ok if we created new data columns for this purpose ("FL-1 maximum, cross-talk-corrected [a.u.]")? Do you need this for the raw trace data as well?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/ZELLMECHANIK-DRESDEN/ShapeOut/issues/185#issuecomment-339625642, or mute the thread https://github.com/notifications/unsubscribe-auth/AMPYzPWfJoOTmHjnht7LNa11lQ185-2-ks5swGHegaJpZM4QHUkc.

paulmueller commented 7 years ago

This is implemented in ShapeOut 0.8.1.dev21. Please test: https://ci.appveyor.com/project/paulmueller/ShapeOut/build/job/hb3l29qq79d8pu64/artifacts

phidahl commented 7 years ago

I tested it and it seems to work. Thank you