neuropercolation/examples/Simulate1Layer.py

26 lines
807 B
Python
Raw Normal View History

#!/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
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]:
for eps in eps_space:
eps = round(eps,3)
Simulate1Layer(dim,
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()}')