Set emission line used as a reference for quantitative normalization. If empty string, then calibration is performed only for emission lines with existing calibration.
(self, ref_eline)
| 398 | self.show_image() |
| 399 | |
| 400 | def set_quantitative_ref_eline(self, ref_eline): |
| 401 | """ |
| 402 | Set emission line used as a reference for quantitative normalization. If empty string, |
| 403 | then calibration is performed only for emission lines with existing calibration. |
| 404 | """ |
| 405 | ref_eline = str(ref_eline) if (ref_eline is not None) else "" |
| 406 | if not self.param_quant_analysis.get_eline_calibration(ref_eline): |
| 407 | ref_eline = "" |
| 408 | self.quantitative_ref_eline = ref_eline |
| 409 | |
| 410 | # Propagate current value of 'self.param_quant_analysis' (activate 'observer' functions) |
| 411 | # TODO: the following may not be not needed in the view of the current framework |
| 412 | tmp = self.param_quant_analysis |
| 413 | self.param_quant_analysis = ParamQuantitativeAnalysis() |
| 414 | self.param_quant_analysis = tmp |
| 415 | |
| 416 | self.set_low_high_value() # reset low high values based on normalization |
| 417 | self.show_image() |
| 418 | |
| 419 | def set_plot_scatter(self, is_scatter): |
| 420 | self.scatter_show = is_scatter |
nothing calls this directly
no test coverage detected