sumo icon indicating copy to clipboard operation
sumo copied to clipboard

sumo-bandplot: error: argument --dos: expected one argument

Open kcbhamu opened this issue 4 years ago • 4 comments

I want to plot band and dos side by side for spin up and spin down separately. I am using the below command for that: sumo-bandplot --spin down --dos --elements Fe.s.d,O.s.p ../../2_scf/vasprun.xml --spin down --ymin -4 --ymax 4 --font "Times New Roman"

But it gives me error: sumo-bandplot: error: argument --dos: expected one argument

When I use below command: sumo-bandplot --spin down --dos ../../2_scf/vasprun.xml --elements Fe.s.d,O.s.p --spin down --ymin -4 --ymax 4 --font "Times New Roman" Then I get the attached plot but the dos are not have band_up.pdf

kcbhamu avatar Dec 24 '21 06:12 kcbhamu

There is a DOS on the right-hand side of the PDF file. What's the problem with it?

Is it that both spin channels are included in the DOS? I suppose it would make sense for --spin down to affect both the bands and the DOS (i.e. just give a spin-down DOS in this case). Then again there could be a use-case for the existing behaviour :thinking: This is why we need a more expressive syntax...

ajjackson avatar Dec 31 '21 17:12 ajjackson

I didn't get it. Could you please elaborate it a bit more?

Regards

On Sat, Jan 1, 2022, 2:25 AM Adam J. Jackson @.***> wrote:

There is a DOS on the right-hand side of the PDF file. What's the problem with it?

Is it that both spin channels are included in the DOS? I suppose it would make sense for --spin down to affect both the bands and the DOS (i.e. just give a spin-down DOS in this case). Then again there could be a use-case for the existing behaviour 🤔 This is why we need a more expressive syntax...

— Reply to this email directly, view it on GitHub https://github.com/SMTG-UCL/sumo/issues/158#issuecomment-1003422844, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADZPLT3Y3EOEISZSQ2ZK2ELUTXRQLANCNFSM5KWDIACQ . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

You are receiving this because you authored the thread.Message ID: @.***>

kcbhamu avatar Dec 31 '21 19:12 kcbhamu

In the first case, the error message is expected: the --dos argument requires a file to be provided with DOS data, otherwise there would be nothing to plot.

In the second case, I was not sure if I understand the complaint

Then I get the attached plot but the dos are not have

What is missing from the attached plot?

ajjackson avatar Jan 04 '22 09:01 ajjackson

It has dos for spin-up and spin down. While band structure is for only down-spin. I need dos in accordance with the band structure only. Means, with spin-up band structure, I wants to plot only doss for spin-up while for band structure for down-spin, dos for down spin only.

kcbhamu avatar Jan 05 '22 07:01 kcbhamu