|
1 |
| -from . import _version |
2 |
| - |
3 | 1 | # Analyse
|
4 | 2 | from structuretoolkit.analyse import (
|
5 | 3 | find_mic,
|
|
25 | 23 | get_voronoi_volumes,
|
26 | 24 | )
|
27 | 25 |
|
| 26 | +# Analyse - for backwards compatibility |
| 27 | +from structuretoolkit.analyse import ( |
| 28 | + find_solids as analyse_find_solids, |
| 29 | +) |
| 30 | +from structuretoolkit.analyse import ( |
| 31 | + get_adaptive_cna_descriptors as analyse_cna_adaptive, |
| 32 | +) |
| 33 | +from structuretoolkit.analyse import ( |
| 34 | + get_centro_symmetry_descriptors as analyse_centro_symmetry, |
| 35 | +) |
| 36 | +from structuretoolkit.analyse import ( |
| 37 | + get_cluster_positions as cluster_positions, |
| 38 | +) |
| 39 | +from structuretoolkit.analyse import ( |
| 40 | + get_diamond_structure_descriptors as analyse_diamond_structure, |
| 41 | +) |
| 42 | +from structuretoolkit.analyse import ( |
| 43 | + get_equivalent_atoms as analyse_phonopy_equivalent_atoms, |
| 44 | +) |
| 45 | +from structuretoolkit.analyse import ( |
| 46 | + get_steinhardt_parameters as get_steinhardt_parameter_structure, |
| 47 | +) |
| 48 | +from structuretoolkit.analyse import ( |
| 49 | + get_voronoi_volumes as analyse_voronoi_volume, |
| 50 | +) |
| 51 | + |
28 | 52 | # Build
|
29 | 53 | from structuretoolkit.build import (
|
30 | 54 | B2,
|
31 | 55 | C14,
|
32 | 56 | C15,
|
33 | 57 | C36,
|
34 | 58 | D03,
|
| 59 | + create_mesh, |
35 | 60 | get_grainboundary_info,
|
36 | 61 | get_high_index_surface_info,
|
37 | 62 | grainboundary,
|
38 | 63 | high_index_surface,
|
39 | 64 | sqs_structures,
|
40 |
| - create_mesh, |
| 65 | +) |
| 66 | + |
| 67 | +# Build - for backwards compatibility |
| 68 | +from structuretoolkit.build import ( |
| 69 | + get_grainboundary_info as grainboundary_info, |
| 70 | +) |
| 71 | +from structuretoolkit.build import ( |
| 72 | + get_high_index_surface_info as high_index_surface_info, |
| 73 | +) |
| 74 | +from structuretoolkit.build import ( |
| 75 | + grainboundary as grainboundary_build, |
| 76 | +) |
| 77 | +from structuretoolkit.build import ( |
| 78 | + sqs_structures as get_sqs_structures, |
41 | 79 | )
|
42 | 80 |
|
43 | 81 | # Common
|
|
47 | 85 | ase_to_pymatgen,
|
48 | 86 | ase_to_pyscal,
|
49 | 87 | center_coordinates_in_unit_cell,
|
| 88 | + get_cell, |
50 | 89 | get_extended_positions,
|
51 | 90 | get_vertical_length,
|
52 | 91 | get_wrapped_coordinates,
|
53 | 92 | pymatgen_to_ase,
|
54 | 93 | select_index,
|
55 |
| - get_cell, |
56 | 94 | )
|
57 | 95 |
|
58 | 96 | # Visualize
|
59 | 97 | from structuretoolkit.visualize import plot3d
|
60 | 98 |
|
61 |
| -# Analyse - for backwards compatibility |
62 |
| -from structuretoolkit.analyse import ( |
63 |
| - find_solids as analyse_find_solids, |
64 |
| - get_adaptive_cna_descriptors as analyse_cna_adaptive, |
65 |
| - get_centro_symmetry_descriptors as analyse_centro_symmetry, |
66 |
| - get_cluster_positions as cluster_positions, |
67 |
| - get_diamond_structure_descriptors as analyse_diamond_structure, |
68 |
| - get_equivalent_atoms as analyse_phonopy_equivalent_atoms, |
69 |
| - get_steinhardt_parameters as get_steinhardt_parameter_structure, |
70 |
| - get_voronoi_volumes as analyse_voronoi_volume, |
71 |
| -) |
72 |
| - |
73 |
| -# Build - for backwards compatibility |
74 |
| -from structuretoolkit.build import ( |
75 |
| - get_grainboundary_info as grainboundary_info, |
76 |
| - get_high_index_surface_info as high_index_surface_info, |
77 |
| - grainboundary as grainboundary_build, |
78 |
| - sqs_structures as get_sqs_structures, |
79 |
| -) |
| 99 | +from . import _version |
80 | 100 |
|
81 | 101 | __version__ = _version.get_versions()["version"]
|
0 commit comments