Enable/Disable quantitative normalization. Parameters ---------- enable: bool Enable quantitative normalization if True, disable if False.
(self, enable)
| 378 | self.show_image() |
| 379 | |
| 380 | def enable_quantitative_normalization(self, enable): |
| 381 | """ |
| 382 | Enable/Disable quantitative normalization. |
| 383 | |
| 384 | Parameters |
| 385 | ---------- |
| 386 | enable: bool |
| 387 | Enable quantitative normalization if True, disable if False. |
| 388 | """ |
| 389 | self.quantitative_normalization = bool(enable) |
| 390 | |
| 391 | # Propagate current value of 'self.param_quant_analysis' (activate 'observer' functions) |
| 392 | # TODO: the following may not be not needed in the view of the current framework |
| 393 | tmp = self.param_quant_analysis |
| 394 | self.param_quant_analysis = ParamQuantitativeAnalysis() |
| 395 | self.param_quant_analysis = tmp |
| 396 | |
| 397 | self.set_low_high_value() # reset low high values based on normalization |
| 398 | self.show_image() |
| 399 | |
| 400 | def set_quantitative_ref_eline(self, ref_eline): |
| 401 | """ |
nothing calls this directly
no test coverage detected