-
Notifications
You must be signed in to change notification settings - Fork 1
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
Add DielectricFunction properties #72
Conversation
I am not 100% who is better for reviewing this: I don't want comments on the schema, but rather on the implementation of functionalities and check that the testing is correct. Let me know. |
Pull Request Test Coverage Report for Build 9269207816Details
💛 - Coveralls |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I only checked the get_variables
utility, as you asked.
Check whether it's really worth having it as a utility and if so, the edge cases I mentioned.
I think this shows 1 weakness of the naive flat schema, is that we need these scans to provide lookup. For small archives, there's no real issue, but I'm unsure about search at the DB level for 2 reasons:
- the schema does not serialize the actual class. Will we be able to read in more specialized child classes?
- I don't know how an ES query will perform on these lists. Actually, do you have any tag to look for?
These 2 questions are more general than this PR. Just something th at I noticed.
Did a small review. Btw, you can also ask @Bernadette-Mohr. I think she's more than capable providing feedback on the utility. |
Not sure if I understand the point of the weakness. This data structure only stores the data, and in case of talking about querying, I doubt searching for specific
Again, I am never talking about ES in this schema. |
Thanks! I will incorporate your feedback and merge. I think it makes sense if I actually merge after #71 |
You mentioned before essentially copying a filtered version of this schema over into |
I am still not sure. In Maybe I used wrong the word "copy"? |
81da0d9
to
74532b9
Compare
9320621
to
dc92720
Compare
d657e14
to
a9bdac2
Compare
Added KLinePath and KMesh variables with refs to the NumericalSettings sections
dc92720
to
c145924
Compare
…existing in the previous commit when rebasing. what-the-actual-fuck ... -.-
I think I will be merging this tomorrow morning! No problem, we can revisit this as well in the future. |
…g refs in KMesh.points and KLinePath.points Fixed test_permittivity Added optional variables in get_variables utils function
…is is its typical usage
Another property added to the list. In this case, there is a renaming to
Permittivity
to be in line with the taxonomy. I have to check if we can defineDielectricStrength
, and how to extract it fromPermittivity
.The design idea here is that we want to store a 3x3 tensor$\epsilon(q, \omega)$ . If it does not depend on $q$ , we can extract the absorption spectrum as the imaginary term like $I(\omega) = Im \epsilon(\omega)$ . Like the spectrum has a
rank=[]
, and the permittivity hasrank=[3, 3]
, I just needed to create 3 sub-sections for each principal direction for the spectrum.I also:
get_variables()
).AbsorptionSpectrum
as a more abstract category for XAS, EELS. I addedaxis
as a MEnumKMesh
(from KSpace definition #71), and I also definedFrequency
for variablesPermittivity.type
for simpler categorization