#!/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 Simulate4Layers eps_space = np.linspace(0.005,0.5,100) #eps_space = np.linspace(0.135,0.15,4) stp = 1000100 for batch in range(1,5): for dim in [7]: for eps in eps_space[1:41:2]: eps = round(eps,3) cons = [(n,n) for n in range(dim)]+[(n,(n+3)%7) for n in range(dim)] sim = Simulate4Layers(dim, eps, coupling=cons, steps=stp, draw=None, res=2, save='simple', path=f'/cloud/Public/_data/neuropercolation/4lay/cons={len(cons)}_steps={stp}/dim={dim:02}/batch={batch}/', ) print(f'Done eps={eps:.3f} with dim={dim} at {datetime.now()}')