# Path: vip_hci/config/utils_conf.py
# def print_precision(array, precision=3):
#     def save(self, filename):
#     def load(cls, filename):
#     def __new__(cls, iterable=None, desc=None, total=None, leave=True,
#                 backend=None, verbose=True):
#     def set(b):
#     def __init__(self, iterable=None):
#     def __iter__(self):
#     def __next__(self):
#     def __getattr__(self, key):
#     def update(self):
# def algo_calculates_decorator(*calculated_attributes):
#     def decorator(fkt):
#         def wrapper(self, *args, **kwargs):
# def check_array(input_array, dim, msg=None):
# def frame_or_shape(data):
# def eval_func_tuple(f_args):
#     def __init__(self, v):
# def iterable(v):
# def pool_map(nproc, fkt, *args, **kwargs):
# def pool_imap(nproc, fkt, *args, **kwargs):
# def repeat(*args):
# def make_chunks(l, n):
#     def __init__(self, stdout='', stderr=''):
#     def __enter__(self):
#     def __exit__(self, exc_type, exc_value, traceback):
# def lines_of_code():
# class SaveableEmpty(object):
# class Saveable(object):
# class Progressbar(object):
# class NoProgressbar(object):
# class FixedObj(object):
# class redirect_output(object):


from datetime import datetime
from .utils_conf import sep
#! /usr/bin/env python

"""
Functions for timing other functions/procedures.
"""


__author__ = 'Carlos Alberto Gomez Gonzalez'
__all__ = ['time_ini', 'timing', 'time_fin']



def time_ini(verbose=True):
    """
    Set and print the time at which the script started.

    Returns
    -------
    start_time : string
        Starting time.

    """
    start_time = datetime.now()
    if verbose:

# Path: vip_hci/config/utils_conf.py
# def print_precision(array, precision=3):
#     def save(self, filename):
#     def load(cls, filename):
#     def __new__(cls, iterable=None, desc=None, total=None, leave=True,
#                 backend=None, verbose=True):
#     def set(b):
#     def __init__(self, iterable=None):
#     def __iter__(self):
#     def __next__(self):
#     def __getattr__(self, key):
#     def update(self):
# def algo_calculates_decorator(*calculated_attributes):
#     def decorator(fkt):
#         def wrapper(self, *args, **kwargs):
# def check_array(input_array, dim, msg=None):
# def frame_or_shape(data):
# def eval_func_tuple(f_args):
#     def __init__(self, v):
# def iterable(v):
# def pool_map(nproc, fkt, *args, **kwargs):
# def pool_imap(nproc, fkt, *args, **kwargs):
# def repeat(*args):
# def make_chunks(l, n):
#     def __init__(self, stdout='', stderr=''):
#     def __enter__(self):
#     def __exit__(self, exc_type, exc_value, traceback):
# def lines_of_code():
# class SaveableEmpty(object):
# class Saveable(object):
# class Progressbar(object):
# class NoProgressbar(object):
# class FixedObj(object):
# class redirect_output(object):


# Path: vip_hci/config/timing.py
from datetime import datetime
from .utils_conf import sep

#! /usr/bin/env python

"""
Functions for timing other functions/procedures.
"""


__author__ = 'Carlos Alberto Gomez Gonzalez'
__all__ = ['time_ini', 'timing', 'time_fin']



def time_ini(verbose=True):
    """
    Set and print the time at which the script started.

    Returns
    -------
    start_time : string
        Starting time.

    """
    start_time = datetime.now()
    if verbose:

        print(sep)