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

Y axis scale issues in ABF files Stimfit 16.2 #104

Closed
alinaaaltonen opened this issue Apr 6, 2023 · 3 comments
Closed

Y axis scale issues in ABF files Stimfit 16.2 #104

alinaaaltonen opened this issue Apr 6, 2023 · 3 comments
Assignees

Comments

@alinaaaltonen
Copy link

Another issue that I have now identified is that the Y-axis scale is incorrect, such that peaks that should be 100mV show as something like 0.0001, and the scale bars are not working as intended, which is most likely related. Here is a file for testing:
221021005_rheo.abf.zip

@neurodroid
Copy link
Owner

@schloegl This is an issue with biosig. Using the legacy abf code from libstfio, the scaling is read out correctly:
image
Whereas using biosig (configure --with-biosig), the scale is incorrect:
image

@schloegl
Copy link
Collaborator

The patch allows to compile --with-biosig and get all the advantages of biosig, but switches reading of ABF2 from biosig to the internal abf reading functions.
When some future version of libbiosig has its ABF2 support fixed, this can be reverted.

schloegl added a commit that referenced this issue Jul 14, 2023
@schloegl schloegl changed the title Y axis scale issues in ABF files Stimfit 16.2 Mac Y axis scale issues in ABF files Stimfit 16.2 Jul 23, 2023
@schloegl
Copy link
Collaborator

ABF2 data is now loaded either with libbiosig 3.0.2 (as released in biosig 2.5.1 or later), or with internal ABF2 reading functions. According to my tests, this fixed this issue.

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

3 participants