pymatgen-phonon

Analyzes Phonopy outputs and YAML to load and plot phonon band structures, DOS, Gruneisen, IR spectra.

16|Updated Dec 28, 2025
One-click install
npx skills add https://github.com/Hongyu-yu/matsci-ai-skills --skill pymatgen-phonon
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: pymatgen-phonon
Source: https://github.com/Hongyu-yu/matsci-ai-skills/tree/main/skills/pymatgen-phonon
Command: npx skills add https://github.com/Hongyu-yu/matsci-ai-skills --skill pymatgen-phonon

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires phonopy, pymatgen, matplotlib, numpy, and includes scripts (resource) and references (resource) components.

What problem does it solve?

Analyzes vibrational properties from phonon calculations for materials science research, enabling streamlined interpretation of phonon data.

Core Features & Use Cases

  • Load phonon band structures, density of states, Gruneisen parameters, and IR spectra from Phonopy outputs or YAML.
  • Plot phonon dispersions, DOS, and spectra, and export simple derived data for publications.
  • Use Case: researchers can quickly transform Phonopy output into publication-ready plots and summaries for defect or phase studies.

Quick Start

Run the 2016-09-25-Plotting_phonon_bandstructure_and_dos.py script to generate phonon band structure and DOS plots.

Frequently Asked Questions about pymatgen-phonon

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I plot phonon band structure and DOS from Phonopy YAML outputs?

To plot phonon band structure and DOS from Phonopy YAML outputs, run the provided plotting script which uses matplotlib to generate visual representations of vibrational properties. This script loads phonon data and creates publication-ready band structure and density of states plots.

Can I extract Gruneisen parameters and IR spectra using pymatgen and phonopy?

Yes, you can extract Gruneisen parameters and IR spectra using pymatgen and phonopy. The skill loads these specific vibrational properties from Phonopy outputs or YAML files, allowing you to analyze anharmonic effects and infrared activity for materials science research.

What is the best way to analyze vibrational properties for materials science publications?

The best way to analyze vibrational properties for publications is to use scripts that transform Phonopy outputs into derived data and plots. This approach streamlines the interpretation of phonon calculations by generating publication-ready plots and summaries for defect or phase studies.

Do I need both pymatgen and phonopy installed to analyze phonon dispersion data?

Yes, you need both pymatgen and phonopy installed to analyze phonon dispersion data. The skill explicitly requires these dependencies, along with matplotlib and numpy, to load phonon outputs and plot vibrational properties from YAML files.

Does this approach work for extracting data from Phonopy outputs for defect studies?

Yes, this approach works for extracting data from Phonopy outputs for defect studies. Researchers can quickly transform Phonopy output into publication-ready plots and summaries, specifically enabling streamlined interpretation of phonon data for defect or phase studies.