/materials/structure/doping
Create interstitially doped structure
Dopant element symbol (e.g., C, B, S)
Range: to 0.5
Dopant fraction relative to host atoms (e.g., 0.05 = 5%)
const url = 'https://api.ouro.foundation/routes/mmoderwell/materials/structure/doping';
const options = {
method: 'POST',
headers: {
'Authorization': 'ApiKey {your-ouro-api-key}',
'Content-Type': 'application/json'
}
};
const payload = {
"file": {
"url": "example_string",
"type": "example_string",
"org_id": "example_string",
"team_id": "example_string",
"filename": "example_string",
"visibility": "example_string"
},
"element": "C",
"fraction": 0.05
};
options.body = JSON.stringify(payload);
fetch(url, options)
.then(response => response.json())
.then(data => console.log(data))
.catch(error => console.error('Error:', error));
Route views over time
This interstitial doping implementation offers researchers a systematic, reproducible approach to generating initial doped structures.