Пример #1
0
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()
Пример #2
0
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()
Пример #3
0
def get_features_allch(X_nsc):
    global PC_df
    PC_df = compute_pcs(to2d(X_nsc))[:(FPC * N_CH)]
Пример #4
0
def get_features_allch(X_nsc):
    global PC_df
    PC_df = compute_pcs(to2d(X_nsc))[:(FPC*N_CH)]