How was chemenv_name calculated in chemenv endpoint?

chemenv endpoint has a field of chemenv_name; e.g, mpr.materials.chemenv.search(material_ids = ["mp-1211846"]) obtained

chemenv_name=['Trigonal bipyramid', 'Tricapped triangular prism (three square-face caps)', 'Angular', 'Angular', 'Angular', 'Angular', 'Angular']

mol_from_site_environments=[Molecule Summary
 Site: Li+ (-0.1054, 0.1175, 0.3036)
 Site: O2- (-0.7029, -1.6101, 1.2331)
 Site: O2- (-1.6429, 1.5779, 0.2246)
 Site: O- (-0.5107, -1.0774, -1.8854)
 Site: O2- (1.8552, -0.7516, 0.0396)
 Site: O2- (1.0470, 1.8102, 0.2564), Molecule Summary
 Site: Nd3+ (0.0435, -0.0415, 0.0324)
 Site: O2- (-0.0000, 1.9883, 1.5151)
 Site: O2- (-1.5507, -1.9606, 0.3216)
 Site: O2- (0.0530, -0.5607, 2.4541)
 Site: O2- (1.0975, -2.2365, 0.0162)
 Site: O- (-0.1923, 2.5210, -1.6035)
 Site: O2- (1.3601, -0.1134, -2.0388)
 Site: O2- (-1.3308, -0.2338, -2.0016)
 Site: O2- (-2.3589, 0.6012, 0.5384)
 Site: O2- (2.5300, 0.3689, 0.5066), Molecule Summary
 Site: C3+ (-0.4114, 0.0408, 0.0387)
 Site: O2- (0.2332, 1.0857, -0.2597)
 Site: O2- (0.0757, -1.1163, 0.2307), Molecule Summary
 Site: C4+ (-0.4117, 0.0000, -0.0000)
 Site: O2- (0.1545, -0.3951, -1.0604)
 Site: O2- (0.1545, 0.3951, 1.0604), Molecule Summary
 Site: C4+ (0.4127, 0.0000, -0.0000)
 Site: O2- (-0.1549, 0.2747, 1.0975)
 Site: O2- (-0.1549, -0.2747, -1.0975), Molecule Summary
 Site: C4+ (-0.4100, -0.0381, -0.0126)
 Site: O2- (0.2536, -1.1085, 0.1131)
 Site: O2- (0.0542, 1.1371, -0.1037), Molecule Summary
 Site: C3+ (0.0140, -0.3924, 0.1506)
 Site: O2- (-0.0318, -0.2395, -1.1152)
 Site: O2- (0.0212, 0.5341, 1.0021)]

QUESTION: Does chemenv_name only count neighboring O atoms or any atoms within the coordination shell?

@JaGeo would you be able to help with a response here? Thanks!

We only consider cation anion bonds for the data generation for MP. Please take a look at the MP website for all details on the algorithm.

More powerful analysis has to be done with pymatgen.

Thank you for your reply! It’s cool to know that MP website already has those explanations!