pyprocar icon indicating copy to clipboard operation
pyprocar copied to clipboard

Nonlinear polarization in the sz-direction

Open avaspzuiniubi opened this issue 5 months ago • 3 comments

Image When spin=3, does it only consider components greater than 0, or does it account for all components from -1 to 1

avaspzuiniubi avatar Jul 13 '25 08:07 avaspzuiniubi

Hey @avaspzuiniubi,

sorry for the late reply. I have been moving cities.

Yes it does, however we normalize to a scale of (0-1).

We should be normalizing to (-0.5,0.5) by default. I will work on changing this.

Logan Lang

lllangWV avatar Jul 30 '25 15:07 lllangWV

How can we change colorbar label from default:Atomic Orbital Projections to S_x, S_y or S_z?

Jagjitphy avatar Sep 09 '25 11:09 Jagjitphy

You can change the colorbar label in through the bandsplot function

import pyprocar

pyprocar.bandsplot( ..., colorbar_title = "$S_y$", )

you can find other plotting configurations here

lllangWV avatar Sep 09 '25 18:09 lllangWV