Skip to content

Commit

Permalink
add docs for effects and modifiers
Browse files Browse the repository at this point in the history
  • Loading branch information
pfackeldey committed Nov 24, 2023
1 parent 21acd81 commit a93285a
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 1 deletion.
6 changes: 6 additions & 0 deletions docs/api/effect.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
dilax.effect
================

.. automodule:: dilax.effect
:show-inheritance:
:members:
2 changes: 2 additions & 0 deletions docs/api/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,10 @@ API Reference
.. toctree::
:maxdepth: 3

effect
likelihood
model
modifier
optimizer
parameter
pdf
Expand Down
6 changes: 6 additions & 0 deletions docs/api/modifier.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
dilax.modifier
================

.. automodule:: dilax.modifier
:show-inheritance:
:members:
2 changes: 1 addition & 1 deletion src/dilax/modifier.py
Original file line number Diff line number Diff line change
Expand Up @@ -396,7 +396,7 @@ def prepare(
if self.mode == self.Mode.barlow_beeston_lite and not mask[i]:
# we merge all processes into one parameter
# for the barlow-beeston-lite approach where
# the bin content is above a certain treshold
# the bin content is above a certain threshold
pkey = f"{i}"
process_parameters[pkey] = Parameter(value=jnp.array(0.0))
# prepare staterror
Expand Down

0 comments on commit a93285a

Please sign in to comment.