# -*- coding: utf-8 -*-
"""
Created on Sat Dec 14 23:13:29 2019

@author: Amin-CSL
"""
import numpy as np
import matplotlib.pyplot as plt
def BATADAL_getdata():
    filename='Physical_BATADAL.npy'
    data=np.load(filename,allow_pickle=True)
    print('Dataset BATADAL Loaded')
    datalen=len(data[0])
    X=data[:,0:datalen-2]
    y=data[:,datalen-1]
    return X#,y
data  = BATADAL_getdata()
print(data[77,0])
arr = np.pad(data,  ((0,0),(0,6)), 'constant', constant_values=0.000)

for i in range (0,arr.shape[0]):
    for x in range (1,arr.shape[1]):
        #arr[i,x] = int(arr[i,x])
        x = 1+ x
print(arr[:,1:])
arr = arr[1,1:]
img = np.reshape(arr, (7,7,1))

nas = [[2,2],[2,3]]
plt.imshow(nas) 

