def METHOD_NAME(self):
    self.fake_region_of_interest()
    seq = ImageSequence(
        self.data,
        units="V",
        sampling_rate=500 * pq.Hz,
        t_start=250 * pq.ms,
        spatial_scale=1 * pq.um,
    )
    signals = seq.signal_from_region(self.rect_ROI)
    self.assertIsInstance(signals, list)
    self.assertEqual(len(signals), 1)
    for signal in signals:
        self.assertIsInstance(signal, AnalogSignal)
        self.assertEqual(signal.t_start, seq.t_start)
        self.assertEqual(signal.sampling_period, seq.frame_duration)
    with self.assertRaises(ValueError):  # no pixels in region
        ImageSequence(
            self.data, units="V", sampling_rate=500 * pq.Hz, spatial_scale=1 * pq.um
        ).signal_from_region(RectangularRegionOfInterest(1, 1, 0, 0))
    with self.assertRaises(ValueError):
        ImageSequence(
            self.data, units="V", sampling_rate=500 * pq.Hz, spatial_scale=1 * pq.um
        ).signal_from_region()