Module Expr Str ImportFrom alias ImportFrom alias ImportFrom alias alias alias alias alias alias alias ImportFrom alias ImportFrom alias ImportFrom alias alias alias alias alias Import alias ClassDef bases NameLoad body FunctionDef arguments args NameParam defaults body Pass decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Assert CompareEq Call NameLoad NameLoad Num Assign NameStore Call NameLoad SubscriptLoad SubscriptLoad NameLoad Index Num Index Num SubscriptLoad SubscriptLoad NameLoad Index Num Index Num Assign NameStore Call NameLoad SubscriptLoad SubscriptLoad NameLoad Index Num Index Num SubscriptLoad SubscriptLoad NameLoad Index Num Index Num Return TupleLoad NameLoad NameLoad decorator_list NameLoad FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults NameLoad NameLoad NameLoad NameLoad body Expr Str If BoolOpOr CompareIs NameLoad NameLoad CompareIs NameLoad NameLoad body Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad If CompareIsNot NameLoad NameLoad body Expr Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call NameLoad NameLoad decorator_list NameLoad FunctionDef arguments args NameParam NameParam NameParam NameParam defaults NameLoad body Expr Str Assert CompareEq AttributeLoad NameLoad attr Num Assign NameStore Call NameLoad TupleLoad Call NameLoad NameLoad Call NameLoad NameLoad For NameStore Call NameLoad Call NameLoad NameLoad body For NameStore Call NameLoad Call NameLoad NameLoad body Assign NameStore Call NameLoad ListLoad ListLoad SubscriptLoad NameLoad Index NameLoad SubscriptLoad NameLoad Index NameLoad Assign SubscriptStore NameLoad Index TupleLoad NameLoad NameLoad Call AttributeLoad NameLoad attr NameLoad If CompareEq NameLoad NameLoad body Assign NameStore Call NameLoad NameLoad Assign NameStore Call NameLoad NameLoad keyword Str Expr Call AttributeLoad NameLoad attr ListLoad Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call NameLoad ListLoad Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Expr Call NameLoad ListLoad Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr decorator_list NameLoad FunctionDef arguments args NameParam NameParam NameParam NameParam defaults NameLoad NameLoad NameLoad body Expr Str If BoolOpAnd Call NameLoad NameLoad NameLoad CompareEq NameLoad NameLoad body Expr Call AttributeLoad Call NameLoad attr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad Call NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Index Num SubscriptLoad AttributeLoad NameLoad attr Index Num Str keyword Num keyword Num Return Assert CompareEq AttributeLoad NameLoad attr Num If CompareIs NameLoad NameLoad body Assign TupleStore TupleStore NameStore NameStore NameStore Call AttributeLoad NameLoad attr Assign NameStore Call NameLoad NameLoad NameLoad If CompareIs NameLoad NameLoad body Assign TupleStore NameStore TupleStore NameStore NameStore Call AttributeLoad NameLoad attr Assign NameStore Call NameLoad NameLoad NameLoad Assign NameStore Call NameLoad TupleLoad Call NameLoad NameLoad Call NameLoad NameLoad For NameStore Call NameLoad Call NameLoad NameLoad body For NameStore Call NameLoad Call NameLoad NameLoad body Assign NameStore Call NameLoad ListLoad ListLoad SubscriptLoad NameLoad Index NameLoad SubscriptLoad NameLoad Index NameLoad Assign SubscriptStore NameLoad Index TupleLoad NameLoad NameLoad Call AttributeLoad NameLoad attr NameLoad If CompareEq NameLoad NameLoad body Assign NameStore Call NameLoad NameLoad Expr Call NameLoad NameLoad NameLoad NameLoad keyword Str decorator_list NameLoad FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str Assign NameStore Call NameLoad NameLoad keyword Str Expr Call AttributeLoad NameLoad attr ListLoad Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call NameLoad ListLoad Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Expr Call NameLoad ListLoad Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr decorator_list NameLoad FunctionDef arguments args NameParam NameParam defaults NameLoad body Expr Str Expr Call NameLoad SubscriptLoad NameLoad ExtSlice Slice Index Num SubscriptLoad NameLoad ExtSlice Slice Index Num Str keyword Num keyword Num If CompareIsNot NameLoad NameLoad body Expr Call NameLoad SubscriptLoad NameLoad Index TupleLoad Num Num SubscriptLoad NameLoad Index TupleLoad Num Num Str keyword Num keyword Num decorator_list NameLoad FunctionDef arguments args NameParam NameParam NameParam defaults Num Num body Expr Str Assert Call NameLoad NameLoad NameLoad Assert CompareEq AttributeLoad NameLoad attr Num Assign TupleStore NameStore NameStore Call NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore SubscriptLoad Call AttributeLoad NameLoad attr Slice Num Assign TupleStore NameStore NameStore TupleLoad SubscriptLoad NameLoad Index NameLoad SubscriptLoad NameLoad ExtSlice Slice Index NameLoad Assign NameStore Call AttributeLoad NameLoad attr Call NameLoad SubscriptLoad SubscriptLoad NameLoad ExtSlice Slice Index Num Slice Num Assign TupleStore NameStore NameStore BinOpMult BinOpMult Num NameLoad Call NameLoad NameLoad Assign NameStore Call NameLoad keyword AttributeLoad NameLoad attr keyword NameLoad keyword NameLoad keyword NameLoad keyword Str keyword NameLoad keyword NameLoad Return NameLoad decorator_list NameLoad decorator_list
N/A N/A 
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 3 of the License, or
(at your option) any later version.

Written (W) 2013 Heiko Strathmann
Written (W) 2013 Dino Sejdinovic
 kameleon_mcmc.distribution.Gaussian Gaussian matplotlib.patches Ellipse matplotlib.pyplot imshow ylim xlim contour plot hold gca numpy linspace numpy.linalg.linalg eigh numpy zeros array exp arctan2 sqrt N/A numpy Visualise N/A object N/A __init__ N/A N/A self N/A N/A N/A N/A get_plotting_arrays N/A N/A distribution N/A N/A N/A bounds N/A N/A distribution get_plotting_bounds N/A N/A N/A len bounds 2 N/A Xs N/A linspace N/A N/A bounds N/A 0 N/A 0 N/A N/A bounds N/A 0 N/A 1 N/A Ys N/A linspace N/A N/A bounds N/A 1 N/A 0 N/A N/A bounds N/A 1 N/A 1 N/A N/A Xs Ys N/A staticmethod visualise_distribution N/A N/A distribution Z log_density Xs Ys N/A None False None None N/A N/A 
        Plots the density of a given Distribution instance and plots some
        samples on top.
         N/A N/A N/A Xs None N/A Ys None N/A N/A N/A Xs Ys N/A N/A Visualise get_plotting_arrays distribution N/A N/A N/A Visualise plot_density distribution Xs Ys N/A N/A Z None N/A N/A N/A hold True N/A N/A N/A Visualise plot_data Z N/A N/A hold False N/A staticmethod plot_density N/A N/A distribution Xs Ys log_domain N/A False N/A N/A 
        Plots a 2D density
        
        density - density - distribution instance to plot
        Xs - x values the density is evaluated at
        Ys - y values the density is evaluated at
        log_domain - if False, density will be put into exponential function
         N/A N/A N/A distribution dimension 2 N/A D N/A zeros N/A N/A len Xs N/A len Ys N/A i N/A range N/A len Xs N/A N/A j N/A range N/A len Ys N/A N/A x N/A array N/A N/A N/A Xs N/A i N/A Ys N/A j N/A N/A D N/A N/A j i N/A N/A distribution log_pdf x N/A N/A log_domain False N/A N/A D N/A exp D N/A im N/A imshow D origin lower N/A N/A N/A im set_extent N/A N/A N/A Xs min N/A N/A Xs max N/A N/A Ys min N/A N/A Ys max N/A N/A N/A im set_interpolation nearest N/A N/A N/A im set_cmap gray N/A N/A ylim N/A N/A N/A Ys min N/A N/A Ys max N/A N/A xlim N/A N/A N/A Xs min N/A N/A Xs max N/A staticmethod contour_plot_density N/A N/A distribution Xs Ys log_domain N/A None None False N/A N/A 
        Contour-plots a 2D density. If Gaussian, plots 1.96 interval contour only
        
        density - distribution instance to plot
        Xs - x values the density is evaluated at
        Ys - y values the density is evaluated at
        log_domain - if False, density will be put into exponential function
         N/A N/A N/A isinstance distribution Gaussian N/A log_domain False N/A N/A N/A N/A N/A gca add_artist N/A N/A Visualise get_gaussian_ellipse_artist distribution N/A N/A N/A N/A gca plot N/A N/A distribution mu N/A 0 N/A N/A distribution mu N/A 1 r* markersize 3.0 markeredgewidth 0.1 N/A N/A N/A N/A distribution dimension 2 N/A N/A Xs None N/A N/A N/A N/A xmin xmax _ N/A N/A distribution get_plotting_bounds N/A Xs N/A linspace xmin xmax N/A N/A Ys None N/A N/A N/A _ N/A ymin ymax N/A N/A distribution get_plotting_bounds N/A Ys N/A linspace ymin ymax N/A D N/A zeros N/A N/A len Ys N/A len Xs N/A i N/A range N/A len Xs N/A N/A j N/A range N/A len Ys N/A N/A x N/A array N/A N/A N/A Xs N/A i N/A Ys N/A j N/A N/A D N/A N/A j i N/A N/A distribution log_pdf x N/A N/A log_domain False N/A N/A D N/A exp D N/A N/A contour Xs Ys D origin lower N/A staticmethod plot_array N/A N/A Xs Ys D N/A N/A N/A 
        Plots a 2D array
        
        Xs - x values the density is evaluated at
        Ys - y values the density is evaluated at
        D - array to plot
         N/A im N/A imshow D origin lower N/A N/A N/A im set_extent N/A N/A N/A Xs min N/A N/A Xs max N/A N/A Ys min N/A N/A Ys max N/A N/A N/A im set_interpolation nearest N/A N/A N/A im set_cmap gray N/A N/A ylim N/A N/A N/A Ys min N/A N/A Ys max N/A N/A xlim N/A N/A N/A Xs min N/A N/A Xs max N/A staticmethod plot_data N/A N/A Z y N/A None N/A N/A 
        Plots collection of 2D points and optionally adds a marker to one of them
        
        Z - set of row-vectors points to plot
        y - one point that is marked in red, might be None
         N/A N/A plot N/A Z N/A N/A N/A 0 N/A Z N/A N/A N/A 1 * markersize 3.0 markeredgewidth 0.1 N/A N/A y None N/A N/A N/A plot N/A y N/A N/A 0 0 N/A y N/A N/A 0 1 r* markersize 10.0 markeredgewidth 0.1 N/A staticmethod get_gaussian_ellipse_artist N/A N/A gaussian nstd linewidth N/A 1.96 1 N/A N/A 
        Returns an allipse artist for nstd times the standard deviation of this
        Gaussian
         N/A N/A isinstance gaussian Gaussian N/A N/A N/A gaussian dimension 2 N/A N/A vals vecs N/A eigh N/A N/A N/A gaussian L dot N/A N/A gaussian L T N/A order N/A N/A N/A vals argsort N/A -1 N/A N/A vals vecs N/A N/A vals N/A order N/A vecs N/A N/A N/A order N/A theta N/A N/A numpy degrees N/A arctan2 N/A N/A vecs N/A N/A N/A 0 N/A -1 N/A N/A width height N/A N/A 2 nstd N/A sqrt vals N/A e N/A Ellipse xy N/A gaussian mu width width height height angle theta edgecolor red fill False linewidth linewidth N/A e N/A staticmethod N/A