raman-spectra-simulation
Raman Spectra Simulation Skill
When to use this
Use this skill when the user provides a SMILES or XYZ file (coordinates) and wants:
- Optimized geometry
- Theoretically calculated Raman spectrum in a summarized table
- Quick overview of simulated Raman spectrum
- Publication-ready image file
Inputs
- SMILES string (e.g. CCO for ethanol) or XYZ file path (necessary)
- A corresponding experimental Raman spectrum (optional, .txt format)
Outputs
/tmp/chemclaw/optimized_geometry.md/tmp/chemclaw/theoretical_raman.md/tmp/chemclaw/theoretical_raman.png/tmp/chemclaw/exp_raman.png(optional, if experimental data provided)/tmp/chemclaw/comparison_raman.png(optional, if experimental data provided)
Agent response
When returning results to the user, include the generated spectrum image(s) in the response so the user sees them directly. Use markdown image syntax with the correct path to the PNG file(s), e.g. . Include comparison_raman.png if experimental data was provided.
New environment (from zero)
conda create -n spec python=3.12 -y
conda activate spec
conda install -c conda-forge xtb -y # macOS 必装(MLatom 内建 xTB 为 Linux 版)
pip install mlatom numpy matplotlib pyscf geometric rdkit
cd raman-spectra-simulation
python raman_spectra_simulation.py CCO
# optional: python raman_spectra_simulation.py /path/to/structure.xyz
# optional: python raman_spectra_simulation.py CCO experimental_raman.txt
- 请在 skill 目录内执行脚本。
- macOS 若仍误用 MLatom 内建 Linux 版 xTB,可
export PATH="$CONDA_PREFIX/bin:$PATH"让系统先找到 conda 的xtb。
How to use(已装好环境时)
SMILES:
cd raman-spectra-simulation
python raman_spectra_simulation.py CCO
XYZ(用户提供坐标文件):
cd raman-spectra-simulation
python raman_spectra_simulation.py /path/to/structure.xyz
含实验谱对照:
cd raman-spectra-simulation
python raman_spectra_simulation.py CCO experimental_raman.txt
More from internscience/chemclaw
literature-parsing
将 PDF 文献转换为 Markdown 文件,并提取所有图表图片。使用 MinerU (opendatalab) 进行工业级高质量解析。
13molecular_properties_predictor
预测小分子多种物化性质(沸点、折射率、密度、黏度、表面张力等),当前已真实接入 bamboo_mixer 单分子物性模型后端。
13adme-prediction
ADME 性质预测工具。预测分子的吸收、分布、代谢、排泄性质,包括 Caco-2 通透性、PAMPA、HIA、Pgp 抑制、生物利用度、亲脂性等。使用 Morgan 指纹 + Random Forest/XGBoost。当用户提到 ADME 预测、药物性质、通透性、吸收、代谢等时触发。
13reaction-data-extraction
从 PDF 文献中提取化学反应数据,特别是反应条件优化信息。支持提取反应物、产物、催化剂、溶剂、温度、时间、产率等,并输出结构化 CSV 文件。使用 MinerU + NLP + 规则匹配进行精确提取。
13mol-3d-viewer
将 SMILES 或化学名称转换为分子 3D 结构。支持生成 SDF 文件、3D 分子图片和可交互 HTML 网页(可旋转观察)。
13mineru-pdf-converter
|
13