def _scroll(self, lines):
            if lines < 0:
                sys.stdout.write("{}{}".format(
                    self._terminal.move(0, 0),
                    self._terminal.move_up() * -lines))
            else:
                sys.stdout.write("{}{}".format(
                    self._terminal.move(self.height - 1, 0),
                    self._terminal.move_down() * lines))
Apply the smoothing to an image of the spinal cord completed with the mean value of
dataset/ETHPy150Open peterbrittain/asciimatics/asciimatics/screen.py/_BlessedScreen._scroll--crossover with--dataset/ETHPy150Open neuropoly/spinalcordtoolbox/dev/sct_apply_local_filter.py/smooth_mean_per_slice