|
152 | 152 | } |
153 | 153 | }, |
154 | 154 | "source": [ |
155 | | - "#### Constant parameters\n", |
| 155 | + "#### Fixed parameters\n", |
156 | 156 | "\n", |
157 | | - "Constant parameters, i.e., parameters with respect to which no sensitivities are to be computed (these are often parameters specifying a certain experimental condition) are provided as a list of parameter names." |
| 157 | + "Fixed parameters, i.e., parameters with respect to which no sensitivities are to be computed (these are often parameters specifying a certain experimental condition) are provided as a list of parameter IDs." |
158 | 158 | ] |
159 | 159 | }, |
160 | 160 | { |
|
168 | 168 | "name": "#%%\n" |
169 | 169 | } |
170 | 170 | }, |
171 | | - "source": [ |
172 | | - "constant_parameters = [\"ratio\", \"specC17\"]" |
173 | | - ], |
| 171 | + "source": "fixed_parameters = [\"ratio\", \"specC17\"]", |
174 | 172 | "outputs": [], |
175 | 173 | "execution_count": null |
176 | 174 | }, |
|
255 | 253 | " model_output_dir,\n", |
256 | 254 | " verbose=False,\n", |
257 | 255 | " observation_model=observables,\n", |
258 | | - " constant_parameters=constant_parameters,\n", |
| 256 | + " fixed_parameters=fixed_parameters,\n", |
259 | 257 | ")" |
260 | 258 | ], |
261 | 259 | "outputs": [], |
|
324 | 322 | "source": [ |
325 | 323 | "model = model_module.get_model()\n", |
326 | 324 | "\n", |
327 | | - "print(\"Model parameters:\", list(model.get_parameter_ids()))\n", |
| 325 | + "print(\"Model parameters:\", list(model.get_free_parameter_ids()))\n", |
328 | 326 | "print(\"Model outputs: \", list(model.get_observable_ids()))\n", |
329 | 327 | "print(\"Model states: \", list(model.get_state_ids()))" |
330 | 328 | ], |
|
482 | 480 | "\n", |
483 | 481 | "# set parameters to optimal values found in the benchmark collection\n", |
484 | 482 | "model.set_parameter_scale(amici.ParameterScaling.log10)\n", |
485 | | - "model.set_parameters(benchmark_parameters)\n", |
| 483 | + "model.set_free_parameters(benchmark_parameters)\n", |
486 | 484 | "\n", |
487 | 485 | "# Create solver instance\n", |
488 | 486 | "solver = model.create_solver()\n", |
|
0 commit comments