def to_dict(self) -> Dict[str, Any]: """ Convert to a dictionary. See QpointFrequencies.from_dict for details on keys/values """ dout = _obj_to_dict(self, ['crystal', 'n_qpts', 'qpts', 'frequencies', 'weights']) return dout
def to_dict(self) -> Dict[str, Any]: """ Convert to a dictionary consistent with from_dict() Returns ------- dict """ return _obj_to_dict(self, ['x_data', 'y_data', 'x_tick_labels', 'metadata'])
def to_dict(self) -> Dict[str, Any]: """ Convert to a dictionary. See StructureFactor.from_dict for details on keys/values """ dout = _obj_to_dict(self, [ 'crystal', 'n_qpts', 'qpts', 'frequencies', 'structure_factors', 'weights', 'temperature' ]) return dout
def to_dict(self) -> Dict[str, Any]: """ Convert to a dictionary. See Spectrum2D.from_dict for details on keys/values Returns ------- dict """ return _obj_to_dict( self, ['x_data', 'y_data', 'z_data', 'x_tick_labels', 'metadata'])
def to_dict(self): """ Convert to a dictionary. See DebyeWaller.from_dict for details on keys/values Returns ------- dict """ dout = _obj_to_dict(self, ['crystal', 'debye_waller', 'temperature']) return dout
def to_dict(self) -> Dict[str, Any]: """ Convert to a dictionary. See Crystal.from_dict for details on keys/values Returns ------- dict """ dout = _obj_to_dict( self, ['cell_vectors', 'n_atoms', 'atom_r', 'atom_type', 'atom_mass']) return dout