casm.info.get_prim_info

casm.info.get_prim_info(prim=None, root=None, properties=[])[source]

Get properties of a primitive crystal structure.

Parameters:
  • prim (dict of BasicStructure (optional, default=None)) – Dict containing the definition of a “prim”, in the `CASM BasicStructure JSON format`_. May be None if root provided.

  • root (str (optional, default=os.getcwd())) – Use the prim of a CASM project located at root, if it exists.

  • properties (list of str (default=[])) – A list of properties to return

Returns:

output (Dict containing results.)