(pkg)
return methods
Create list of available modules.

    Parameters
    ----------
    pkg : module
        module to inspect

    Returns
    ---------
    method : list
        A list of available submodules
Create list of available modules.
Create list of available modules .
def avail_approaches(pkg):
    """Create list of available modules.

    Parameters
    ----------
    pkg : module
        module to inspect

    Returns
    ---------
    method : list
        A list of available submodules
    """
    methods = [modname for importer, modname, ispkg in
               pkgutil.walk_packages(path=pkg.__path__)
               if modname not in
               ['common_args', 'directions', 'sobol_sequence']
               and 'test' not in modname]

    return methods
def avail_approaches ( pkg ) : methods = [ modname for importer , modname , ispkg in pkgutil . walk_packages ( path = pkg . __path__ ) if modname not in [ 'common_args' , 'directions' , 'sobol_sequence' ] and 'test' not in modname ] return methods