def test_loadctf(): """ Crude test of the ctf loader """ z = np.random.rand(100, 8) fname = "temp.ctf" np.savetxt(fname, z) _ = loadctf(fname) os.remove(fname)
def test_load_ctf(): """ Crude test of the ctf loader """ z = np.random.rand(100, 8) np.savetxt('temp.ctf', z) z_loaded = io.loadctf('temp.ctf') os.remove('temp.ctf')