Update the parameters based on the dictionary of parameters. Set ``reset=False`` if selection status of elemental lines should be kept. Parameters ---------- param : dict new dictionary of parameters reset : boolean reset (``T
(self, param, reset=True)
| 357 | logger.info("Elements read from file are: {}".format(self.element_list)) |
| 358 | |
| 359 | def update_new_param(self, param, reset=True): |
| 360 | """ |
| 361 | Update the parameters based on the dictionary of parameters. Set ``reset=False`` |
| 362 | if selection status of elemental lines should be kept. |
| 363 | |
| 364 | Parameters |
| 365 | ---------- |
| 366 | param : dict |
| 367 | new dictionary of parameters |
| 368 | reset : boolean |
| 369 | reset (``True``) or clear (``False``) selection status of the element lines. |
| 370 | """ |
| 371 | self.param_new = param |
| 372 | self.create_spectrum_from_param_dict(reset=reset) |
| 373 | |
| 374 | @observe("bound_val") |
| 375 | def _update_bound(self, change): |
no test coverage detected