Skip to content

Commit

Permalink
properly implement autoMCStats
Browse files Browse the repository at this point in the history
  • Loading branch information
pfackeldey committed Nov 24, 2023
1 parent a1c6ff7 commit 35c5a82
Show file tree
Hide file tree
Showing 6 changed files with 406 additions and 265 deletions.
9 changes: 8 additions & 1 deletion src/dilax/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@
"Parameter",
"modifier",
"staterror",
"autostaterrors",
"compose",
]

Expand All @@ -46,4 +47,10 @@ def __dir__():
util,
)
from dilax.model import Model, Result # noqa: E402
from dilax.parameter import Parameter, compose, modifier, staterror # noqa: E402
from dilax.modifier import ( # noqa: E402
autostaterrors,
compose,
modifier,
staterror,
)
from dilax.parameter import Parameter # noqa: E402
7 changes: 6 additions & 1 deletion src/dilax/likelihood.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,12 @@
from dilax.model import Model
from dilax.util import Sentinel, _NoValue

__all__ = ["NLL", "Hessian", "CovMatrix", "SampleToy"]
__all__ = [
"NLL",
"Hessian",
"CovMatrix",
"SampleToy",
]


def __dir__():
Expand Down
5 changes: 4 additions & 1 deletion src/dilax/model.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,10 @@
from dilax.parameter import Parameter
from dilax.util import Sentinel, _NoValue

__all__ = ["Result", "Model"]
__all__ = [
"Result",
"Model",
]


def __dir__():
Expand Down
Loading

0 comments on commit 35c5a82

Please sign in to comment.