def reget_features(X_nsc): global PC_3s PC_3s = compute_pcs(X_nsc[:, :, 0])[:FPC] import matplotlib.pyplot as plt for i in xrange(3): plt.plot(PC_3s[i]) plt.show()
def reget_features(X_nsc): global PC_3s PC_3s = compute_pcs(X_nsc[:,:,0])[:FPC] import matplotlib.pyplot as plt for i in xrange(3): plt.plot(PC_3s[i]) plt.show()
def get_features_allch(X_nsc): global PC_df PC_df = compute_pcs(to2d(X_nsc))[:(FPC * N_CH)]
def get_features_allch(X_nsc): global PC_df PC_df = compute_pcs(to2d(X_nsc))[:(FPC*N_CH)]