generated from min-seo-kim/CA1_Cutsuridis
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcheck2.py
34 lines (29 loc) · 950 Bytes
/
check2.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# -*- coding: utf-8 -*-
"""
Created on Thu Aug 6 11:00:21 2020
@author: mbezaire
"""
import numpy as np
import matplotlib.pyplot as plt
rez={'npvsoma':0,
'npvsr': 0,
'npvslm': 0,
'pvsoma':0,
'pvsr': 0,
'pvslm': 0,
'BC': 1,
'AAC': 1,
'BSC': 1,
'OLM': 1}
for key in rez:
if rez[key]==1:
newway = np.loadtxt(r"C:\Users\mbezaire\Documents\GitHub\CA1_Cutsuridis\pyresults\par_v"+key+"_0.dat")
#oldway = np.loadtxt(r"C:\Users\mbezaire\Documents\GitHub\CA1_Cutsuridis\pyresults\check_v"+key+"_0.dat")
else:
newway = np.loadtxt(r"C:\Users\mbezaire\Documents\GitHub\CA1_Cutsuridis\pyresults\par_"+key+"_0.dat")
#oldway = np.loadtxt(r"C:\Users\mbezaire\Documents\GitHub\CA1_Cutsuridis\pyresults\check_"+key+"_0.dat")
oldway = np.loadtxt(r"C:\Users\mbezaire\Desktop\123815-master\Results\HAM_P5R1_"+key+".dat")
plt.figure()
plt.plot(newway,'k-', oldway, 'r--')
plt.title(key)
plt.show()