3mo
POST
/materials/structure/doping
Create interstitially doped structure
Parameters
ouro-route-id
in headerouro-route-org-id
in headerouro-route-team-id
in headerouro-action-id
in headerRequest body
file
objectRequiredid
url
stringRequiredname
type
stringRequiredorg_id
stringRequiredteam_id
stringRequiredfilename
stringRequiredvisibility
stringRequireddescription
element
stringDefaults to CDopant element symbol (e.g., C, B, S)
fraction
numberDefaults to 0.05Range: 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));
Create interstitially doped structure
Interstitial doping endpoint added
postThis interstitial doping implementation offers researchers a systematic, reproducible approach to generating initial doped structures.
3mo
1 reference
Loading compatible actions...
Loading comments...