Constructs the carpet from the input image.

        Optional rescaling of the data.

def _make_carpet(self, rescale_data):
        """
        Constructs the carpet from the input image.

        Optional rescaling of the data.
        """

        self.carpet = self._unroll_array(self.input_image, self.fixed_dim)
        if rescale_data:
            self.carpet = row_wise_rescale(self.carpet)