Attention: The EBRAINS IAM will be down Monday, the 21st July 2025, from 17.00 CEST (my timezone) for up to 1 hour. This will any affect services requiring an EBRAINS login, we apologise for any inconvenience caused.


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