Thank you so much for the response.
I am trying to plot by spin up and spin down and also by orbitals
I have changed code like this but it gives me some error
# -*- coding: utf-8 -*-
# -------------------------------------------------------------
# Bulk Configuration
# -------------------------------------------------------------
# Set up lattice
lattice = FaceCenteredCubic(3.5249*Angstrom)
# Define elements
elements = [Nickel]
# Define coordinates
fractional_coordinates = [[ 0., 0., 0.]]
# Set up configuration
bulk_configuration = BulkConfiguration(
bravais_lattice=lattice,
elements=elements,
fractional_coordinates=fractional_coordinates
)
# -------------------------------------------------------------
# Calculator
# -------------------------------------------------------------
#----------------------------------------
# Exchange-Correlation
#----------------------------------------
exchange_correlation = SGGA.PBE
k_point_sampling = MonkhorstPackGrid(
na=13,
nb=13,
nc=13,
)
numerical_accuracy_parameters = NumericalAccuracyParameters(
density_mesh_cutoff=105.0*Hartree,
k_point_sampling=k_point_sampling,
)
calculator = LCAOCalculator(
exchange_correlation=exchange_correlation,
numerical_accuracy_parameters=numerical_accuracy_parameters,
)
bulk_configuration.setCalculator(calculator)
nlprint(bulk_configuration)
bulk_configuration.update()
nlsave('Nickel FBS SGGA.hdf5', bulk_configuration)
# -------------------------------------------------------------
# Fat Bandstructure
# -------------------------------------------------------------
P1=ProjectOnUpDownSpin,
P2=ProjectOnOrbitalsByElement
fat_bandstructure = FatBandstructure(
configuration=bulk_configuration,
route=['G', 'X', 'W', 'L', 'G', 'K', 'X', 'U', 'W', 'K', 'L'],
points_per_segment=20,
bands_above_fermi_level=All,
projections=P1+P2
)
nlsave('Nickel FBS SGGA.hdf5', fat_bandstructure)