Phonon DOS¶
Visualize and compare phonon density of states from JARVIS-DFT. Vibrational spectra fetched from JARVIS XML pages.
Overview¶
Visualize and compare phonon density of states from JARVIS-DFT. Vibrational spectra fetched from JARVIS XML pages.
Data Source
dft_3d (JARVIS XML)
Endpoints¶
GET /phonon_dosPOST /phonon_dos/searchGET /phonon_dos/data/{jid}
Request Models: PhononDOSSearchRequest
Authentication
All POST endpoints require Authorization: Bearer YOUR_TOKEN.
API Example¶
import requests
response = requests.post(
"https://atomgpt.org/phonon_dos/search",
headers={
"Authorization": "Bearer sk-XYZ",
"accept": "application/json",
"Content-Type": "application/json",
},
json={"jid": "JVASP-1002"},
)
data = response.json()
print(data)
AGAPI Agent¶
from agapi.agents import AGAPIAgent
import os
agent = AGAPIAgent(api_key=os.environ.get("AGAPI_KEY"))
response = agent.query_sync("Show phonon dos for Silicon")
print(response)
Reference¶
- Phys. Rev. Mat. 7, 023803 (2023)