AFM-SPM / TopoStats

An AFM image analysis program to batch process data and obtain statistics from images
https://afm-spm.github.io/TopoStats/
GNU Lesser General Public License v3.0
60 stars 11 forks source link

Group binary I/O into io submodule #482

Open SylviaWhittle opened 1 year ago

SylviaWhittle commented 1 year ago

Is your feature request related to a problem? Please describe. The binary I/O functions, such as read_u32i could be grouped into a submodule for io.py, ie: topostats/io/binary.py. This would keep the code neat and modular, and prevent io.py becoming too monolithic.

It would require adjusting the existing imports, moving tests and importing them to topostats/io.py.

SylviaWhittle commented 1 week ago

This should all be migrated to AFMReader along with all file type loading functions.