arpes-analysis
Skill by kmnhan
Guides and automates reproducible ARPES analysis with ERLabPy in executable Jupyter notebooks. It is for researchers who load, calibrate, and analyze photoemission data.
Install arpes-analysis
Built from the published package, never by AI.
git clone --depth 1 https://github.com/kmnhan/erlabpy /tmp/erlabpy && mkdir -p ~/.claude/skills && cp -r /tmp/erlabpy/skills/arpes-analysis ~/.claude/skills/arpes-analysisRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/kmnhan/erlabpy /tmp/erlabpy && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/erlabpy/skills/arpes-analysis ~/.gemini/antigravity-cli/skills/arpes-analysisAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Skills can run scripts on your machine. Some need an API key: check the README.
About
The arpes-analysis skill directs an AI agent through ARPES workflows using ERLabPy. It covers loading and inspecting datasets, calibrating the Fermi level, determining normal emission, converting angles to momentum, extracting and fitting EDCs and MDCs, tracing dispersions, and making constant-energy maps and publication figures.
The agent works in one executable notebook that keeps input paths, physical parameters, and fit choices in visible cells. It uses public ERLabPy and xarray-lmfit APIs and treats static normal emission estimates as candidates until a user accepts values in ImageTool or KTool. The skill is aimed at users who need reproducible ARPES analysis and teaching material.
Written from the project's SKILL.md and checked against it.
What it can do
- Data intakeLoads ARPES datasets with erlab.io.load and checks scalar angle metadata against the experimental log.
- Fermi level calibrationEstablishes the energy zero and fits a reference edge when the energy scale is unverified.
- Normal emission and momentum conversionConverts angles to momentum only after accepted normal emission settings exist.
- EDC and MDC analysisExtracts and fits energy and momentum distribution curves and traces dispersions.
- Constant-energy mapsCreates constant-energy intensity maps from energy-referenced, converted data.
- Publication figuresBuilds figures from explicit figure objects and records output paths for export.
- Interactive toolsUses ImageTool, goldtool, ktool, ftool, and Figure Composer when they are available.
- Reproducibility gateRequires the notebook to regenerate results from raw data in a clean kernel.
What you need
- Jupyter notebook environment
- ERLabPy
- xarray-lmfit
- Optional Qt binding for GUI tools
Try asking
- Load my ARPES scans and check the Fermi level in a notebook.
- Convert these ARPES angles to momentum after I set normal emission.
- Fit the MDCs and trace the band dispersion for my sample.
Good to know
- Quantitative momentum conversion needs accepted normal emission settings.
- Static normal emission estimates are treated as candidates only.
- GUI tools are optional and need an optional Qt binding.
- Results must not depend on hidden kernel or GUI state.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: skills/arpes-analysis/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Alternatives to arpes-analysis
All alternatives →Searches arXiv for scientific papers and preprints, extracts their metadata and abstracts, and downloads PDF or HTML full text. Suited to users who need research papers, literature or specific arXiv IDs.
Downloads AlphaFold predicted structures and PAE matrices for a UniProt ID, then reports pLDDT confidence, domain boundaries and disorder. Built for users who already have a UniProt accession.
Queries the QuickGO and Evidence & Conclusion Ontology REST API to map genes to Gene Ontology terms. Built for researchers doing functional annotation and GO hierarchy exploration.
Connects an AI assistant to Peloton to browse fitness classes, check live and archived schedules, and manage workouts. Built for Peloton users who want to plan rides from their assistant.
Queries NCBI Gene through the E-utilities and Datasets API. It helps researchers search genes by symbol or ID, retrieve gene details, and run batch lookups for annotation and functional analysis.
Prepares and launches nf-core/pacsomatic runs for matched tumor-normal PacBio HiFi data starting from unaligned BAM files. It generates samplesheets and pinned launch artifacts, then runs locally or submits to a scheduler.
Compare with literature-search-arxiv, alphafold-database-fetch-and-analyze or quickgo-database
arpes-analysis: common questions
Does this skill require a GUI?
No. ImageTool, KTool and the other GUI tools are optional. Any accepted GUI step must be reproduced in explicit notebook code.
Does the agent guess normal emission?
It treats static estimates as candidates. For publication or quantitative conversion, it requires accepted normal emission values from the user.
Can saved figures replace the analysis code?
No. Saved PNG, PDF or NetCDF files are only optional summaries. The notebook must load raw data and regenerate results from code.
How do I install arpes-analysis?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is arpes-analysis free?
The code is published under the GPL-3.0 licence. The service it connects to may have its own pricing.
Is arpes-analysis safe to use?
It scores 59 of 100. Grades: maintenance A, licence C, quality C. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to arpes-analysis?
Similar skills: literature-search-arxiv, alphafold-database-fetch-and-analyze, quickgo-database, peloton.
