abfload
abfload copied to clipboard
Tag times not correct in gap free abf2
Was trying to plot with at tag points and was having issues with them showing at the correct time.
Code block:
Suggests that tags will be reported in seconds but the output:
Doesn't match the original times in the abf file in units or actual times:
Any ideas on how to alter the import code to correctly report time?
I'm not sure right now how to fix it, but it seems the times are off by a constant factor of 1.6666 This to me suggests that h.syncArrTimeBase might not be the right factor to adjust the TagTime for, or there is an additional factor to compensate for. That factor is highly likely to be 3/5 or 5/3, or the ratio of h.syncArrTimeBase and this factor is 3 to 5 or 5 to 3. I would look in the header/metadata of everything in tmp for something that is different by that much in your experiment to figure out what needs to be changed.