Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to interpret the clusters with different function ids ? #501

Open
1 task done
txy159 opened this issue Nov 1, 2024 · 0 comments
Open
1 task done

How to interpret the clusters with different function ids ? #501

txy159 opened this issue Nov 1, 2024 · 0 comments

Comments

@txy159
Copy link

txy159 commented Nov 1, 2024

Email (Optional)

No response

Problem

I am trying to construct a ClusterSubspace using the following code. I am wondering how to interpret the generated correlation functions. What is the site occupation associated with each function?

Here's the code and the outputs:

`from pymatgen.ext.matproj import MPRester

mpr = MPRester()
entry_0 = mpr.get_entry_by_material_id("mp-25411", inc_structure=True)
LiNiO2 = entry_0.structure

s_LiNiO2.replace_species({"Ni": {"Mn": 1/3, "Ni": 1/3, "Co": 1/3}})

from smol.cofe import ClusterSubspace, StructureWrangler, ClusterExpansion, RegressionData

subspace = ClusterSubspace.from_cutoffs(
s_LiNiO2,
cutoffs={2: 8.1, 3: 6.1, 4: 5.1},
basis='sinusoid',
supercell_size='O'
)

print("Orbits")
print(subspace.orbits_by_size[2][0])

print(" ")

print("correlation tensors")
print(subspace.orbits_by_size[2][0].correlation_tensors)
`

image

Thanks.

Proposed Solution

.

Alternatives

No response

Code of Conduct

  • I agree to follow this project's Code of Conduct
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant