Skip to content

Commit 2a5b8a4

Browse files
author
jngaravitoc
committed
updating basis_buider with fit functions
1 parent 22f3911 commit 2a5b8a4

File tree

4 files changed

+236
-204
lines changed

4 files changed

+236
-204
lines changed

EXPtools/__init__.py

Lines changed: 17 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,17 @@
1-
from . import visuals
2-
from . import basis_builder
3-
from . import utils
4-
from . import scf
1+
# Allow direct access to these submodules/classes from the package
2+
from .basis_builder.profiles import Profiles
3+
from .basis_builder.basis_utils import make_basis, make_config, write_table, make_model, make_Dfit
4+
from .ios.ios import exp_coefficients
5+
from .utils.halo import ICHernquist
6+
7+
# Explicitly declare public API
8+
__all__ = [
9+
"Profiles",
10+
"makebasis",
11+
"write_table",
12+
"make_config",
13+
"exp_coefficients",
14+
"makemodel",
15+
"ICHernquist"
16+
]
17+

EXPtools/basis_builder/__init__.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,2 @@
11
from .profiles import Profiles
2-
from .basis_utils import makebasis
3-
from .makemodel import write_table
4-
from .makemodel import makemodel
2+
from .basis_utils import *

0 commit comments

Comments
 (0)