def stacnbackFig(m1, stac=.8): stim = gwn.getstim('bl') uc = ucse(stim) rc = evalSystem(m1, True, cid=0) iss = istac.istacspace(rc, uc, stac)['vecs'] plt.figure(3) plt.clf() _prow(rc, None, 0) rc1 = np.dot(iss.transpose(), rc) _prow(rc1, None, 1) rc2 = np.dot(iss, rc1) _prow(rc2, None, 2) f = plt.figure(3) f.subplots_adjust(left=.04, right=.99, bottom=.05, top=.99, wspace=.05, hspace=.05) f.canvas.draw()
def sndStac(d2, reverse=False): ref = np.dot(d2['c3.orth'].transpose(), d2['r0_0._']) pri = np.dot(d2['c3.orth'].transpose(), d2['r0_1._']) iss = istac.istacspace(pri, ref, 0, reverse) iss['full'] = np.dot(d2['c3.orth'], iss['vecs']) return iss
def is_comp_r(ce, uc, clevel): iss = istac.istacspace(ce, uc, clevel, True)['vecs'] return iss.transpose()