Skip to content

Commit

Permalink
Merge pull request #675 from Smit-create/revert-601
Browse files Browse the repository at this point in the history
Revert "MAINT: Distinguish between private and public namespaces (#601)"
  • Loading branch information
Smit-create committed Dec 31, 2022
2 parents 703c1d8 + 45c7c04 commit 9ffb7d2
Show file tree
Hide file tree
Showing 67 changed files with 5,132 additions and 5,724 deletions.
72 changes: 32 additions & 40 deletions quantecon/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,51 +12,43 @@
"Cannot import numba from current anaconda distribution. \
Please run `conda install numba` to install the latest version.")

# Modules
#-Modules-#
from . import distributions
from . import game_theory
from . import quad
from . import random
from . import optimize

# Objects
from ._compute_fp import compute_fixed_point
from ._discrete_rv import DiscreteRV
from ._dle import DLE
from ._ecdf import ECDF
from ._estspec import smooth, periodogram, ar_periodogram
from ._graph_tools import DiGraph, random_tournament_graph
from ._gridtools import (cartesian, mlinspace, cartesian_nearest_index,
simplex_grid, simplex_index, num_compositions)
from ._inequality import (lorenz_curve, gini_coefficient, shorrocks_index,
rank_size)
from ._kalman import Kalman
from ._lae import LAE
from ._arma import ARMA
from ._lqcontrol import LQ, LQMarkov
from ._filter import hamilton_filter
from ._lqnash import nnash
from ._ivp import IVP
from ._lss import LinearStateSpace
from ._matrix_eqn import solve_discrete_lyapunov, solve_discrete_riccati
from ._quadsums import var_quadratic_sum, m_quadratic_sum
from ._rank_nullspace import rank_est, nullspace
from ._robustlq import RBLQ

#-> Propose Delete From Top Level
# Promote to keep current examples working
#-Objects-#
from .compute_fp import compute_fixed_point
from .discrete_rv import DiscreteRV
from .dle import DLE
from .ecdf import ECDF
from .estspec import smooth, periodogram, ar_periodogram
# from .game_theory import <objects-here> #Place Holder if we wish to promote any general objects to the qe namespace.
from .graph_tools import DiGraph, random_tournament_graph
from .gridtools import (
cartesian, mlinspace, cartesian_nearest_index, simplex_grid, simplex_index,
num_compositions
)
from .inequality import lorenz_curve, gini_coefficient, shorrocks_index, \
rank_size
from .kalman import Kalman
from .lae import LAE
from .arma import ARMA
from .lqcontrol import LQ, LQMarkov
from .filter import hamilton_filter
from .lqnash import nnash
from .lss import LinearStateSpace
from .matrix_eqn import solve_discrete_lyapunov, solve_discrete_riccati
from .quadsums import var_quadratic_sum, m_quadratic_sum
#->Propose Delete From Top Level
#Promote to keep current examples working
from .markov import MarkovChain, random_markov_chain, random_stochastic_matrix, \
gth_solve, tauchen, rouwenhorst


from .util import searchsorted, fetch_nb_dependencies, tic, tac, toc
#<-

# Imports that should be deprecated with markov package
gth_solve, tauchen, rouwenhorst
#Imports that Should be Deprecated with markov package
from .markov import mc_compute_stationary, mc_sample_path

# Imports that are deprecated and will be removed in further versions
from . import (ecdf, arma, compute_fp, discrete_rv, dle, estspec, filter,
graph_tools, gridtools, inequality, ivp, kalman, lae,
lqcontrol, lqnash, lss, matrix_eqn, quadsums, rank_nullspace,
robustlq)
#<-
from .rank_nullspace import rank_est, nullspace
from .robustlq import RBLQ
from .util import searchsorted, fetch_nb_dependencies, tic, tac, toc
258 changes: 0 additions & 258 deletions quantecon/_arma.py

This file was deleted.

0 comments on commit 9ffb7d2

Please sign in to comment.