-
-
Notifications
You must be signed in to change notification settings - Fork 204
[WIP] Interpolation overhaul #1203
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Changes from all commits
d4858b6
035a5c5
386b689
6a3a395
911a826
3f02f75
08eebf7
ecc849a
12635f0
8f9ada9
0c7be05
9c650ce
a5467f0
ac6a8f2
6fd7796
801ca08
d591fb2
72ef2b5
9108a14
ad9df63
6d86d4d
0b4a528
ff89084
59d415a
36a916e
d77d567
9948cc8
c48f3dc
f6da82c
af3ed16
197a0cd
ee2520d
82ce471
74567d7
b5c92ee
f18dba4
cf2b32b
cae0791
fd4730b
0a1f68d
284f7af
1788d8b
06bd770
c389411
442ab6e
59c075a
7d36385
88d7336
bdb64bc
e542f1e
157c168
02d37e6
9f28ddd
862c9f2
af42d32
9837544
757e31f
5ce31b9
834d0f3
b4c51e8
bf16f66
a64ec99
530fee6
84a2355
91fb31d
0672801
a3f236b
a7531d6
b5307c2
c7c42c1
3bdda06
c08b76f
da10b48
2a3d308
906ba45
7436866
1adeb74
8e8d38e
47c48bb
dbd7564
f0aee8c
ade0b19
6571fea
3ab116a
5d2ac2f
5f67688
f12ff68
4781f6c
81db846
c0dad1b
0cfe6de
8166598
34aebab
0950193
6898828
52c7b8a
18f4329
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,7 +1,7 @@ | ||
| Econforgeinterp | ||
| --------------- | ||
|
|
||
| .. automodule:: HARK.econforgeinterp | ||
| .. automodule:: HARK.interpolation.econforgeinterp | ||
| :members: | ||
| :undoc-members: | ||
| :show-inheritance: | ||
| Original file line number | Diff line number | Diff line change | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| @@ -0,0 +1,5 @@ | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| from HARK.interpolation._econforge import * | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| from HARK.interpolation._hark import * | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| from HARK.interpolation._multi import * | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| from HARK.interpolation._scipy import * | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| from HARK.interpolation._sklearn import * | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Comment on lines
+1
to
+5
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| from HARK.interpolation._econforge import * | |
| from HARK.interpolation._hark import * | |
| from HARK.interpolation._multi import * | |
| from HARK.interpolation._scipy import * | |
| from HARK.interpolation._sklearn import * | |
| import importlib | |
| _submodules = [ | |
| "HARK.interpolation._econforge", | |
| "HARK.interpolation._hark", | |
| "HARK.interpolation._multi", | |
| "HARK.interpolation._scipy", | |
| "HARK.interpolation._sklearn", | |
| ] | |
| # Dynamically re-export public names from the submodules. | |
| # This mimics "from <module> import *" behavior: | |
| # - If a submodule defines __all__, use that. | |
| # - Otherwise, export all attributes that do not start with "_". | |
| for _mod_name in _submodules: | |
| _mod = importlib.import_module(_mod_name) | |
| _names = getattr(_mod, "__all__", None) | |
| if _names is None: | |
| _names = [n for n in dir(_mod) if not n.startswith("_")] | |
| for _name in _names: | |
| globals()[_name] = getattr(_mod, _name) | |
| # Optionally, define __all__ for this package to list exported names. | |
| __all__ = [n for n in globals() if not n.startswith("_")] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The documentation reference path is updated from
HARK.econforgeinterptoHARK.interpolation.econforgeinterp, but based on the new module structure, it should beHARK.interpolation._econforgesince the submodules use underscore prefixes. Verify this path is correct or if the automodule directive should reference the public API throughHARK.interpolation.