2023-08-18 17:42:06 +00:00
|
|
|
#!/usr/bin/env python3
|
|
|
|
# -*- coding: utf-8 -*-
|
|
|
|
"""
|
|
|
|
Created on Fri Aug 18 19:05:04 2023
|
|
|
|
|
|
|
|
@author: astral
|
|
|
|
"""
|
2023-08-23 14:25:27 +00:00
|
|
|
from datetime import datetime
|
2023-08-18 17:42:06 +00:00
|
|
|
import numpy as np
|
|
|
|
from neuropercolation import Simulate1Layer
|
|
|
|
|
2023-08-19 20:18:44 +00:00
|
|
|
#eps_space = np.linspace(0.005,0.5,100)
|
|
|
|
eps_space = np.linspace(0.135,0.15,4)
|
|
|
|
|
|
|
|
for dim in [49,100]:
|
2023-08-18 17:42:06 +00:00
|
|
|
for eps in eps_space:
|
|
|
|
eps = round(eps,3)
|
2023-08-28 20:04:55 +00:00
|
|
|
Simulate2Layers(dim,
|
2023-08-18 17:42:06 +00:00
|
|
|
eps,
|
|
|
|
res=2,
|
2023-08-19 20:18:44 +00:00
|
|
|
path=f'/cloud/Public/_data/neuropercolation/1lay/steps=100000/dim={dim:02}/',
|
|
|
|
#draw=None
|
|
|
|
).run(evolutions_per_second=30,
|
|
|
|
last_evolution_step=100000,
|
|
|
|
save_states=False)
|
2023-08-23 14:25:27 +00:00
|
|
|
print(f'Done eps={eps:.3f} with dim={dim} at {datetime.now()}')
|