effmass icon indicating copy to clipboard operation
effmass copied to clipboard

How to select segments

Open OldrayHex opened this issue 4 years ago • 13 comments

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

OldrayHex avatar Jan 13 '21 09:01 OldrayHex

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

lucydot avatar Jan 20 '21 22:01 lucydot

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

OldrayHex avatar Jan 21 '21 03:01 OldrayHex

I'd prefer if you could upload to github? This way our discussion can be followed by other people - Lucy

On Thu, Jan 21, 2021 at 3:12 AM wulijixxx [email protected] wrote:

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

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/lucydot/effmass/issues/23#issuecomment-764204156, or unsubscribe https://github.com/notifications/unsubscribe-auth/AASW3R6GHDSC2OR3YHKWBSLS26LTPANCNFSM4WAPMQLA .

lucydot avatar Jan 21 '21 12:01 lucydot

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

input_files.zip

OldrayHex avatar Jan 21 '21 13:01 OldrayHex

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.

OldrayHex avatar Jan 21 '21 13:01 OldrayHex

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.

lucydot avatar Jan 26 '21 18:01 lucydot

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

OldrayHex avatar Feb 22 '21 00:02 OldrayHex

@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.

lucydot avatar Mar 09 '21 15:03 lucydot

OK.Thanks very much. I will try it again and then contact you later.

发自我的iPhone

在 2021年3月9日,23:23,Lucy Whalley [email protected] 写道:

 @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.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or unsubscribe.

OldrayHex avatar Mar 10 '21 02:03 OldrayHex

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

lucydot avatar Mar 23 '21 11:03 lucydot

Not yet, I’m doing some other projects at these days, please wait for a while. I will contact you as soon as I finish them.

发自我的iPhone

在 2021年3月23日,19:56,Lucy Whalley @.***> 写道:

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

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or unsubscribe.

OldrayHex avatar Mar 23 '21 12:03 OldrayHex

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

heessaamm avatar Sep 30 '21 09:09 heessaamm

@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 avatar May 31 '23 15:05 lucydot