helpers#

Convenience module that imports everything into a MATLAB-like environment. Import with from matviz.helpers import * to get all matviz functions plus common NumPy, Matplotlib, and SciPy imports.

This file is to make your working environment pretty similar to the matlab working environment, with lots of useful functions imported so you don’t need to worry about typing ‘plt.’ beforehand. It also imports several custom functions

matviz.helpers.count_helper(cnt, S=1, freq=10, pcnt=False)[source]#
matviz.helpers.display_pnct(cnt, N)[source]#
matviz.helpers.fig_sizer(a='none', b='none')[source]#
matviz.helpers.nhist_multi(cur, **varargs)[source]#
matviz.helpers.rand(/)#

random() -> x in the interval [0, 1).

matviz.helpers.return_pnct(cnt, N)[source]#
matviz.helpers.silent_toc()[source]#

Homemade version of matlab toc function modified by Lansey for python3 from-> http://stackoverflow.com/questions/5849800/tic-toc-functions-analog-in-python The silent version does not print any statements, just returns the value

matviz.helpers.tic()[source]#

Homemade version of matlab tic function modified by Lansey for python3 from-> http://stackoverflow.com/questions/5849800/tic-toc-functions-analog-in-python

matviz.helpers.toc()[source]#

Homemade version of matlab toc function modified by Lansey for python3 from-> http://stackoverflow.com/questions/5849800/tic-toc-functions-analog-in-python

matviz.helpers.zoom_plot(enable=True)[source]#