leharris3/sparse-cafm
SparseC-AFM: fast 2D-material acquisition & analysis with super resolution models
 
This is the official Pytorch implementation of our paper: SparseC-AFM: a deep learning method for fast and accurate characterization of MoS<sub>2</sub> with C-AFM. We present a novel method for rapid acquisition and analysis of C-AFM scans using a super-resolution model based on the work of SwinIR. In this repository, you can find the datasets and model weights used in our paper, as well as scripts to train and deploy our model on *your own datasets*.
Getting Started
- Install uv and run:
uv sync
uv run python app.py- Then open http://127.0.0.1:7860 in your browser.
- Or try our HF Demo: huggingface.co/spaces/leharris3/sparse-cafm
Datasets
Model Weights
Citation
@inproceedings{Harris2025, title = {Sparse C-AFM: a deep learning method for fast and accurate characterization of MoS2 with conductive atomic force microscopy}, url = {http://dx.doi.org/10.1117/12.3067427}, DOI = {10.1117/12.3067427}, booktitle = {Low-Dimensional Materials and Devices 2025}, publisher = {SPIE}, author = {Harris, Levi and Hossain, Md Jayed and Qui, Mufan and Zhang, Ruichen and Ma, Pingchuan and Chen, Tianlong and Gu, Jiaqi and Tongay, Seth Ariel and Celano, Umberto}, editor = {Kobayashi, Nobuhiko P. and Talin, A. Alec and Davydov, Albert V. and Islam, M. Saif}, year = {2025}, month = sep, pages = {35} }
License
We release our work under the Apache License 2.0 ❤️
