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 select segments #23

Open
OldrayHex opened this issue Jan 13, 2021 · 13 comments
Open

How to select segments #23

OldrayHex opened this issue Jan 13, 2021 · 13 comments
Labels
question Further information is requested

Comments

@OldrayHex
Copy link

Hi Lucy,
I have a problem when using your code for my DFT analysis. I can't select a certain segment when I prefer to calculate effective mass along some certain directions in K-paths. I have tried to change the value of "extrema_search_depth" and "energy_range", but it doesn't work. It would be so great if you can give me some advices. Thanks very much.

Sincerely,

Wuliji

@lucydot
Copy link
Owner

lucydot commented Jan 20, 2021

Hello Wuliji,

Sure - I'll take a look. Could you share your input files and the Jupyter Notebook / code you are using, telling me on which line(s) you don't get the result you expect?

Lucy

@OldrayHex
Copy link
Author

OK, thanks very much. I will send them to you by email just for a moment.

@lucydot
Copy link
Owner

lucydot commented Jan 21, 2021 via email

@OldrayHex
Copy link
Author

Of course, thank you so much. #
segments_all
emass_calc.txt

input_files.zip

@OldrayHex
Copy link
Author

My problem is how to get the information of the more flatter band (at the right side of segment2 in the picture above). I have tried to alter the parameters of "extrema_search_depth" and "energy_range", but it didn't work. If you can teach me how to handle it, I'll be very grateful to you.

@lucydot
Copy link
Owner

lucydot commented Jan 26, 2021

Hello @wulijixxx I think the problem might be because you have the same kpoint repeated at each of the special points in k-space (0.5,0,0 and 0,0,0 and 0,0,0.5 and 0.5,0,0.5). Ideally the code would handle this but I haven't got time in the next couple of weeks to sort it out. A workaround might be to manually remove the repeateddata.kpoints and corresponging data.energies and data.occupancies, and to decrease the value of data.number_of_kpoints (or re-run the DFT without the extra kpoints if it's not an expensive calc!). Hopefully the generate_segments will find your segments then...let me know how it goes. Apologies I don't have time to adjust the code now.

@OldrayHex
Copy link
Author

OK. I will have a try. Thanks a lot.

@lucydot
Copy link
Owner

lucydot commented Mar 9, 2021

@wulijixxx I have just remembered that I added an optional argument to the extrema.generate_segments function. It allows you to manually set an extrema point (specifiying the band index and kpoint index). You can use this to get information about the flatter band. The documentation is here: https://effmass.readthedocs.io/en/latest/extrema.html#effmass.extrema.generate_segments .

If it is not working as expected please let me know.

@OldrayHex
Copy link
Author

OldrayHex commented Mar 10, 2021 via email

@lucydot
Copy link
Owner

lucydot commented Mar 23, 2021

Hi @wulijixxx how are you getting on? Is the issue fixed?

@OldrayHex
Copy link
Author

OldrayHex commented Mar 23, 2021 via email

@heessaamm
Copy link

Hello, I have a problem when using effmass to calculate effective mass of my DFT data. effmass cant determine CBM in band structure and as a result there is no effective mass calculation for CBM. Here I attached the result of effmass calculation. can you help me with this problem?
Thank you

effmass_45904

@lucydot
Copy link
Owner

lucydot commented May 31, 2023

@heessaamm just re-visiting this issue. I think the problem might be with the fermi energy of the system. If the fermi level is incorrect (too high) it will not find any minima below it. You can manually set the fermi level in Settings with Settings.fermi_energy.

@lucydot lucydot added the question Further information is requested label May 31, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

3 participants