Thanks for the Info, but right now I only have ATK 12.8.2.
The fitting itself is not the problem.
Question 1: Why do I have 4 parameters if I have two STO?
Question 2: I define Carbon with a STOs. Here is my basis set creation routine:
huckelBasis = CerdaHuckelParameters.Carbon_graphite_Basis()
onsite_hartree_shift = huckelBasis.onsiteHartreeShift()
number_of_valence_electrons = int(huckelBasis.numberOfValenceElectrons())
wolfsberg_helmholtz_constant = huckelBasis.wolfsbergHelmholtzConstant()
vacuum_level = huckelBasis.vacuumLevel()
def createCerdaCarbonGraphiteBasis(x, w):
carbon_2s = SlaterOrbital(principal_quantum_number = 2,
angular_momentum = 0,
slater_coefficients = x[3] * Bohr**-1,
weights = w[0])
carbon_2p = SlaterOrbital(principal_quantum_number = 2,
angular_momentum = 1,
slater_coefficients = x[4] * Bohr**-1,
weights = w[1])
carbon_3d = SlaterOrbital(principal_quantum_number = 3,
angular_momentum = 2,
slater_coefficients = x[5] * Bohr**-1,
weights = w[2])
return HuckelBasisParameters(element = Carbon,
orbitals = [carbon_2s, carbon_2p, carbon_3d],
ionization_potential = [x[0] * eV, x[1] * eV, x[2] * eV],
onsite_hartree_shift = onsite_hartree_shift,
number_of_valence_electrons = number_of_valence_electrons,
wolfsberg_helmholtz_constant = wolfsberg_helmholtz_constant,
vacuum_level = vacuum_level)
Now lets assume I fix the parameters x are the weights w free or fixed? Must I include them in the fitting or not?
If I select w[0] == w[1] == w[2] == C and I vary C, this has a strong influence on the band structures I get! Why is this?