Fill the list of 'emission lines' for user defined peak. There is only ONE 'emission line', with position determined by the location of the marker. If the marker is not currently visible, then don't put any emission lines in the list. The list is used during adding u
(self)
| 995 | return elist |
| 996 | |
| 997 | def _fill_elist_userpeak(self): |
| 998 | """ |
| 999 | Fill the list of 'emission lines' for user defined peak. There is only ONE |
| 1000 | 'emission line', with position determined by the location of the marker. |
| 1001 | If the marker is not currently visible, then don't put any emission lines in the list. |
| 1002 | The list is used during adding user-defined peaks. |
| 1003 | """ |
| 1004 | elist = [] |
| 1005 | energy, marker_visible = self.get_suggested_new_manual_peak_energy() |
| 1006 | if marker_visible: |
| 1007 | elist.append((energy, 1)) |
| 1008 | return elist |
| 1009 | |
| 1010 | def _reset_eline_plot(self): |
| 1011 | while len(self.eline_obj): |
no test coverage detected