Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
documentation:tutorials:nio_crystal_field:rixs_l23m45 [2016/10/10 09:41] – external edit 127.0.0.1documentation:tutorials:nio_crystal_field:rixs_l23m45 [2018/03/21 10:12] (current) Stefano Agrestini
Line 171: Line 171:
   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("%8.3f ",Complex.Re(expectationvalue)))
   end   end
   io.write("\n")   io.write("\n")
Print/export