4mo
POST
/materials/structure/relax
Relax a crystal 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
fmax
numberDefaults to 0.03Range: 0 to 1
Force convergence (eV/Å)
max_steps
integerDefaults to 400Range: 1 to 1000
Maximum optimization steps
optimize_cell
booleanDefaults to trueWhether to optimize cell parameters using FrechetCellFilter
const url = 'https://api.ouro.foundation/routes/mmoderwell/materials/structure/relax';
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"
},
"fmax": 0.03,
"max_steps": 400,
"optimize_cell": true
};
options.body = JSON.stringify(payload);
fetch(url, options)
.then(response => response.json())
.then(data => console.log(data))
.catch(error => console.error('Error:', error));
Relax a crystal structure
Most tutorials you find out there will show just atom position optimization. Depending on where you got your input CIF, this is likely wrong. Let's look at an example from my new crystal generation AP
3moThat's the mission here. The process is pretty simple. Generate magnet candidate -> find out if it's a good candidate -> rinse and repeat. Anyone can contribute. It's a numbers game, so the more peopl
3mo
2 references
Loading compatible actions...
Loading comments...