科研 Skill
振动电子核磁谱学表征
spectroscopy
Covers vibrational, electronic, and nuclear spectroscopy for materials characterization: XPS, Raman, FTIR, and solid-state NMR. Use for spectroscopic data analysis.
SKILL.md
Spectroscopy
Overview
XPS, Raman, FTIR, and solid-state NMR all identify chemical/structural information from a spectrum (binding energy, Raman shift, wavenumber, or chemical shift respectively) — different physics, but a shared analysis workflow: baseline correction, peak fitting, and peak assignment against reference data. This skill covers what's shared and routes to technique-specific references.
When to use this skill
Activate when the request involves:
- XPS, X-ray photoelectron spectroscopy, Raman spectroscopy, FTIR, infrared spectroscopy, solid-state NMR
- Terms: binding energy, oxidation state, peak fitting, baseline correction, chemical shift, wavenumber
- File formats:
.vms/.xy(XPS),.spc/.txt(Raman/FTIR common exports) - "Fit peaks in this XPS/Raman/FTIR spectrum," "identify oxidation state," "assign these NMR peaks"
Which reference to read
| You have... | Read |
|---|---|
| XPS (oxidation state, surface composition) | references/xps.md |
| Raman spectroscopy | references/raman.md |
| FTIR / infrared spectroscopy | references/ftir.md |
| Solid-state NMR | references/nmr.md |
Core usage — shared peak fitting
Baseline correction (asymmetric least squares — works across all four techniques)
import numpy as np
from scipy import sparse
from scipy.sparse.linalg import spsolve
def als_baseline(intensity, lam=1e5, p=0.01, n_iter=10):
"""Asymmetric least squares baseline (Eilers & Boelens, 2005) — standard,
technique-agnostic baseline correction for peaked spectra."""
L = len(intensity)
D = sparse.diags([1, -2, 1], [0, -1, -2], shape=(L, L - 2))
D = lam * D.dot(D.transpose())
w = np.ones(L)
W = sparse.spdiags(w, 0, L, L)
for _ in range(n_iter):
W.setdiag(w)
baseline = spsolve(W + D, w * intensity)
w = p * (intensity > baseline) + (1 - p) * (intensity < baseline)
return baseline
Peak fitting (Voigt profile — appropriate for most XPS/Raman/FTIR peaks)
from lmfit.models import VoigtModel
def fit_peak(x, y, center_guess):
model = VoigtModel()
params = model.guess(y, x=x)
params["center"].set(value=center_guess)
result = model.fit(y, params, x=x)
return result # result.params gives fitted center, amplitude, sigma, gamma
Everything technique-specific — peak assignment tables, reference databases, artifact profiles — is in the references above.
Validation & Pitfalls
- Peak shape (Gaussian, Lorentzian, or Voigt) should be chosen based on the physical broadening mechanism, not fit convenience — instrumental broadening tends toward Gaussian, natural/lifetime broadening toward Lorentzian; a Voigt profile (convolution of both) is a reasonable general default, but forcing a pure Gaussian or Lorentzian fit on data that doesn't match can bias fitted peak positions and areas.
- Baseline correction parameters (like
lam/pabove) change fitted peak areas, sometimes substantially, and are not neutral defaults — report the method and parameters used, and check sensitivity when a quantitative (not just qualitative) claim depends on peak area.
示例提示词
我有一批XPS谱图需要做基线校正和分峰拟合确定氧化态。
所属插件
安装该插件会一并获得同领域的 42 个 Skill / MCP。
同插件的其他科研 Skill
- 贝叶斯优化材料发现Covers Bayesian optimization for materials and chemistry design: surrogate models, acquisition functions, batch/constrained BO. Use when planning sample-efficient experiments or simulations.
- CALPHAD热力学计算工作流Covers CALPHAD computational thermodynamics: database selection, equilibrium/metastable calculations, binary/ternary phase diagrams. Use when predicting phase stability or solidification paths.
- 材料第一性原理与分子动力学模拟Routes first-principles and classical materials simulation (DFT, MD, ML potentials) to the right specialized workflow. Use as an entry point for any simulation-based materials task.
- 蠕变力学建模与验证Selects, calibrates, and validates creep deformation and rupture models under sustained thermomechanical load, covering rate prediction. Use when assessing long-term high-temperature components.
- 晶体塑性有限元建模Covers crystal plasticity and CPFE modeling of metals: slip systems for FCC/BCC/HCP, Schmid factors. Use when simulating texture- and orientation-dependent plastic deformation.
- 衍射结构表征Covers diffraction-based structure characterization (XRD, neutron, SAED): space group determination, Rietveld refinement, phase identification. Use for any diffraction-pattern analysis technique.
- EBSD织构分析Analyzes EBSD orientation maps for grain size, misorientation, phase, and texture, with pole figures and twin-boundary identification. Use for electron backscatter diffraction workflows.
- 电化学性能测试分析Covers electrochemical characterization: cyclic voltammetry, battery cycling analysis, EIS. Use for electrochemistry-specific data analysis distinct from general materials characterization.
- 金属疲劳寿命评估Builds, calibrates, and validates fatigue assessments for metals and components: stress-life, strain-life, multiaxial critical-plane. Use when predicting fatigue life or crack growth.
- 多物理场有限元建模Covers finite element modeling for coupled materials, mechanics, and transport problems: weak-form construction, boundary conditions, mesh choice. Use for multiphysics FEM simulations.
- 连续尺度有限元力学建模Covers continuum-scale mechanical, thermal, and multiphysics simulation with Abaqus/COMSOL conventions, mesh generation. Use for macroscale FEM consuming measured or computed material properties.
- 断裂力学评估与建模Selects, constructs, and validates fracture-mechanics assessments: LEFM checks, elastic-plastic fracture mechanics. Use when assessing cracked materials or components.
- 高斯过程材料回归建模Covers Gaussian process regression for materials and chemistry datasets: descriptor selection, kernel design. Use when a probabilistic surrogate model with uncertainty is needed.
- 自驱动实验室闭环材料发现Covers combinatorial synthesis, robotic experimentation. Use for autonomous or robotics-driven experimental campaigns, a less standardized domain.
- 材料数据库可复现访问Covers reproducible API access to materials databases (Materials Project, AFLOW, OQMD, NOMAD, COD, ICSD-style sources): authentication. Use when programmatically querying these databases.
- 材料数据库跨库查询Covers querying public materials databases beyond Materials Project: AFLOW, OQMD, NOMAD, JARVIS. Use when pulling or comparing data from these live, API-integrated resources.
- 材料数据标准与互操作Covers data interoperability standards for materials science: CIF crystal files, the OPTIMADE query API. Use when structuring or exchanging materials data between tools.
- 材料结构特征化Covers converting structures, compositions, and trajectories into ML feature vectors: Magpie-style elemental statistics. Use when building inputs for materials ML models.
- 材料科学图表绘制规范Covers publication-quality figure conventions for materials science plots: phase diagrams, pole figures, stress-strain curves. Use when the deliverable is a figure, not just an analysis result.
- 材料信息学性质预测Covers ML for materials property prediction and generative design: descriptor-based models, crystal GNNs (CGCNN/MEGNet-class). Use for materials informatics distinct from interatomic potentials.
- 材料生命周期评估Covers life-cycle assessment for materials and manufacturing routes: goal/scope definition, functional units, inventory construction. Use for environmental-impact studies of materials.
- 材料科学文献检索Covers formulating literature search queries for materials science questions and synthesizing/citing results responsibly. Requires a web search tool; it cannot substitute for one.
- 工程材料选型设计Selects engineering materials via material indices and Ashby charts, ranking candidates by performance per cost or mass. Use when picking a material class for a design constraint.
- 材料统计方法与实验设计Covers statistics shared across materials characterization and simulation: design of experiments. Use for cross-cutting statistical treatment of materials data.
常见问题
振动电子核磁谱学表征能做什么?
Covers vibrational, electronic, and nuclear spectroscopy for materials characterization: XPS, Raman, FTIR, and solid-state NMR. Use for spectroscopic data analysis。
如何安装振动电子核磁谱学表征?
在科搭 Codar 左侧点击「插件」,在「组件」页签搜索「振动电子核磁谱学表征」并安装;在 Claude Code 或 Codex 中可以发送本页的安装提示词,或下载 Skill 包后解压到 ~/.claude/skills 或 ~/.codex/skills。
振动电子核磁谱学表征需要哪些权限?
该科研 Skill没有声明额外权限;执行具体操作时仍由 Agent 按自身规则请求确认。
振动电子核磁谱学表征经过官方审核吗?
是。SpeedSkills 收录的每个版本都会记录内容摘要与权限声明,当前版本已通过安全审核。