2
$\begingroup$

I want to know that if there post-process tool for VASP to plot spin-texture like this? I have tried Vaspkit but it did not support my structure. enter image description here

enter image description here

$\endgroup$
1
  • $\begingroup$ This youtube video which explains how to plot spin textures: here $\endgroup$ Jul 28 at 7:01

1 Answer 1

2
$\begingroup$

You can use a python library called: pyprocar to plot spin texture plots.

You can install it using pip like this : pip install PyProcar

Here is a sample code to plot spin textures

In the below example all the required VASP files such as PROCAR, OUTCAR etc are inside the data directory.

To perform similar plotting on your custom VASP files follow the code below and use the path of the data directory which has all your VASP files

import pyprocar

data_dir = pyprocar.download_example(save_dir='',
                             material='Fe',
                             code='vasp',
                             spin_calc_type='non-colinear',
                             calc_type='fermi')


pyprocar.fermi2D(code = 'vasp',
           dirname=data_dir,
           spin_texture=True,
           spin_projection='x',
           arrow_size=3,
           arrow_density=10,
           plot_color_bar=True)

This gives a plot like below

Spin_texture

$\endgroup$
2
  • $\begingroup$ Hi @Vandan Revanur, Thanks for your advice. I have used this code plot my data. $\endgroup$ Aug 9 at 12:08
  • $\begingroup$ @TieyuanBian If my answer has helped solve your question, please do consider it as the accepted answer by clicking on the tick mark next to the answer. $\endgroup$ Aug 9 at 14:42

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .