Skip to content

Commit

Permalink
FEAT: describe initial/final state with State class (#116)
Browse files Browse the repository at this point in the history
* BREAK: rename `get_particle()` to `to_particle()`
* DOC: generalize plotting code
* FEAT: add `ThreeBodyDecayChain.production_node`
* FEAT: extract `dynamics.builder` functions
* FEAT: implement `permute_equal_final_states()`
* FIX: allow `filter_min_ls()` on transitions without LS
* MAINT: remove `normalize_state_ids()` from fixture
  • Loading branch information
redeboer authored Apr 29, 2024
1 parent 9b6fbbc commit a387b25
Show file tree
Hide file tree
Showing 9 changed files with 707 additions and 511 deletions.
8 changes: 7 additions & 1 deletion docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,10 +36,14 @@
add_module_names = False
api_github_repo = f"{ORGANIZATION}/{REPO_NAME}"
api_target_substitutions: dict[str, str | tuple[str, str]] = {
"ampform_dpd.decay.StateIDTemplate": ("obj", "ampform_dpd.decay.StateID"),
"DecayNode": ("obj", "ampform_dpd.decay.DecayNode"),
"FinalState": ("obj", "ampform_dpd.decay.FinalState"),
"FinalStateID": ("obj", "ampform_dpd.decay.FinalStateID"),
"FrozenTransition": "qrules.topology.FrozenTransition",
"InitialStateID": ("obj", "ampform_dpd.decay.InitialStateID"),
"Literal[-1, 1]": "typing.Literal",
"Literal[(-1, 1)]": "typing.Literal",
"OuterStates": ("obj", "ampform_dpd.decay.OuterStates"),
"ParameterValue": ("obj", "tensorwaves.interface.ParameterValue"),
"ParametrizedBackendFunction": "tensorwaves.function.ParametrizedBackendFunction",
"PoolSum": "ampform.sympy.PoolSum",
Expand All @@ -51,6 +55,8 @@
"sp.Indexed": "sympy.tensor.indexed.Indexed",
"sp.Rational": "sympy.core.numbers.Rational",
"sp.Symbol": "sympy.core.symbol.Symbol",
"StateID": ("obj", "ampform_dpd.decay.StateID"),
"StateIDTemplate": ("obj", "ampform_dpd.decay.StateID"),
}
api_target_types: dict[str, str] = {}
author = "Common Partial Wave Analysis"
Expand Down
Loading

0 comments on commit a387b25

Please sign in to comment.