28 lines
748 B
Python
28 lines
748 B
Python
#!/usr/bin/env python3
|
|
# -*- coding: utf-8 -*-
|
|
"""
|
|
Created on Fri Aug 18 19:05:04 2023
|
|
|
|
@author: astral
|
|
"""
|
|
|
|
from datetime import datetime
|
|
import numpy as np
|
|
from neuropercolation import Simulate2Layers
|
|
|
|
eps_space = np.linspace(0.005,0.5,100)
|
|
#eps_space = np.linspace(0.135,0.15,4)
|
|
|
|
dims=list(range(21,27,2))
|
|
for dim in [101]:
|
|
for eps in [0.15]:
|
|
eps = round(eps,3)
|
|
sim = Simulate2Layers(dim,
|
|
eps,
|
|
steps=100100,
|
|
draw='pygame',
|
|
save='all',
|
|
path=f'/cloud/Public/_data/neuropercolation/2lay/steps=100100/dim={dim:02}/',
|
|
)
|
|
print(f'Done eps={eps:.3f} with dim={dim} at {datetime.now()}')
|