Dielectric Function¶
Look up and interactively plot the MBJ dielectric function ε(ω) for any JARVIS-DFT material. Supports search by JARVIS ID, chemical formula, space group, and MBJ band gap range.
Overview¶
Look up and interactively plot the MBJ dielectric function ε(ω) for any JARVIS-DFT material. Supports search by JARVIS ID, chemical formula, space group, and MBJ band gap range.
Data Source
dft_3d
Endpoints¶
GET /dielectric_functionPOST /dielectric_function/searchGET /dielectric_function/data/{jid}
Request Models: DielectricSearchRequest
Authentication
All POST endpoints require Authorization: Bearer YOUR_TOKEN.
API Example¶
import requests
response = requests.post(
"https://atomgpt.org/dielectric_function/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 dielectric function for Silicon")
print(response)
Reference¶
- Nature Sci. Data 5, 180082 (2018)