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

Dataset structure conventions for AFM data #140

Open
PranavSudersan opened this issue Dec 25, 2024 · 3 comments
Open

Dataset structure conventions for AFM data #140

PranavSudersan opened this issue Dec 25, 2024 · 3 comments

Comments

@PranavSudersan
Copy link

PranavSudersan commented Dec 25, 2024

A single AFM measurement data typically contains "Forward" and "Backward" trace data for each channel (Topography, Normal force etc.). Currently, are there any conventions being (or planned to be) followed for organizing this within the sidpy dataset object? I went though the code for some of the readers (e.g. BrukerAFMReader, NanoSurfNIDReader) and it seems right now, each channel and "direction" data are organized either as a list or dictionary of sidpy datasets. This data organization does not seem to be consistent across the different data formats. Going through the documentation provided for creating a new reader, I don't find any specific information related to organizing channel/direction data.

I can help with the organization. I already have written my own "reader functions" for JPK Nanowizard and WSxM data formats and I would be happy to integrate this into SciFiReaders (which lacks support for these formats at the moment). If someone could guide me with this, I can help integrate the new readers as well as assist in organizing the existing reader output to follow a common organization rule.

@ramav87
Copy link
Contributor

ramav87 commented Dec 25, 2024 via email

@PranavSudersan
Copy link
Author

Hi Ramav,
I see, so dictionaries are the way to go, thanks for the quick reply. Have you established any rules regarding how to name the keys of these dictionaries (e.g. "{channel}_{direction}"). If you can point me to an AFM reader class function that follows the desired conventions, I can go through it.
And of course I'll be happy to add this information to the documentation. I'll send out a pull request soon.

@ramav87
Copy link
Contributor

ramav87 commented Jan 2, 2025

We don't have any specific conventions. You can just stick to "{channel}_{direction}"...

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