Ejemplo n.º 1
0
 def state(self):
     """Return test state."""
     out = AttribDict()
     out.path = os.path.join(os.path.dirname(__file__), 'data')
     out.path_images = os.path.join(os.path.dirname(__file__), 'images')
     out.a = np.sin(np.linspace(0, 10, 101))
     out.b = 5 * np.roll(out.a, 5)
     out.c = 5 * np.roll(out.a[:81], 5)
     return out