def _perform(self):
        args = self.action.args
        img = args.img
        h, w = img.shape

        out_args = Arguments()
        out_args.name = args.name
        out_args.img = self._applyAHEC(img).reshape((h, w)).astype(dtype="uint8")
        return out_args
    def _perform(self):
        """
        Expects action.args.name as fits file name
        Returns HDUs or (later) data model
        """
        name = self.action.args.name
        self.logger.debug(f"Reading {name}")
        out_args = Arguments()
        out_args.name = name
        out_args.img = self.readData(name)

        return out_args