Skip to content

Commit

Permalink
Restored the normal workflow in exp5.py.
Browse files Browse the repository at this point in the history
This version is the main worjhorse leading up to the results in report3.
  • Loading branch information
Thomas Nowotny committed Apr 29, 2021
1 parent 83322d8 commit 98833fc
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/exp5.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,10 @@
print("usage: python exp5.py <run#>")
exit()

ino= int(sys.argv[1])
ino= float(sys.argv[1])
paras= std_paras()

if ino == -1:
if ino == -100:
paras["lns_pns_g"]= 0
paras["lns_lns_g"]= 0
else:
Expand Down Expand Up @@ -78,7 +78,7 @@
# Assume a uniform distribution of Hill coefficients inspired by Rospars'
# work on receptors tiling the space of possible sigmoid responses

hill_new= True
hill_new= False

if hill_new:
hill_exp= np.random.uniform(0.5, 1.5, paras["n_glo"])
Expand All @@ -87,7 +87,7 @@
hill_exp= np.load(paras["dirname"]+"/"+label+"_hill.npy")

# Let's do a progression of broadening odours
odor_new= True
odor_new= False

if odor_new:
odors= None
Expand Down

0 comments on commit 98833fc

Please sign in to comment.