Skip to content
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

FEAT: describe initial/final state with State class #116

Merged
merged 8 commits into from
Apr 29, 2024
Merged
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
Loading