def model_plot(self, ax, v_min=None, v_max=None, image_names=False):
        """

        :param ax:
        :param model:
        :param v_min:
        :param v_max:
        :return:
        """
        if v_min is None:
            v_min = self._v_min_default
        if v_max is None:
            v_max = self._v_max_default
        im = ax.matshow(np.log10(self._model), origin='lower', vmin=v_min, vmax=v_max,
                        extent=[0, self._frame_size, 0, self._frame_size], cmap=self._cmap)
        ax.get_xaxis().set_visible(False)
        ax.get_yaxis().set_visible(False)
        ax.autoscale(False)
        scale_bar(ax, self._frame_size, dist=1, text='1"')
        text_description(ax, self._frame_size, text="Reconstructed", color="w", backgroundcolor='k')
        coordinate_arrows(ax, self._frame_size, self._coords, arrow_size=self._arrow_size)
        divider = make_axes_locatable(ax)
        cax = divider.append_axes("right", size="5%", pad=0.05)
        cb = plt.colorbar(im, cax=cax)
        cb.set_label(r'log$_{10}$ flux', fontsize=15)

        #plot_line_set(ax, self._coords, self._ra_caustic_list, self._dec_caustic_list, color='b')
        #plot_line_set(ax, self._coords, self._ra_crit_list, self._dec_crit_list, color='r')
        if image_names is True:
            ra_image, dec_image = self._imageModel.PointSource.image_position(self._kwargs_else, self._kwargs_lens)
            image_position_plot(ax, self._coords, ra_image, dec_image)
def model_plot ( self , ax , v_min = None , v_max = None , image_names = False ) : if v_min is None : v_min = self . _v_min_default if v_max is None : v_max = self . _v_max_default im = ax . matshow ( np . log10 ( self . _model ) , origin = 'lower' , vmin = v_min , vmax = v_max , extent = [ 0 , self . _frame_size , 0 , self . _frame_size ] , cmap = self . _cmap ) ax . get_xaxis ( ) . set_visible ( False ) ax . get_yaxis ( ) . set_visible ( False ) ax . autoscale ( False ) scale_bar ( ax , self . _frame_size , dist = 1 , text = '1"' ) text_description ( ax , self . _frame_size , text = "Reconstructed" , color = "w" , backgroundcolor = 'k' ) coordinate_arrows ( ax , self . _frame_size , self . _coords , arrow_size = self . _arrow_size ) divider = make_axes_locatable ( ax ) cax = divider . append_axes ( "right" , size = "5%" , pad = 0.05 ) cb = plt . colorbar ( im , cax = cax ) cb . set_label ( r'log$_{10}$ flux' , fontsize = 15 ) if image_names is True : ra_image , dec_image = self . _imageModel . PointSource . image_position ( self . _kwargs_else , self . _kwargs_lens ) image_position_plot ( ax , self . _coords , ra_image , dec_image )
:param ax:
        :param model:
        :param v_min:
        :param v_max:
        :return: