from_cif#

classmethod Phase.from_cif(filename: str) Phase[source]#

Return a new phase from a CIF file using diffpy.structure’s CIF file parser.

Parameters:
filename

Complete path to CIF file with “.cif” file ending. The phase name is obtained from the file name.

Returns:
phase

New phase.