how to use the regression-based correction method on multiple channels

Hello @Huizhong and welcomt to the forum!

Your code is hard to read because it’s not formatted properly; could you please edit your posting and format your Python code as “Preformatted text”? This posting describes how to do it:

Thanks!

Richard