Module Expr Str ClassDef bases body Expr Str Assign NameStore NameLoad Assign NameStore NameLoad FunctionDef arguments args NameParam defaults body Expr Str Import alias Assign NameStore Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Import alias If CompareIs AttributeLoad NameLoad attr NameLoad body Raise Call NameLoad Str Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore BinOpSub NameLoad AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr NameLoad Print Call AttributeLoad Str attr NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Import alias If CompareIs AttributeLoad NameLoad attr NameLoad body Raise Call NameLoad Str Assign NameStore Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr NameLoad Assign NameStore BinOpSub NameLoad AttributeLoad NameLoad attr Print Call AttributeLoad Str attr NameLoad Return NameLoad decorator_list decorator_list Assign NameStore Call NameLoad FunctionDef arguments args defaults body Expr Str Return Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args defaults body Expr Str Return Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args defaults body Expr Str Return Call AttributeLoad NameLoad attr decorator_list
N/A N/A 
Filename: timing.py
Authors: Pablo Winant
Date: 10/16/14
Provides Matlab-like tic, tac and toc functions.
 __Timer__ N/A N/A N/A Computes elapsed time, between tic, tac, and toc.

    Methods
    -------
    tic :
        Resets timer.
    toc :
        Returns and prints time elapsed since last tic().
    tac :
        Returns and prints time elapsed since last
             tic(), tac() or toc() whichever occured last.
     N/A start None N/A last None tic N/A N/A self N/A N/A N/A Resets timer. N/A time N/A t N/A N/A time time N/A N/A self start t N/A N/A self last t N/A tac N/A N/A self N/A N/A N/A Returns and prints time elapsed since last tic() N/A time N/A N/A N/A self start None N/A N/A N/A Exception tac() without tic() N/A t N/A N/A time time N/A elapsed N/A t N/A self last N/A N/A self last t N/A N/A N/A TAC: Elapsed: {} seconds. format elapsed N/A elapsed N/A toc N/A N/A self N/A N/A N/A Returns and prints time elapsed since last
        tic() or tac() whichever occured last N/A time N/A N/A N/A self start None N/A N/A N/A Exception toc() without tic() N/A t N/A N/A time time N/A N/A self last t N/A elapsed N/A t N/A self start N/A N/A N/A TOC: Elapsed: {} seconds. format elapsed N/A elapsed N/A N/A N/A __timer__ N/A __Timer__ tic N/A N/A N/A N/A N/A Saves time for future use with tac or toc. N/A N/A N/A __timer__ tic N/A tac N/A N/A N/A N/A N/A Prints and returns elapsed time since last tic, tac or toc. N/A N/A N/A __timer__ tac N/A toc N/A N/A N/A N/A N/A Prints and returns elapsed time since last tic, tac or toc. N/A N/A N/A __timer__ toc N/A