Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tag times not correct in gap free abf2 #9

Open
saglag opened this issue Jan 5, 2022 · 1 comment
Open

Tag times not correct in gap free abf2 #9

saglag opened this issue Jan 5, 2022 · 1 comment

Comments

@saglag
Copy link

saglag commented Jan 5, 2022

Was trying to plot with at tag points and was having issues with them showing at the correct time.

Code block:
MATLAB_2022-01-04_20-33-23
Suggests that tags will be reported in seconds but the output:
MATLAB_2022-01-04_20-32-37
Doesn't match the original times in the abf file in units or actual times:
image
Any ideas on how to alter the import code to correctly report time?

@fcollman
Copy link
Owner

fcollman commented Jan 5, 2022

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants