code: def create_data(self):
      cycles = 10
      time = np.arange(0, cycles * np.pi, 0.01)
      data = np.sin(time)
      data[600:800] = 10
      return data
  
file_path: analytics-zoo/pyzoo/test/zoo/chronos/detector/anomaly/test_ae_detector.py
imports: import pytest
  import numpy
  from test.zoo.pipeline.utils.test_utils import ZooTestCase
  from zoo.chronos.detector.anomaly.ae_detector import AEDetector
label_desc: Use image node_id 3 for calling the TestAEDetector obj's underlying member method code with example usage: obj.create_data() and returns: data