30 lines
819 B
Python
30 lines
819 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 [33]:
|
|
for eps in [0]:
|
|
eps = round(eps,3)
|
|
sim = Simulate2Layers(dim,
|
|
eps,
|
|
steps=5000,
|
|
draw='pygame',
|
|
save='simple',
|
|
path=f'/cloud/Public/_data/neuropercolation/2lay/steps=500000_rising/dim={dim:02}/',
|
|
rising=True,
|
|
fps=60,
|
|
)
|
|
print(f'Done eps={eps:.3f} with dim={dim} at {datetime.now()}')
|