@@ -89,7 +89,7 @@ def pysb2jax(
8989 simulations.
9090
9191 :param model:
92- pysb model, :attr:`pysb.Model.name` will determine the name of the
92+ pysb model, :attr:`pysb.core. Model.name` will determine the name of the
9393 generated module
9494
9595 :param output_dir:
@@ -98,12 +98,12 @@ def pysb2jax(
9898 :param observation_model:
9999 The different measurement channels that make up the observation
100100 model, see also :class:`amici.importers.utils.MeasurementChannel`.
101- The ID is expected to be the name of a :class:`pysb.Expression` or
102- :class:`pysb.Observable` in the provided model that should be mapped to
103- an observable.
104- ``sigma`` is expected to be the name of a :class:`pysb.Expression` to
105- be mapped to the scale parameter of the noise distribution.
106- `` MeasurementChannel.formula` ` is expected to be
101+ The ID is expected to be the name of a :class:`pysb.core. Expression` or
102+ :class:`pysb.core. Observable` in the provided model that should be
103+ mapped to an observable.
104+ ``sigma`` is expected to be the name of a :class:`pysb.core. Expression`
105+ to be mapped to the scale parameter of the noise distribution.
106+ :attr:` MeasurementChannel.formula` is expected to be
107107 ``None``. Event-observables are not supported.
108108
109109 :param verbose: verbosity level for logging, True/False default to
@@ -124,11 +124,12 @@ def pysb2jax(
124124 https://github.com/AMICI-dev/AMICI/pull/1672
125125
126126 :param model_name:
127- Name for the generated model module. If None, :attr:`pysb.Model.name`
128- will be used.
127+ Name for the generated model module.
128+ If None, :attr:`pysb.core.Model.name` will be used.
129129
130130 :param pysb_model_has_obs_and_noise:
131- if set to ``True``, the pysb model is expected to have extra observables and noise variables added
131+ If set to ``True``, the pysb model is expected to have extra
132+ observables and noise variables added.
132133 """
133134 model_name = model_name or model .name
134135
@@ -199,15 +200,16 @@ def pysb2amici(
199200 The different measurement channels that make up the observation
200201 model, see also :class:`amici.importers.utils.MeasurementChannel`.
201202 The ID is expected to be the name of a :class:`pysb.core.Expression` or
202- :class:`pysb.Observable` in the provided model that should be mapped to
203- an observable.
204- ``sigma`` is expected to be the name of a :class:`pysb.Expression` to
205- be mapped to the scale parameter of the noise distribution.
206- `` MeasurementChannel.formula` ` is expected to be
203+ :class:`pysb.core. Observable` in the provided model that should be
204+ mapped to an observable.
205+ ``sigma`` is expected to be the name of a :class:`pysb.core. Expression`
206+ to be mapped to the scale parameter of the noise distribution.
207+ :attr:` MeasurementChannel.formula` is expected to be
207208 ``None``. Event-observables are not supported.
208209
209210 :param fixed_parameters:
210- list of :class:`pysb.core.Parameter` to be excluded from sensitivity analysis
211+ list of :class:`pysb.core.Parameter` to be excluded from sensitivity
212+ analysis.
211213
212214 :param verbose: verbosity level for logging, True/False default to
213215 :attr:`logging.DEBUG`/:attr:`logging.ERROR`
@@ -244,8 +246,8 @@ def pysb2amici(
244246 generated
245247
246248 :param model_name:
247- Name for the generated model module. If None, :attr:`pysb.Model.name`
248- will be used.
249+ Name for the generated model module.
250+ If None, :attr:`pysb.core.Model.name` will be used.
249251
250252 :param pysb_model_has_obs_and_noise:
251253 if set to ``True``, the pysb model is expected to have extra
@@ -323,7 +325,7 @@ def ode_model_from_pysb_importer(
323325 _events : list [Event ] = None ,
324326) -> DEModel :
325327 """
326- Creates an :class:`amici. DEModel` instance from a :class:`pysb.Model`
328+ Creates an :class:`DEModel` instance from a :class:`pysb.core .Model`
327329 instance.
328330
329331 :param model:
0 commit comments