Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Last revisionBoth sides next revision
documentation:tutorials:nio_crystal_field:nixs_m45 [2018/03/20 11:09] Maurits W. Haverkortdocumentation:tutorials:nio_crystal_field:nixs_m45 [2018/03/21 10:18] Stefano Agrestini
Line 111: Line 111:
   for j = 1,#oppList do   for j = 1,#oppList do
     expectationvalue = Chop(psiList[i]*oppList[j]*psiList[i])     expectationvalue = Chop(psiList[i]*oppList[j]*psiList[i])
-    io.write(string.format("%6.3f ",expectationvalue))+    io.write(string.format("%6.3f ",Complex.Re(expectationvalue)))
   end   end
   io.write("\n")   io.write("\n")
Print/export