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_l23m1 [2016/10/10 09:41] – external edit 127.0.0.1documentation:tutorials:nio_crystal_field:rixs_l23m1 [2018/03/21 10:23] (current) Stefano Agrestini
Line 188: Line 188:
   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