@@ -128,10 +128,9 @@ def _get_unique_sites(structure):
128
128
structure (Structure): ground state Structure object.
129
129
130
130
Returns:
131
- unique_site_ids (dict): maps tuples of equivalent site indices to a
132
- unique int identifier
133
- wyckoff_ids (dict): maps tuples of equivalent site indices to their
134
- wyckoff symbols
131
+ tuple[dict, dict]: unique_site_ids maps tuples of equivalent site indices to a
132
+ unique int identifier.
133
+ wyckoff_ids maps tuples of equivalent site indices to their wyckoff symbols
135
134
"""
136
135
# Get a nonmagnetic representation of the supercell geometry
137
136
s0 = CollinearMagneticStructureAnalyzer (
@@ -356,7 +355,7 @@ def get_exchange(self):
356
355
solve for the exchange parameters.
357
356
358
357
Returns:
359
- ex_params ( dict) : Exchange parameter values (meV/atom).
358
+ dict[str, float] : Exchange parameters (meV/atom).
360
359
"""
361
360
ex_mat = self .ex_mat
362
361
# Solve the matrix equation for J_ij values
@@ -466,7 +465,7 @@ def estimate_exchange(self, fm_struct=None, afm_struct=None, fm_e=None, afm_e=No
466
465
afm_e (float): afm energy/atom
467
466
468
467
Returns:
469
- j_avg ( float) : Average exchange parameter (meV/atom)
468
+ float: Average J exchange parameter (meV/atom)
470
469
"""
471
470
# Get low energy orderings if not supplied
472
471
if any (arg is None for arg in [fm_struct , afm_struct , fm_e , afm_e ]):
@@ -503,7 +502,7 @@ def get_mft_temperature(self, j_avg):
503
502
j_avg (float): j_avg (float): Average exchange parameter (meV/atom)
504
503
505
504
Returns:
506
- mft_t ( float) : Critical temperature (K)
505
+ float: Critical temperature mft_t (K)
507
506
"""
508
507
n_sub_lattices = len (self .unique_site_ids )
509
508
k_boltzmann = 0.0861733 # meV/K
@@ -545,7 +544,7 @@ def get_interaction_graph(self, filename=None):
545
544
filename (str): if not None, save interaction graph to filename.
546
545
547
546
Returns:
548
- igraph ( StructureGraph) : Exchange interaction graph.
547
+ StructureGraph: Exchange interaction graph.
549
548
"""
550
549
structure = self .ordered_structures [0 ]
551
550
sgraph = self .sgraphs [0 ]
@@ -593,7 +592,7 @@ def _get_j_exc(self, i, j, dist):
593
592
(10E-2 precision)
594
593
595
594
Returns:
596
- j_exc ( float) : Exchange parameter in meV
595
+ float: Exchange parameter J_exc in meV
597
596
"""
598
597
# Get unique site identifiers
599
598
i_index = 0
@@ -964,7 +963,7 @@ def _get_j_exc(self, i, j, dist):
964
963
dist (float): distance (Angstrom) between sites +- tol
965
964
966
965
Returns:
967
- j_exc ( float) : Exchange parameter in meV
966
+ float: Exchange parameter J_exc in meV
968
967
"""
969
968
# Get unique site identifiers
970
969
i_index = 0
0 commit comments