Skip to content
Snippets Groups Projects
Commit a8f8e2db authored by Didi Hou's avatar Didi Hou Committed by Administrator
Browse files

/

parent 883750ed
No related branches found
No related tags found
1 merge request!35Pre-release MAM v1.1.0
source diff could not be displayed: it is too large. Options to address this: view the blob.
......@@ -899,8 +899,8 @@ class Analysis:
for i, area in enumerate(area_list):
print(i, area)
for j, pop in enumerate(self.network.structure_reversed['V1']):
# for j, pop in enumerate(self.network.structure['V1']):
# for j, pop in enumerate(self.network.structure_reversed['V1']):
for j, pop in enumerate(self.network.structure['V1']):
if pop in self.network.structure[area]:
rate = self.pop_rates[area][pop][0]
if rate == 0.0:
......@@ -933,7 +933,8 @@ class Analysis:
ax.set_xticks(x_index)
ax.set_xticklabels(x_ticks)
ax.set_yticks(y_index)
ax.set_yticklabels(self.network.structure_reversed['V1'])
# ax.set_yticklabels(self.network.structure_reversed['V1'])
ax.set_yticklabels(self.network.structure['V1'])
ax.set_ylabel('Population', size=18)
ax.set_xlabel('Area index', size=18)
t = FixedLocator([0.01, 0.1, 1., 10., 100.])
......
......@@ -899,8 +899,8 @@ class Analysis:
for i, area in enumerate(area_list):
print(i, area)
for j, pop in enumerate(self.network.structure_reversed['V1']):
# for j, pop in enumerate(self.network.structure['V1']):
# for j, pop in enumerate(self.network.structure_reversed['V1']):
for j, pop in enumerate(self.network.structure['V1']):
if pop in self.network.structure[area]:
rate = self.pop_rates[area][pop][0]
if rate == 0.0:
......@@ -933,7 +933,8 @@ class Analysis:
ax.set_xticks(x_index)
ax.set_xticklabels(x_ticks)
ax.set_yticks(y_index)
ax.set_yticklabels(self.network.structure_reversed['V1'])
# ax.set_yticklabels(self.network.structure_reversed['V1'])
ax.set_yticklabels(self.network.structure['V1'])
ax.set_ylabel('Population', size=18)
ax.set_xlabel('Area index', size=18)
t = FixedLocator([0.01, 0.1, 1., 10., 100.])
......
source diff could not be displayed: it is too large. Options to address this: view the blob.
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment