def __init__(self,Scene):
        """
        Produces a render of the Scene. It uses a kernel interpolation 
        method. Its setting and getting methods are:
        
        getting methods:
        ----------------
        
        - get_image
        - get_min
        - get_max
        - get_extent
        - get_logscale
        
        setting methods:
        ----------------
        
        - set_logscale
                
        Other methods are:
        
        - save 
        - histogram

        """
        try:
            class_name = Scene._name
        except AttributeError:
            print("ERROR: use a valid class...")
            return
        if(class_name != 'SCENE'):
            print("ERROR: use a valid class...")
            return

        self.Scene = Scene

        xsize = Scene.Camera.get_params()['xsize']
        ysize = Scene.Camera.get_params()['ysize']

        self.__image = self.__make_render(Scene._x,Scene._y,Scene._hsml,
                                          Scene._kview,xsize,ysize)
        #lets define some flags
        self.__logscale_flag = False;
def __init__ ( self , Scene ) : try : class_name = Scene . _name except AttributeError : print ( "ERROR: use a valid class..." ) return if ( class_name != 'SCENE' ) : print ( "ERROR: use a valid class..." ) return self . Scene = Scene xsize = Scene . Camera . get_params ( ) [ 'xsize' ] ysize = Scene . Camera . get_params ( ) [ 'ysize' ] self . __image = self . __make_render ( Scene . _x , Scene . _y , Scene . _hsml , Scene . _kview , xsize , ysize ) self . __logscale_flag = False ;
Produces a render of the Scene. It uses a kernel interpolation 
        method. Its setting and getting methods are:
        
        getting methods:
        ----------------
        
        - get_image
        - get_min
        - get_max
        - get_extent
        - get_logscale
        
        setting methods:
        ----------------
        
        - set_logscale
                
        Other methods are:
        
        - save 
        - histogram