一键导入
dihedral-angle-atan2
Compute signed dihedral (torsion) angles from four 3D points and report degrees in [-180, 180] using a robust atan2 formulation.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Compute signed dihedral (torsion) angles from four 3D points and report degrees in [-180, 180] using a robust atan2 formulation.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Interact with research artifacts running in separate Docker containers via artifact-runner. Execute commands through HTTP API, read files, and verify artifact functionality.
Evaluate research artifacts running in separate Docker containers via artifact-runner. Access artifacts through HTTP API, execute commands, read files, and analyze PDFs.
Interact with artifact containers via HTTP API for paper evaluation tasks. Execute commands, read files, and list directories in remote artifact environments.
Evaluate research artifacts against NDSS badge criteria (Available, Functional, Reproduced) by checking DOI, documentation, exercisability, and reproducibility requirements.
Extract text, tables, and structured information from PDF documents using pdfplumber, PyPDF2, or pdftotext command-line tools.
Calculate protein dihedral angle (phi/psi) from atomic coordinates using the torsion formula. Use when computing backbone dihedral angles from atomic positions or validating protein geometry.
| name | dihedral-angle-atan2 |
| description | Compute signed dihedral (torsion) angles from four 3D points and report degrees in [-180, 180] using a robust atan2 formulation. |
This skill computes the signed dihedral angle defined by four ordered 3D points using a numerically stable atan2-based formulation. It standardizes sign conventions, handles degeneracy checks, and guides precise output formatting.
Use this skill when a task asks to:
Parse Input
Define Bond Vectors
Plane Normals
atan2 Dihedral Formula (signed and robust)
Rounding and Output
Implement these checks before finalizing output:
You can use scripts/dihedral.py to compute the dihedral from either a file containing four lines of "x y z" or from 12 numeric arguments:
The script prints the angle and, if an output path is provided, writes a formatted line: "Dihedral angle: XX.XX degrees".