brukeropusreader icon indicating copy to clipboard operation
brukeropusreader copied to clipboard

Update block_data.py

Open JonShort4 opened this issue 9 months ago • 2 comments

Was getting 2CHN instead of final absorbance (AB), so with some trial and error to the block_data I got absorbance for three different instruments.

JonShort4 avatar Sep 14 '23 22:09 JonShort4

Thanks for this work. Could you please explain the conditions that guarantee correct absorbance values, even when using different instruments. ? Why must self.channel_type be equal to 16, and what does the value 1332 represent for self.chunk_size ?

Late515G avatar Feb 05 '24 14:02 Late515G

I wish I knew! I've not found any documentation for this code that explains. These were the conditions that gave the same absorbance results as values exported from Opus. I cannot guarantee that it will work for all instruments and settings, but it is what worked for us.

JonShort4 avatar Feb 05 '24 18:02 JonShort4