jarvis¶
Convert an OPTIMADE structure, in the format of
StructureResource
to a JARVIS Atoms
object.
For more information on the NIST-JARVIS repository, see their website.
This conversion function relies on the jarvis-tools package.
Contributing author
This conversion function was contributed by Kamal Choudhary (@knc6).
get_jarvis_atoms(optimade_structure)
¶
Get jarvis Atoms
from OPTIMADE structure.
Caution
Cannot handle partial occupancies.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
optimade_structure
|
StructureResource
|
OPTIMADE structure. |
required |
Returns:
Type | Description |
---|---|
Atoms
|
A jarvis |
Source code in optimade/adapters/structures/jarvis.py
32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 |
|