r""" Check if the emission line in the standard `file_path` is selected. Use `get_file_path_list()` to get the list of file paths arranged in the order in which standards were loaded. It is assumed that `eline` exists in the standard `file_path`. Parameters
(self, eline, file_path)
| 1409 | self.update_emission_line_list() |
| 1410 | |
| 1411 | def is_eline_selected(self, eline, file_path): |
| 1412 | r""" |
| 1413 | Check if the emission line in the standard `file_path` is selected. |
| 1414 | Use `get_file_path_list()` to get the list of file paths arranged in the order |
| 1415 | in which standards were loaded. |
| 1416 | |
| 1417 | It is assumed that `eline` exists in the standard `file_path`. |
| 1418 | |
| 1419 | Parameters |
| 1420 | ---------- |
| 1421 | file_path: str |
| 1422 | The string used to identify QA calibration data entry. See the docstring for |
| 1423 | ``add_entry`` for more detailed comments. |
| 1424 | eline: str |
| 1425 | Emission line name. Must match the emission line names used in calibration data. |
| 1426 | Typical format: ``Fe_K``, ``S_K`` etc. |
| 1427 | |
| 1428 | Returns |
| 1429 | ------- |
| 1430 | bool |
| 1431 | `True` if eline is selected, `False` otherwise |
| 1432 | """ |
| 1433 | n_item = self.find_entry_index(file_path) |
| 1434 | return self.calibration_settings[n_item]["element_lines"][eline]["selected"] |
| 1435 | |
| 1436 | def update_emission_line_list(self): |
| 1437 | r""" |