Attention: The Collaboratory IAM will down for up to 1 hour on Monday, the 7th of July 2025 starting from 5pm CEST (my timezone) for up to 1 hour. Any and all services, which require a user login with an EBRAINS account, will be un-available during that time


Code description

Version 4.2 by galluzziandrea on 2021/12/09 14:39

Introduction (path and modules)

First of all we check the path and import the necessary modules .

Check where I am and place myself in the right folder :

# Import the os module
import os

#Print the current working directory
print("Current working directory: {0}".format(os.getcwd()))

# Change the current working directory
os.chdir('/mnt/user/shared/Slow waves in fading anesthesia/Nest3Python3')

# Print the current working directory
print("Current working directory: {0}".format(os.getcwd()))

import the modules necessary for the simulation

import nest
import time
from numpy import exp
import numpy
import math
import random
import multiprocessing
Inizio=time.time()
print('tempo di Inizio:',Inizio)

Results