Install
openclaw skills install @xrayxiaoruiyang-pixel/afm-secm-correlation-tools-1-0-0Analyzes and correlates AFM topography and SECM activity data to identify microscale structure–activity relationships in electrocatalysis research.
openclaw skills install @xrayxiaoruiyang-pixel/afm-secm-correlation-tools-1-0-0AFM topography + SECM electrochemical activity correlation analyzer for electrocatalysis research.
Combines atomic force microscopy (AFM) surface morphology data with scanning electrochemical microscopy (SECM) activity maps to reveal structure–activity relationships at the microscale. Identifies whether high electrochemical activity hotspots correspond to topographic features (particles, edges, grain boundaries) or are driven by chemical/electronic factors alone.
# Full analysis with AFM + SECM files
python afm_secm_correlation.py \
--afm scan_afm.spm \
--secm secm_map.csv \
--output output_afm_secm/ \
--afm-height-unit nm \
--secm-current-unit nA \
--secm-tip-diameter 10 \
--reaction-type OER_NiOOH
# Quick correlation scatter plot only
python afm_secm_correlation.py \
--afm scan_afm.spm \
--secm secm_map.csv \
--mode scatter \
--output quick_corr/
# Grid correlation (8x8 windows)
python afm_secm_correlation.py \
--afm scan_afm.spm \
--secm secm_map.csv \
--mode grid-corr \
--window-size 8 \
--output grid_corr/
| Instrument | AFM Format | SECM Format |
|---|---|---|
| Asylum MFP-3D | .ibw, .txt | CSV grid |
| JPK Instruments | .jpk | CSV grid |
| Bruker / Veeco | .spm, .000 | ASCII |
| NT-MDT | .md, .msr | CSV |
| CH Instruments | — | .jdx |
| BioLogic | — | .mpt |
| Generic | CSV (X/Y/Z) | CSV (X/Y/I) |