示例#1
0
def initialize():
    spinconfig = isingmodel.initialize(100)
    spmisc.imsave("init.pdf", spinconfig)
示例#2
0
文件: plots.py 项目: davidreber/Labs
def initialize():
    spinconfig = isingmodel.initialize(100)
    spmisc.imsave("init.pdf", spinconfig)
def initialize():
    spinconfig = isingmodel.initialize(100)
    plt.imshow(spinconfig)
    plt.savefig('init.pdf')