diff --git a/scripts/Elemental_Analysis.py b/scripts/Elemental_Analysis.py index 6ee313549512b2c23933c279cecb5b5e1c47a9b6..04e7ef62568105b9de0829af600f9e23129948c6 100644 --- a/scripts/Elemental_Analysis.py +++ b/scripts/Elemental_Analysis.py @@ -3,8 +3,10 @@ from __future__ import absolute_import, print_function from PyQt4 import QtGui import sys -import random -from time import time + +from itertools import cycle + +from six import iteritems from Muon.GUI.ElementalAnalysis.PeriodicTable.periodic_table_presenter import PeriodicTablePresenter from Muon.GUI.ElementalAnalysis.PeriodicTable.periodic_table_view import PeriodicTableView @@ -39,46 +41,167 @@ class ElementalAnalysisGui(QtGui.QMainWindow): self.ptable = PeriodicTablePresenter( PeriodicTableView(), PeriodicTableModel()) - self.ptable.register_table_changed(self.table_changed) self.ptable.register_table_lclicked(self.table_left_clicked) self.ptable.register_table_rclicked(self.table_right_clicked) self.load_widget = LoadPresenter( LoadView(), LoadModel(), CoLoadModel()) + + self.load_widget.on_loading_finished(self.loading_finished) + self.widget_list = QtGui.QVBoxLayout() self.detectors = DetectorsPresenter(DetectorsView()) + for detector in self.detectors.detectors: + detector.on_checkbox_checked(self.add_plot) + detector.on_checkbox_unchecked(self.del_plot) self.peaks = PeaksPresenter(PeaksView()) + self.peaks.major.on_checkbox_checked(self.major_peaks_checked) + self.peaks.major.on_checkbox_unchecked(self.major_peaks_unchecked) + self.peaks.minor.on_checkbox_checked(self.minor_peaks_checked) + self.peaks.minor.on_checkbox_unchecked(self.minor_peaks_unchecked) + self.peaks.gamma.on_checkbox_checked(self.gammas_checked) + self.peaks.gamma.on_checkbox_unchecked(self.gammas_unchecked) + self.peaks.electron.on_checkbox_checked(self.electrons_checked) + self.peaks.electron.on_checkbox_unchecked(self.electrons_unchecked) self.widget_list.addWidget(self.peaks.view) self.widget_list.addWidget(self.detectors.view) self.widget_list.addWidget(self.load_widget.view) self.plotting = PlotPresenter(PlotView()) - self.plotting.view.setFixedSize(self.plotting.view.sizeHint()) - - self.add = QtGui.QPushButton("Add") - self.add.clicked.connect(self.add_plot) - - self.rem = QtGui.QPushButton("Del") - self.rem.clicked.connect(self.del_plot) + self.plotting.view.setMinimumSize(self.plotting.view.sizeHint()) self.box = QtGui.QHBoxLayout() self.box.addWidget(self.ptable.view) self.box.addLayout(self.widget_list) - self.box.addWidget(self.load_widget.view) - self.box.addWidget(self.add) - self.box.addWidget(self.rem) - # layout.addWidget(self.plot_view) + self.setCentralWidget(QtGui.QWidget(self)) self.centralWidget().setLayout(self.box) self.setWindowTitle("Elemental Analysis") - self.plotting.view.show() self.element_widgets = {} self.element_data = {} + self.element_lines = {} + self.gamma_lines = [] + self.gamma_peaks = self.ptable.peak_data["Gammas"] + self.electron_peaks = self._get_electron_peaks() + self.electron_lines = [] self._generate_element_widgets() self._generate_element_data() + self.line_colours = cycle(["r", "g", "b", "c", "m", "y"]) + + def iterate_over_selectors(self, check_state, primary_checkboxes=True): + """ + Iterates over element popups. + + :param check_state: True or False - i.e. check boxes or not + :param primary_checkboxes: True if Primary, False if Secondary + """ + for element, selector in iteritems(self.element_widgets): + for checkbox in selector.primary_checkboxes if primary_checkboxes else selector.secondary_checkboxes: + checkbox.setChecked(check_state) + selector.finish_selection() + + def major_peaks_checked(self): + self.iterate_over_selectors(True, primary_checkboxes=True) + + def major_peaks_unchecked(self): + self.iterate_over_selectors(False, primary_checkboxes=True) + self.plotting.update_canvas() + + def minor_peaks_checked(self): + self.iterate_over_selectors(True, primary_checkboxes=False) + + def minor_peaks_unchecked(self): + self.iterate_over_selectors(False, primary_checkboxes=False) + self.plotting.update_canvas() + + def _plot_gammas(self, subplot, colour=None): + if colour is None: + colour = self.line_colours.next() + for element, peaks in iteritems(self.gamma_peaks): + for peak_type, peak in iteritems(peaks): + if peak is None: + continue + self.gamma_lines.append( + subplot.axvline( + peak, 0, 1, color=colour)) + self.plotting.update_canvas() + + def _iterate_over_gamma_selectors(self, check_state): + for element, selector in iteritems(self.element_widgets): + for checkbox in selector.gamma_checkboxes: + checkbox.setChecked(check_state) + selector.finish_selection() + + def gammas_checked(self): + self._iterate_over_gamma_selectors(True) + + def gammas_unchecked(self): + self._iterate_over_gamma_selectors(False) + for line in self.gamma_lines: + line.remove() + del line + self.gamma_lines = [] + self.plotting.update_canvas() + + def _get_electron_peaks(self): + return self.ptable.peak_data["Electrons"].copy() + + def _plot_electrons(self, subplot, colour=None): + if colour is None: + colour = self.line_colours.next() + for peak, intensity in iteritems(self.electron_peaks): + # intensity will be used in the future for labelling lines + self.electron_lines.append( + subplot.axvline( + float(peak), 0, 1, color=colour)) + self.plotting.update_canvas() + + def electrons_checked(self): + colour = self.line_colours.next() + for subplot_name, subplot in iteritems(self.plotting.get_subplots()): + self._plot_electrons(subplot, colour=colour) + + def electrons_unchecked(self): + for line in self.electron_lines: + line.remove() + del line + self.electron_lines = [] + self.plotting.update_canvas() + + def load_run(self, detector, run): + name = "{}; Detector {}".format(run, detector[-1]) + subplot = self.plotting.add_subplot(detector) + subplot.set_title(detector) + for plot in mantid.mtd[name]: + self.plotting.plot(detector, plot) + if self.plotting.view.isHidden(): + self.plotting.view.show() + if self.peaks.gamma.isChecked(): + self._plot_gammas(subplot) + if self.peaks.electron.isChecked(): + self._plot_electrons(subplot) + self.plotting.update_canvas() + + def load_last_run(self, detector): + self.load_run(detector, self.load_widget.last_loaded_run()) + + def loading_finished(self): + last_run = self.load_widget.last_loaded_run() + if last_run is None: + return + self.plotting.view.setWindowTitle(str(last_run)) + for plot in self.plotting.get_subplots(): + self.plotting.remove_subplot(plot) + for detector in self.detectors.detectors: + if detector.isChecked(): + self.load_run(detector.name, last_run) + for item in self.ptable.selection: + self._add_element_lines( + item.symbol, self.element_data[item.symbol]) + def _generate_element_data(self): for element in self.ptable.peak_data: if element in ["Gammas", "Electrons"]: @@ -89,8 +212,62 @@ class ElementalAnalysisGui(QtGui.QMainWindow): except KeyError: continue + def _add_element_line(self, x_value, element, colour="b"): + if x_value is None: + return + for plot_name in self.plotting.get_subplots(): + line = self.plotting.get_subplot( + plot_name).axvline(x_value, 0, 1, color=colour) + try: + self.element_lines[element][x_value].append(line) + except KeyError: + self.element_lines[element][x_value] = [line] + self.plotting.update_canvas() + + def _add_element_lines(self, element, data): + self.element_lines[element] = {} + colour = self.line_colours.next() + for label, x_value in iteritems(data): + # label will be used in the future for labelling lines + self._add_element_line(x_value, element, colour=colour) + + def _remove_element_lines(self, element): + for x_value, lines in iteritems(self.element_lines[element]): + for line in lines: + line.remove() + del line + self.plotting.update_canvas() + self.element_lines[element] = {} + + def _update_element_lines(self, element, current_dict, new_dict): + # can be split up: this section removes lines + if len(current_dict) > len(new_dict): # i.e. item removed + dict_difference = {k: current_dict[k] + for k in set(current_dict) - set(new_dict)} + for label, x_value in iteritems(dict_difference): + # label will be used in the future for labelling lines + for line in self.element_lines[element][x_value]: + line.remove() + del line + self.element_lines[element][x_value] = [] + del current_dict[label] + self.plotting.update_canvas() + # can be split up: this section adds lines + elif current_dict != new_dict: # i.e. item added or not closed without changes + colour = self.line_colours.next() + dict_difference = {k: new_dict[k] + for k in set(new_dict) - set(current_dict)} + for label, x_value in iteritems(dict_difference): + # label will be used in the future for labelling lines + self._add_element_line(x_value, element, colour) + current_dict.update(dict_difference) + def _update_peak_data(self, element, data): - self.element_data[element] = data + if self.ptable.is_selected(element): + self._update_element_lines( + element, self.element_data[element], data) + else: + self.element_data[element] = data.copy() def _generate_element_widgets(self): self.element_widgets = {} @@ -98,42 +275,69 @@ class ElementalAnalysisGui(QtGui.QMainWindow): if element in ["Gammas", "Electrons"]: continue data = self.ptable.element_data(element) + try: + data["Gammas"] = self.ptable.peak_data["Gammas"][element] + except KeyError: + pass widget = PeakSelectorPresenter(PeakSelectorView(data, element)) widget.on_finished(self._update_peak_data) self.element_widgets[element] = widget def table_left_clicked(self, item): - print("Element Left Clicked: {}".format( - self.element_data[item.symbol])) + if self.ptable.is_selected(item.symbol): + self._add_element_lines( + item.symbol, self.element_data[item.symbol]) + else: + self._remove_element_lines(item.symbol) def table_right_clicked(self, item): self.element_widgets[item.symbol].view.show() - print("Element Right Clicked: {}".format(item.symbol)) - def table_changed(self, items): - print("Table Changed: {}".format([i.symbol for i in items])) + def _clear_lines(self, lines): + for line in lines: + line.remove() + del line + return [] + + def _clear_lines_after_data_file_selected(self): + for element in self.element_lines.keys(): + self._remove_element_lines(element) + self.electron_lines = self._clear_lines(self.electron_lines) + self.gamma_lines = self._clear_lines(self.gamma_lines) + for checkbox in self.peaks.peak_checkboxes: + checkbox.setChecked(False) def select_data_file(self): filename = str(QtGui.QFileDialog.getOpenFileName()) if filename: self.ptable.set_peak_datafile(filename) + self._clear_lines_after_data_file_selected() self._generate_element_widgets() self._generate_element_data() - def add_plot(self): - name = "Plot {}".format(time()) - subplot = self.plotting.add_subplot(name) - self.plotting.call_plot_method(name, subplot.set_title, name) - plot1 = mantid.CreateSampleWorkspace(OutputWorkspace=str(time())) - self.plotting.plot(name, plot1) - plot2 = mantid.Plus(plot1, plot1, OutputWorkspace=str(time())) - self.plotting.plot(name, plot2) - self.plotting.add_hline(name, 0.06, 0, 1) - self.plotting.add_vline(name, 10100, 0, 1) - - def del_plot(self): - to_del = random.choice(self.plotting.get_subplots().keys()) - self.plotting.remove_subplot(to_del) + def add_plot(self, checkbox): + detector = checkbox.name + last_run = self.load_widget.last_loaded_run() + # not using load_last_run prevents two calls to last_loaded_run() + if last_run is not None: + self.load_run(detector, last_run) + colour = self.line_colours.next() + for element in self.ptable.selection: + for label, x_value in iteritems(self.element_data[element.symbol]): + # label will be used in the future for labelling lines + line = self.plotting.get_subplot(detector).axvline( + x_value, 1, 0, color=colour) + try: + self.element_lines[element.symbol][x_value].append(line) + except KeyError: + self.element_lines[element.symbol][x_value] = [line] + self.plotting.update_canvas() + + def del_plot(self, checkbox): + if self.load_widget.last_loaded_run() is not None: + self.plotting.remove_subplot(checkbox.name) + if not self.plotting.get_subplots(): + self.plotting.view.close() def qapp(): diff --git a/scripts/Muon/GUI/Common/load_widget/load_presenter.py b/scripts/Muon/GUI/Common/load_widget/load_presenter.py index f157a9b174d20c2b1973fd45a8fadd9110ac47dd..fbc67b7a0a256e0090ed2aae3e388f5a0bf547a2 100644 --- a/scripts/Muon/GUI/Common/load_widget/load_presenter.py +++ b/scripts/Muon/GUI/Common/load_widget/load_presenter.py @@ -12,9 +12,11 @@ class LoadPresenter(object): self.co_thread = None self.view.on_load_clicked(self.equalise_loaded_runs) + self.view.on_load_clicked(self.equalise_last_loaded_run) self.view.on_load_clicked(self.load_run) self.view.on_load_clicked(self.co_model.wipe_co_runs) self.view.on_co_add_clicked(self.equalise_loaded_runs) + self.view.on_co_add_clicked(self.equalise_last_loaded_run) self.view.on_co_add_clicked(self.co_add_run) self.view.on_spinbox_changed(self.update_models) @@ -25,6 +27,13 @@ class LoadPresenter(object): self.co_model.loaded_runs = loaded_runs self.load_model.loaded_runs = loaded_runs + def equalise_last_loaded_run(self): + last_run = max( + self.co_model.last_loaded_runs, + self.load_model.last_loaded_runs) + self.co_model.last_loaded_runs = last_run + self.load_model.last_loaded_runs = last_run + def update_models(self, run): self.load_model.set_run(run) self.co_model.set_run(run) @@ -59,3 +68,15 @@ class LoadPresenter(object): def new_thread(self, model): return thread_model.ThreadModel(model) + + def last_loaded_run(self): + try: + return self.load_model.last_loaded_runs[-1] + except IndexError: + return None + + def on_loading_finished(self, slot): + self.view.on_loading_finished(slot) + + def unreg_on_loading_finished(self, slot): + self.view.unreg_on_loading_finished(slot) diff --git a/scripts/Muon/GUI/Common/load_widget/load_view.py b/scripts/Muon/GUI/Common/load_widget/load_view.py index 81fe4b1ac70b1069cf0a23021ecc220035f283ce..553460b42082a1d49e6529372f07e8423c46e50f 100644 --- a/scripts/Muon/GUI/Common/load_widget/load_view.py +++ b/scripts/Muon/GUI/Common/load_widget/load_view.py @@ -1,11 +1,13 @@ from __future__ import absolute_import -from PyQt4 import QtGui +from PyQt4 import QtGui, QtCore from mantidqtpython import MantidQt class LoadView(QtGui.QWidget): + sig_loading_finished = QtCore.pyqtSignal() + def __init__(self, parent=None): super(LoadView, self).__init__(parent) @@ -39,6 +41,7 @@ class LoadView(QtGui.QWidget): self.spinbox.setEnabled(True) self.load_button.setEnabled(True) self.co_button.setEnabled(True) + self.sig_loading_finished.emit() def on_load_clicked(self, slot): self.load_button.clicked.connect(slot) @@ -66,3 +69,12 @@ class LoadView(QtGui.QWidget): self.spinbox.valueChanged.disconnect(slot) except TypeError: return + + def on_loading_finished(self, slot): + self.sig_loading_finished.connect(slot) + + def unreg_on_loading_finished(self, slot): + try: + self.sig_loading_finished.disconnect(slot) + except TypeError: + return diff --git a/scripts/Muon/GUI/ElementalAnalysis/Detectors/detectors_presenter.py b/scripts/Muon/GUI/ElementalAnalysis/Detectors/detectors_presenter.py index 02247c792a083b4daf73e91ff845414338de9ac1..5e0fb6a0acebf460da14fb8bdfde763d43871321 100644 --- a/scripts/Muon/GUI/ElementalAnalysis/Detectors/detectors_presenter.py +++ b/scripts/Muon/GUI/ElementalAnalysis/Detectors/detectors_presenter.py @@ -1,3 +1,8 @@ class DetectorsPresenter(object): def __init__(self, view): self.view = view + self.detectors = [ + self.view.GE1, + self.view.GE2, + self.view.GE3, + self.view.GE4] diff --git a/scripts/Muon/GUI/ElementalAnalysis/LoadWidget/load_model.py b/scripts/Muon/GUI/ElementalAnalysis/LoadWidget/load_model.py index 395c2f8f58f81bc3911c91752e520f73b73b3531..0e668b04cb689b3fc99f8245f193434e606d1180 100644 --- a/scripts/Muon/GUI/ElementalAnalysis/LoadWidget/load_model.py +++ b/scripts/Muon/GUI/ElementalAnalysis/LoadWidget/load_model.py @@ -12,6 +12,8 @@ class LoadModel(lutils.LModel): def execute(self): if self.run not in self.loaded_runs: self.load_run() + else: + self.last_loaded_runs.append(self.run) class CoLoadModel(lutils.LModel): @@ -30,6 +32,8 @@ class CoLoadModel(lutils.LModel): if current_ws is None: return self.loaded_runs[self.run] = current_ws + else: + self.last_loaded_runs.append(self.run) if self.run not in self.co_runs: self.co_runs.append(self.run) if self.workspace: @@ -45,6 +49,7 @@ class CoLoadModel(lutils.LModel): def co_load_run(self, workspace): run = lutils.hyphenise(self.co_runs) + self.last_loaded_runs.append(run) to_add = [self.add_runs(l, r, run) for l, r in zip(*lutils.flatten_run_data( self.workspace, workspace))] self.workspace = lutils.group_by_detector(run, to_add) diff --git a/scripts/Muon/GUI/ElementalAnalysis/LoadWidget/load_utils.py b/scripts/Muon/GUI/ElementalAnalysis/LoadWidget/load_utils.py index feae9dd33ce7ad572dfa6ef428246e94178bd3e6..757cab4c7a2232c27259d54e91a46f6b58fe3093 100644 --- a/scripts/Muon/GUI/ElementalAnalysis/LoadWidget/load_utils.py +++ b/scripts/Muon/GUI/ElementalAnalysis/LoadWidget/load_utils.py @@ -13,11 +13,13 @@ class LModel(object): def __init__(self): self.run = 0 self.loaded_runs = {} + self.last_loaded_runs = [] def _load(self, inputs): """ inputs is a dict mapping filepaths to output names """ for path, output in iteritems(inputs): - mantid.LoadAscii(path, OutputWorkspace=output) + workspace = mantid.LoadAscii(path, OutputWorkspace=output) + workspace.getAxis(0).setUnit("Label").setLabel("Energy", "keV") def load_run(self): to_load = search_user_dirs(self.run) @@ -28,6 +30,7 @@ class LModel(object): self._load(workspaces) self.loaded_runs[self.run] = group_by_detector( self.run, workspaces.values()) + self.last_loaded_runs.append(self.run) return self.loaded_runs[self.run] def output(self): diff --git a/scripts/Muon/GUI/ElementalAnalysis/Peaks/peaks_presenter.py b/scripts/Muon/GUI/ElementalAnalysis/Peaks/peaks_presenter.py index 94ff1a5490fe9b6161da6d609a33f804b37e49ba..e6e7c0c731cf5eff3002253eed59ee6121a7435b 100644 --- a/scripts/Muon/GUI/ElementalAnalysis/Peaks/peaks_presenter.py +++ b/scripts/Muon/GUI/ElementalAnalysis/Peaks/peaks_presenter.py @@ -1,3 +1,8 @@ class PeaksPresenter(object): def __init__(self, view): self.view = view + self.major = self.view.major + self.minor = self.view.minor + self.gamma = self.view.gamma + self.electron = self.view.electron + self.peak_checkboxes = self.view.peak_checkboxes diff --git a/scripts/Muon/GUI/ElementalAnalysis/Peaks/peaks_view.py b/scripts/Muon/GUI/ElementalAnalysis/Peaks/peaks_view.py index e2674bd3597253fe59b1dcb91994897d5497cf5b..7a89dfe420fa95adfbcd4074f65c6d101d31fe62 100644 --- a/scripts/Muon/GUI/ElementalAnalysis/Peaks/peaks_view.py +++ b/scripts/Muon/GUI/ElementalAnalysis/Peaks/peaks_view.py @@ -13,6 +13,12 @@ class PeaksView(QtGui.QWidget): self.minor = Checkbox("Minor Peaks") self.gamma = Checkbox("Gamma Peaks") self.electron = Checkbox("Electron Peaks") - for peak_type in [self.major, self.minor, self.gamma, self.electron]: + + self.peak_checkboxes = [ + self.major, + self.minor, + self.gamma, + self.electron] + for peak_type in self.peak_checkboxes: self.list.addWidget(peak_type) self.setLayout(self.list) diff --git a/scripts/Muon/GUI/ElementalAnalysis/PeriodicTable/PeakSelector/peak_selector_presenter.py b/scripts/Muon/GUI/ElementalAnalysis/PeriodicTable/PeakSelector/peak_selector_presenter.py index d425b47519e0cdf4a9425e88b136d543dc1b7c8d..178d95277e5d2a90983db6fba9ea6d0bb6daa24b 100644 --- a/scripts/Muon/GUI/ElementalAnalysis/PeriodicTable/PeakSelector/peak_selector_presenter.py +++ b/scripts/Muon/GUI/ElementalAnalysis/PeriodicTable/PeakSelector/peak_selector_presenter.py @@ -1,6 +1,12 @@ class PeakSelectorPresenter(object): def __init__(self, view): self.view = view + self.primary_checkboxes = self.view.primary_checkboxes + self.secondary_checkboxes = self.view.secondary_checkboxes + self.gamma_checkboxes = self.view.gamma_checkboxes + + def finish_selection(self): + self.view.finish_selection() def update_peak_data(self, data): self.view.update_peak_data(data) diff --git a/scripts/Muon/GUI/ElementalAnalysis/PeriodicTable/PeakSelector/peak_selector_view.py b/scripts/Muon/GUI/ElementalAnalysis/PeriodicTable/PeakSelector/peak_selector_view.py index 567a14476110ec007863b05abf876c0f964e3e66..19f758c3c38d30d7973eaf725af163baf381b5cf 100644 --- a/scripts/Muon/GUI/ElementalAnalysis/PeriodicTable/PeakSelector/peak_selector_view.py +++ b/scripts/Muon/GUI/ElementalAnalysis/PeriodicTable/PeakSelector/peak_selector_view.py @@ -19,9 +19,17 @@ class PeakSelectorView(QtGui.QListWidget): self.list = QtGui.QVBoxLayout(self) primary = peak_data["Primary"] - self._create_checkbox_list("Primary", primary) + self.primary_checkboxes = self._create_checkbox_list( + "Primary", primary) secondary = peak_data["Secondary"] - self._create_checkbox_list("Secondary", secondary, checked=False) + self.secondary_checkboxes = self._create_checkbox_list( + "Secondary", secondary, checked=False) + try: + gammas = peak_data["Gammas"] + self.gamma_checkboxes = self._create_checkbox_list( + "Gammas", gammas, checked=False) + except KeyError: + self.gamma_checkboxes = [] widget.setLayout(self.list) scroll = QtGui.QScrollArea() @@ -34,8 +42,11 @@ class PeakSelectorView(QtGui.QListWidget): self.setLayout(scroll_layout) - def closeEvent(self, event): + def finish_selection(self): self.sig_finished_selection.emit(self.element, self.new_data) + + def closeEvent(self, event): + self.finish_selection() event.accept() def update_new_data(self, data): @@ -45,15 +56,23 @@ class PeakSelectorView(QtGui.QListWidget): new_data = data["Primary"].copy() self.new_data = new_data + def _setup_checkbox(self, name, checked): + checkbox = Checkbox(name) + checkbox.setChecked(checked) + checkbox.on_checkbox_unchecked(self._remove_value_from_new_data) + checkbox.on_checkbox_checked(self._add_value_to_new_data) + self.list.addWidget(checkbox) + return checkbox + def _create_checkbox_list(self, heading, checkbox_data, checked=True): _heading = QtGui.QLabel(heading) self.list.addWidget(_heading) + checkboxes = [] for peak_type, value in iteritems(checkbox_data): - checkbox = Checkbox("{}: {}".format(peak_type, value)) - checkbox.setChecked(checked) - checkbox.on_checkbox_unchecked(self._remove_value_from_new_data) - checkbox.on_checkbox_checked(self._add_value_to_new_data) - self.list.addWidget(checkbox) + checkboxes.append( + self._setup_checkbox( + "{}: {}".format(peak_type, value), checked)) + return checkboxes def _parse_checkbox_name(self, name): peak_type, value = name.replace(" ", "").split(":") diff --git a/scripts/Muon/GUI/ElementalAnalysis/Plotting/AxisChanger/axis_changer_view.py b/scripts/Muon/GUI/ElementalAnalysis/Plotting/AxisChanger/axis_changer_view.py index d6ecd9b645998089e0423ab12100d73cafdef14b..d46438c5f3bb4640b0702027fb50188409f66c05 100644 --- a/scripts/Muon/GUI/ElementalAnalysis/Plotting/AxisChanger/axis_changer_view.py +++ b/scripts/Muon/GUI/ElementalAnalysis/Plotting/AxisChanger/axis_changer_view.py @@ -1,25 +1,25 @@ -from PyQt4 import QtGui, QtCore +from qtpy import QtGui, QtCore, QtWidgets -class AxisChangerView(QtGui.QWidget): - sig_lower_bound_changed = QtCore.pyqtSignal(object) - sig_upper_bound_changed = QtCore.pyqtSignal(object) +class AxisChangerView(QtWidgets.QWidget): + sig_lower_bound_changed = QtCore.Signal(object) + sig_upper_bound_changed = QtCore.Signal(object) def __init__(self, label): super(AxisChangerView, self).__init__() - layout = QtGui.QHBoxLayout() - layout.addWidget(QtGui.QLabel(label)) + layout = QtWidgets.QHBoxLayout() + layout.addWidget(QtWidgets.QLabel(label)) - self.lower_bound = QtGui.QLineEdit() + self.lower_bound = QtWidgets.QLineEdit() self.lower_bound.setValidator(QtGui.QDoubleValidator()) self.lower_bound.returnPressed.connect(self._lower_bound_changed) - self.upper_bound = QtGui.QLineEdit() + self.upper_bound = QtWidgets.QLineEdit() self.upper_bound.setValidator(QtGui.QDoubleValidator()) self.upper_bound.returnPressed.connect(self._upper_bound_changed) layout.addWidget(self.lower_bound) - layout.addWidget(QtGui.QLabel("to")) + layout.addWidget(QtWidgets.QLabel("to")) layout.addWidget(self.upper_bound) self.setLayout(layout) diff --git a/scripts/Muon/GUI/ElementalAnalysis/Plotting/plotting_presenter.py b/scripts/Muon/GUI/ElementalAnalysis/Plotting/plotting_presenter.py index 21dd910b2b2d1c98ff9d8911a201cd97f4c053a9..a31e8b68240f9f35ddc4c3aae69cfdf23902f702 100644 --- a/scripts/Muon/GUI/ElementalAnalysis/Plotting/plotting_presenter.py +++ b/scripts/Muon/GUI/ElementalAnalysis/Plotting/plotting_presenter.py @@ -2,6 +2,10 @@ class PlotPresenter(object): def __init__(self, view): self.view = view + def update_canvas(self): + """ Redraws the canvas. """ + self.view.canvas.draw() + def get_subplot(self, name): """ Returns the subplot with the given name. @@ -39,45 +43,6 @@ class PlotPresenter(object): """ Removes the subplot corresponding to 'name' from the plotting window """ self.view.remove_subplot(name) - def call_plot_method(self, name, func, *args, **kwargs): - """ - Calls the function with the specified arguments and returns the result: - the call will be 'saved' and 'replayed' when the plots are redrawn (errors checkbox is changed). - """ - return self.view.call_plot_method(name, func, *args, **kwargs) - - def add_vline(self, plot_name, x_value, y_min, y_max, **kwargs): - """ - Adds a vertical line to a plot. - - This line will be re-added when the plots are redrawn (errors checkbox is changed). - - :param plot_name: the plot on which to add the line - :param x_value: the x value for the axvline - :param y_min: 0 <= y_min <= 1. The minimum y-value of the line (multiple of the y-axis) - :param y_min: 0 <= y_max <= 1. The maximum y-value of the line (multiple of the y-axis) - :param **kwargs: any keyword arguments for the matplotlib line object - :returns: a matplotlib line object - :raise KeyError: if the subplot plot_name does not exist - """ - return self.view.add_vline(plot_name, x_value, y_min, y_max, **kwargs) - - def add_hline(self, plot_name, y_value, x_min, x_max, **kwargs): - """ - Adds a horizontal line to a plot. - - This line will be re-added when the plots are redrawn (errors checkbox is changed). - - :param plot_name: the plot on which to add the line - :param y_value: the y value for the axvline - :param x_min: 0 <= x_min <= 1. The minimum x-value of the line (multiple of the x-axis) - :param x_min: 0 <= x_max <= 1. The maximum x-value of the line (multiple of the x-axis) - :param **kwargs: any keyword arguments for the matplotlib line object - :returns: a matplotlib line object - :raise KeyError: if the subplot plot_name does not exist - """ - return self.view.add_hline(plot_name, y_value, x_min, x_max, **kwargs) - def add_moveable_vline(self, plot_name, x_value, y_minx, y_max, **kwargs): pass diff --git a/scripts/Muon/GUI/ElementalAnalysis/Plotting/plotting_view.py b/scripts/Muon/GUI/ElementalAnalysis/Plotting/plotting_view.py index 0a6a6b586a1deff9342a536389065e27a34d8d5a..1e93d7872dd258e1fc8332e06cd9d587567bdfdb 100644 --- a/scripts/Muon/GUI/ElementalAnalysis/Plotting/plotting_view.py +++ b/scripts/Muon/GUI/ElementalAnalysis/Plotting/plotting_view.py @@ -3,7 +3,7 @@ from six import iteritems from mantid import plots from collections import OrderedDict -from PyQt4 import QtGui +from qtpy import QtWidgets from matplotlib.figure import Figure from matplotlib import gridspec @@ -16,13 +16,13 @@ from Muon.GUI.ElementalAnalysis.Plotting.AxisChanger.axis_changer_presenter impo from Muon.GUI.ElementalAnalysis.Plotting.AxisChanger.axis_changer_view import AxisChangerView -class PlotView(QtGui.QWidget): +class PlotView(QtWidgets.QWidget): def __init__(self): super(PlotView, self).__init__() self.plots = OrderedDict({}) self.errors_list = set() self.workspaces = {} - self.plot_additions = {} + self.workspace_plots = {} # stores the plotted 'graphs' for deletion self.current_grid = None self.gridspecs = { 1: gridspec.GridSpec(1, 1), @@ -34,11 +34,11 @@ class PlotView(QtGui.QWidget): self.figure.set_facecolor("none") self.canvas = FigureCanvas(self.figure) - self.plot_selector = QtGui.QComboBox() + self.plot_selector = QtWidgets.QComboBox() self._update_plot_selector() self.plot_selector.currentIndexChanged[str].connect(self._set_bounds) - button_layout = QtGui.QHBoxLayout() + button_layout = QtWidgets.QHBoxLayout() self.x_axis_changer = AxisChangerPresenter(AxisChangerView("X")) self.x_axis_changer.on_upper_bound_changed(self._update_x_axis_upper) self.x_axis_changer.on_lower_bound_changed(self._update_x_axis_lower) @@ -47,7 +47,7 @@ class PlotView(QtGui.QWidget): self.y_axis_changer.on_upper_bound_changed(self._update_y_axis_upper) self.y_axis_changer.on_lower_bound_changed(self._update_y_axis_lower) - self.errors = QtGui.QCheckBox("Errors") + self.errors = QtWidgets.QCheckBox("Errors") self.errors.stateChanged.connect(self._errors_changed) button_layout.addWidget(self.plot_selector) @@ -55,7 +55,7 @@ class PlotView(QtGui.QWidget): button_layout.addWidget(self.y_axis_changer.view) button_layout.addWidget(self.errors) - grid = QtGui.QGridLayout() + grid = QtWidgets.QGridLayout() grid.addWidget(self.canvas, 0, 0) grid.addLayout(button_layout, 1, 0) self.setLayout(grid) @@ -68,38 +68,33 @@ class PlotView(QtGui.QWidget): """ def wraps(self, *args, **kwargs): - func(self, *args, **kwargs) + output = func(self, *args, **kwargs) if len(self.plots): self.figure.tight_layout() self.canvas.draw() - return wraps - - def _save_addition(func): - """ - Simple decorator (@_save_addition) to 'Save' the function call to be - replayed later when the plots are cleared. - (https://www.python.org/dev/peps/pep-0318/) - """ - - def wraps(self, name, *args, **kwargs): - try: - self.plot_additions[name].append((func, name, args, kwargs)) - except KeyError: - self.plot_additions[name] = [(func, name, args, kwargs)] - func(self, name, *args, **kwargs) + return output return wraps def _silent_checkbox_check(self, state): + """ Checks a checkbox without emitting a checked event. """ self.errors.blockSignals(True) self.errors.setChecked(state) self.errors.blockSignals(False) def _set_plot_bounds(self, name, plot): + """ + Sets AxisChanger bounds to the given plot bounds and updates + the plot-specific error checkbox. + """ self.x_axis_changer.set_bounds(plot.get_xlim()) self.y_axis_changer.set_bounds(plot.get_ylim()) self._silent_checkbox_check(name in self.errors_list) def _set_bounds(self, new_plot): + """ + Sets AxisChanger bounds if a new plot is added, or removes the AxisChanger + fields if a plot is removed. + """ new_plot = str(new_plot) if new_plot and new_plot != "All": plot = self.get_subplot(new_plot) @@ -109,15 +104,20 @@ class PlotView(QtGui.QWidget): self.y_axis_changer.clear_bounds() def _get_current_plot_name(self): + """ Returns the 'current' plot name based on the dropdown selector. """ return str(self.plot_selector.currentText()) def _get_current_plots(self): + """ + Returns a list of the current plot, or all plots if 'All' is selected. + """ name = self._get_current_plot_name() return self.plots.values() if name == "All" else [ self.get_subplot(name)] @_redo_layout def _update_x_axis(self, bound): + """ Updates the plot's x limits with the specified bound. """ try: for plot in self._get_current_plots(): plot.set_xlim(**bound) @@ -125,13 +125,16 @@ class PlotView(QtGui.QWidget): return def _update_x_axis_lower(self, bound): + """ Updates the lower x axis limit. """ self._update_x_axis({"left": bound}) def _update_x_axis_upper(self, bound): + """ Updates the upper x axis limit. """ self._update_x_axis({"right": bound}) @_redo_layout def _update_y_axis(self, bound): + """ Updates the plot's y limits with the specified bound. """ try: for plot in self._get_current_plots(): plot.set_ylim(**bound) @@ -139,12 +142,17 @@ class PlotView(QtGui.QWidget): return def _update_y_axis_lower(self, bound): + """ Updates the lower y axis limit. """ self._update_y_axis({"bottom": bound}) def _update_y_axis_upper(self, bound): + """ Updates the upper y axis limit. """ self._update_y_axis({"top": bound}) def _modify_errors_list(self, name, state): + """ + Adds/Removes a plot name to the errors set depending on the 'state' bool. + """ if state: self.errors_list.add(name) else: @@ -154,20 +162,27 @@ class PlotView(QtGui.QWidget): return def _change_plot_errors(self, name, plot, state): + """ + Removes the previous plot and redraws with/without errors depending on the state. + """ self._modify_errors_list(name, state) workspaces = self.workspaces[name] self.workspaces[name] = [] + # get the limits before replotting, so they appear unchanged. x, y = plot.get_xlim(), plot.get_ylim() - plot.clear() + for old_plot in self.workspace_plots[name]: + old_plot.remove() + del old_plot + self.workspace_plots[name] = [] for workspace in workspaces: self.plot(name, workspace) plot.set_xlim(x) plot.set_ylim(y) - self._set_bounds(name) - self._replay_additions(name) + self._set_bounds(name) # set AxisChanger bounds again. @_redo_layout def _errors_changed(self, state): + """ Replots subplots with errors depending on the current selection. """ current_name = self._get_current_plot_name() if current_name == "All": for name, plot in iteritems(self.plots): @@ -176,18 +191,19 @@ class PlotView(QtGui.QWidget): self._change_plot_errors( current_name, self.get_subplot(current_name), state) - def _replay_additions(self, name): - for func, name, args, kwargs in self.plot_additions[name]: - func(self, name, *args, **kwargs) - def _set_positions(self, positions): + """ Moves all subplots based on a gridspec change. """ for plot, pos in zip(self.plots.values(), positions): grid_pos = self.current_grid[pos[0], pos[1]] - plot.set_position(grid_pos.get_position(self.figure)) + plot.set_position( + grid_pos.get_position( + self.figure)) # sets plot position, magic? + # required because tight_layout() is used. plot.set_subplotspec(grid_pos) @_redo_layout def _update_gridspec(self, new_plots, last=None): + """ Updates the gridspec; adds a 'last' subplot if one is supplied. """ if new_plots: self.current_grid = self.gridspecs[new_plots] positions = putils.get_layout(new_plots) @@ -201,11 +217,13 @@ class PlotView(QtGui.QWidget): self._update_plot_selector() def _update_plot_selector(self): + """ Updates plot selector (dropdown). """ self.plot_selector.clear() self.plot_selector.addItem("All") self.plot_selector.addItems(list(self.plots.keys())) def _add_workspace_name(self, name, workspace): + """ Adds a workspace to a plot's list of workspaces. """ try: if workspace not in self.workspaces[name]: self.workspaces[name].append(workspace) @@ -214,6 +232,7 @@ class PlotView(QtGui.QWidget): @_redo_layout def plot(self, name, workspace): + """ Plots a workspace to a subplot (with errors, if necessary). """ self._add_workspace_name(name, workspace) if name in self.errors_list: self.plot_workspace_errors(name, workspace) @@ -221,18 +240,35 @@ class PlotView(QtGui.QWidget): self.plot_workspace(name, workspace) self._set_bounds(name) + def _add_plotted_line(self, name, lines): + """ Appends plotted lines to the related subplot list. """ + try: + self.workspace_plots[name].extend(lines) + except KeyError: + self.workspace_plots[name] = lines + def plot_workspace_errors(self, name, workspace): + """ Plots a workspace with errrors, and appends caps/bars to the subplot list. """ subplot = self.get_subplot(name) - plots.plotfunctions.errorbar(subplot, workspace, specNum=1) + line, cap_lines, bar_lines = plots.plotfunctions.errorbar( + subplot, workspace, specNum=1) + all_lines = [line] + all_lines.extend(cap_lines) + all_lines.extend(bar_lines) + self._add_plotted_line(name, all_lines) def plot_workspace(self, name, workspace): + """ Plots a workspace normally. """ subplot = self.get_subplot(name) - plots.plotfunctions.plot(subplot, workspace, specNum=1) + line, = plots.plotfunctions.plot(subplot, workspace, specNum=1) + self._add_plotted_line(name, [line]) def get_subplot(self, name): + """ Returns the subplot corresponding to a given name """ return self.plots[name] def get_subplots(self): + """ Returns all subplots. """ return self.plots def add_subplot(self, name): @@ -245,35 +281,12 @@ class PlotView(QtGui.QWidget): self.figure.delaxes(self.get_subplot(name)) del self.plots[name] del self.workspaces[name] - del self.plot_additions[name] self._update_gridspec(len(self.plots)) @_redo_layout - @_save_addition - def call_plot_method(self, name, func, *args, **kwargs): - """ - Allows an arbitrary function call to be replayed - """ - return func(*args, **kwargs) - - @_redo_layout - @_save_addition - def add_vline(self, plot_name, x_value, y_min, y_max, **kwargs): - return self.get_subplot(plot_name).axvline( - x_value, y_min, y_max, **kwargs) - - @_redo_layout - @_save_addition - def add_hline(self, plot_name, y_value, x_min, x_max, **kwargs): - return self.get_subplot(plot_name).axhline( - y_value, x_min, x_max, **kwargs) - - @_redo_layout - @_save_addition def add_moveable_vline(self, plot_name, x_value, y_minx, y_max, **kwargs): pass @_redo_layout - @_save_addition def add_moveable_hline(self, plot_name, y_value, x_min, x_max, **kwargs): pass diff --git a/scripts/Muon/GUI/ElementalAnalysis/peak_data.json b/scripts/Muon/GUI/ElementalAnalysis/peak_data.json index 05046297ee26892acfc51a2156fe3c77a4c51dd3..756cae3bb0b8417e6acada095d14224ed3e186e1 100644 --- a/scripts/Muon/GUI/ElementalAnalysis/peak_data.json +++ b/scripts/Muon/GUI/ElementalAnalysis/peak_data.json @@ -1,2393 +1,2374 @@ { - "Ag": { - "Z": 47, - "A": 107.87, - "Primary": { - "K(4->1)": 3177.7, - "K(5->1)": 3184.9, - "L(3->2)": 868.1, - "L(4->2)": 900.7, - "M(4->3)": 304.7, - "6->5": 141 - }, - "Secondary": { - "K(2->1)": 3140.6, - "K(3->1)": 3147.8, - "K(6->1)": 4050.9, - "K(7->1)": 4042, - "L(5->2)": 1171.6, - "L(6->2)": 1207, - "L(7->2)": 1311.9, - "L(8->2)": 1347.8, - "M(5->3)": 308.3, - "M(6->3)": 444.8, - "M(7->3)": 448.9, - "M(8->3)": 521, - "M(9->3)": 525.2, - "M(10->3)": 567, - "5->4": 141.1, - "6->4": 217, - "7->4": 262.7, - "8->4": 292.5, - "7->5": 152, - "7->6": 76, - "8->6": 122.2 - } - }, - "Al": { - "Z": 13, - "A": 26.98, - "Primary": { - "K(2->1)": 346.8, - "L(3->2)": 66.1 - }, - "Secondary": { - "K(3->1)": 412.8, - "K(4->1)": 435.8, - "K(5->1)": 446.5, - "K(6->1)": 452.3, - "K(7->1)": 455.9, - "L(4->2)": 89.1, - "L(5->2)": 99.7, - "L(6->2)": 105.5, - "L(7->2)": 108.1, - "M(4->3)": 21.8, - "M(5->3)": 32.6, - "M(6->3)": 38.4, - "M(7->3)": 41.9 - } - }, - "Ar": { - "Z": 18, - "A": 39.95, - "Primary": { - "K(2->1)": 643.7, - "L(3->2)": 127.6 - }, - "Secondary": { - "K(3->1)": 770.7, - "K(4->1)": 815.1, - "K(5->1)": 835.7, - "K(6->1)": 846.8, - "K(7->1)": 853.5, - "K(8->1)": 857.9, - "L(4->2)": 171.8, - "L(5->2)": 192.3, - "L(6->2)": 203.5, - "L(7->2)": 210.1, - "M(4->3)": 44.2, - "M(5->3)": 64.7 - } - }, - "As": { - "Z": 33, - "A": 74.92, - "Primary": { - "K(3->1)": 1869.7, - "L(3->2)": 429, - "L(4->2)": 438.5, - "M(4->3)": 149.6 - }, - "Secondary": { - "K(2->1)": 1859.4, - "K(4->1)": 2297.4, - "K(5->1)": 2448.2, - "K(6->1)": 2517.3, - "L(5->2)": 579, - "L(6->2)": 588.7, - "L(7->2)": 648.2, - "L(8->2)": 658.4, - "L(9->2)": 685.4, - "L(10->2)": 694.2, - "M(5->3)": 218.9, - "M(6->3)": 256.5, - "M(7->3)": 279.4 - } - }, - "Au": { - "Z": 79, - "A": 196.97, - "Primary": { - "K(2->1)": 5590.6, - "K(4->1)": 5763.8, - "L(3->2)": 2343.5, - "L(5->2)": 2479.3, - "M(4->3)": 870, - "M(5->3)": 899.2, - "5->4": 400.2, - "6->4": 405.7, - "6->5": 216.8 - }, - "Secondary": { - "K(3->1)": 5747.3, - "L(4->2)": 2359.9, - "7->4": 615.5, - "8->4": 622, - "9->4": 744.8, - "7->5": 346.8 - } - }, - "B": { - "Z": 5, - "A": 10.81, - "Primary": { - "K(2->1)": 52.2 - }, - "Secondary": { - "K(3->1)": 61.9, - "K(4->1)": 65.3, - "K(5->1)": 66.9, - "L(3->2)": 9.7 - } - }, - "Ba": { - "Z": 56, - "A": 137.33, - "Primary": { - "K(3->1)": 3988.8, - "L(3->2)": 1227, - "L(4->2)": 1283.7, - "M(4->3)": 434, - "M(5->3)": 441.6, - "5->4": 200.6 - }, - "Secondary": { - "K(2->1)": 3922.9, - "K(4->1)": 5197.8, - "K(5->1)": 5213.7, - "L(5->2)": 1659.6, - "L(6->2)": 1721.9, - "L(7->2)": 1859.4, - "L(8->2)": 1923.6, - "M(6->3)": 633.3, - "M(7->3)": 641.8, - "M(8->3)": 741.6, - "M(9->3)": 750.5, - "M(10->3)": 806.4, - "M(11->3)": 815.1, - "M(12->3)": 848.9, - "M(13->3)": 857.9, - "6->4": 308.9, - "7->4": 374.1, - "8->4": 416.6 - } - }, - "Be": { - "Z": 4, - "A": 9.012, - "Primary": { - "K(2->1)": 33.4 - }, - "Secondary": { - "K(3->1)": 39.6, - "K(4->1)": 41.8, - "K(5->1)": 42.8, - "L(3->2)": 6.2 - } - }, - "Bi": { - "Z": 83, - "A": 208.98, - "Primary": { - "K(2->1)": 5841.1, - "K(3->1)": 6026.6, - "K(4->1)": 6037.8, - "L(3->2)": 2550.5, - "L(4->2)": 2560.1, - "L(5->2)": 2700.7, - "M(4->3)": 961.3, - "M(5->3)": 996.7, - "5->4": 442.2, - "6->4": 448.8, - "6->5": 239.5 - }, - "Secondary": { - "L(6->2)": 3511.3, - "L(7->2)": 3678.5, - "M(6->3)": 1400.6, - "M(7->3)": 1440.5, - "M(8->3)": 1640.5, - "M(9->3)": 1681.2, - "7->4": 679.9, - "8->4": 687.5, - "9->4": 823, - "10->4": 831.7, - "7->5": 383.1 - } - }, - "Br": { - "Z": 35, - "A": 79.9, - "Primary": { - "K(3->1)": 2053.1, - "L(3->2)": 482.3, - "L(4->2)": 494, - "M(4->3)": 170 - }, - "Secondary": { - "K(2->1)": 2040, - "K(4->1)": 2533.5, - "K(5->1)": 2702.6, - "K(6->1)": 2781.7, - "K(7->1)": 2823.6, - "K(8->1)": 2849.3, - "L(5->2)": 650.4, - "L(6->2)": 663.1, - "L(7->2)": 728.1, - "L(8->2)": 741, - "L(9->2)": 771.1, - "L(10->2)": 783.3, - "M(5->3)": 246.4, - "M(6->3)": 288.5 - } - }, - "C": { - "Z": 6, - "A": 12.01, - "Primary": { - "K(2->1)": 75.2, - "L(3->2)": 14 - }, - "Secondary": { - "K(3->1)": 89.2, - "K(4->1)": 94.1, - "K(5->1)": 96.4, - "L(4->2)": 18.9 - } - }, - "Ca": { - "Z": 20, - "A": 40.08, - "Primary": { - "K(2->1)": 783.6, - "L(3->2)": 157.3 - }, - "Secondary": { - "K(3->1)": 940.6, - "K(4->1)": 995.3, - "K(5->1)": 1020.7, - "K(6->1)": 1034.4, - "K(7->1)": 1042.7, - "L(4->2)": 212, - "L(5->2)": 237.2, - "L(6->2)": 250.9, - "L(7->2)": 259.4, - "L(8->2)": 264, - "M(4->3)": 54.8, - "M(5->3)": 80.1, - "M(6->3)": 93.9, - "M(7->3)": 102.3 - } - }, - "Cd": { - "Z": 48, - "A": 112.41, - "Primary": { - "K(3->1)": 3231.2, - "K(5->1)": 3266.2, - "K(6->1)": 3269.8, - "K(7->1)": 3277, - "L(3->2)": 907, - "L(4->2)": 941.9, - "M(4->3)": 317.7, - "M(5->3)": 321.7 - }, - "Secondary": { - "K(2->1)": 3226.4, - "K(4->1)": 3237.3, - "K(8->1)": 4170.5, - "K(9->1)": 4494.6, - "L(5->2)": 1224.3, - "L(6->2)": 1262.4, - "L(7->2)": 1371.1, - "L(8->2)": 1410.2, - "L(9->2)": 1451.4, - "L(10->2)": 1490.5, - "M(6->3)": 464.3, - "M(7->3)": 468.6, - "M(8->3)": 543.9, - "M(9->3)": 548.4, - "M(10->3)": 591.8, - "M(11->3)": 596.6, - "5->4": 146.3, - "6->4": 226, - "7->4": 273.5, - "6->5": 127.4, - "7->6": 79.6 - } - }, - "Ce": { - "Z": 58, - "A": 140.12, - "Primary": { - "K(4->1)": 4157.9, - "K(5->1)": 4170.7, - "L(3->2)": 1314.1, - "L(4->2)": 1376.9, - "M(4->3)": 463.5, - "M(5->3)": 472.4, - "5->4": 215.4 - }, - "Secondary": { - "K(2->1)": 4085.3, - "K(3->1)": 4097.4, - "K(6->1)": 5465.7, - "K(7->1)": 5482.1, - "L(5->2)": 1778, - "L(6->2)": 1847.9, - "L(7->2)": 1993.8, - "L(8->2)": 2065.3, - "M(6->3)": 678.2, - "M(7->3)": 688.1, - "M(8->3)": 794.7, - "M(9->3)": 804.9, - "M(10->3)": 865.3, - "M(11->3)": 875.6, - "6->4": 331.5, - "7->4": 401.5, - "6->5": 116, - "7->5": 186.1, - "8->5": 231 - } - }, - "Cl": { - "Z": 17, - "A": 35.45, - "Primary": { - "K(2->1)": 578.7, - "L(3->2)": 113.4 - }, - "Secondary": { - "K(3->1)": 691.9, - "K(4->1)": 731.5, - "K(5->1)": 749.7, - "K(6->1)": 759.7, - "K(7->1)": 765.4, - "L(4->2)": 152.9, - "L(5->2)": 171.1, - "L(6->2)": 181.2, - "L(7->2)": 187, - "M(4->3)": 39.5, - "M(5->3)": 57.7 - } - }, - "Co": { - "Z": 27, - "A": 58.93, - "Primary": { - "K(3->1)": 1343.1, - "L(3->2)": 286.6, - "L(4->2)": 291.1, - "M(4->3)": 99.9, - "M(5->3)": 146 - }, - "Secondary": { - "K(2->1)": 1338.2, - "K(4->1)": 1629, - "K(5->1)": 1729.4, - "K(6->1)": 1775.9, - "K(7->1)": 1801.6, - "K(8->1)": 1816.3, - "L(5->2)": 386.7, - "L(6->2)": 391.3, - "L(7->2)": 433.1, - "L(8->2)": 437.7, - "L(9->2)": 458.4, - "L(10->2)": 463.5, - "L(11->2)": 473.4, - "L(12->2)": 478, - "M(6->3)": 171.1, - "M(7->3)": 186.5 - } - }, - "Cr": { - "Z": 24, - "A": 52, - "Primary": { - "K(3->1)": 1092.5, - "L(3->2)": 226, - "L(4->2)": 228.8, - "M(4->3)": 78.3, - "5->4": 35.4 - }, - "Secondary": { - "K(2->1)": 1089.3, - "K(4->1)": 1317.8, - "K(5->1)": 1397.2, - "K(6->1)": 1433.7, - "K(7->1)": 1453.8, - "K(8->1)": 1465.5, - "L(5->2)": 305, - "L(6->2)": 308, - "L(7->2)": 341.6, - "L(8->2)": 344.9, - "L(9->2)": 361.4, - "L(10->2)": 364.5, - "L(11->2)": 373.3, - "L(12->2)": 376.5, - "M(5->3)": 115, - "M(6->3)": 134.9, - "M(7->3)": 146.9, - "6->4": 55.4, - "7->4": 67.4 - } - }, - "Cs": { - "Z": 55, - "A": 132.91, - "Primary": { - "K(3->1)": 3902.7, - "L(3->2)": 1185.7, - "L(4->2)": 1238.9, - "M(4->3)": 418.4, - "M(5->3)": 425.4, - "5->4": 193.3 - }, - "Secondary": { - "K(2->1)": 3840.7, - "K(4->1)": 5073, - "K(5->1)": 5086.1, - "L(5->2)": 1602.9, - "L(6->2)": 1661.7, - "L(7->2)": 1795.7, - "L(8->2)": 1856.1, - "M(6->3)": 610.5, - "M(7->3)": 618.4, - "M(8->3)": 714.9, - "M(9->3)": 723.5, - "6->4": 297.7, - "7->4": 360.7 - } - }, - "Cu": { - "Z": 29, - "A": 63.54, - "Primary": { - "K(3->1)": 1514.2, - "L(3->2)": 330.9, - "L(4->2)": 336.6, - "M(4->3)": 115.9, - "6->4": 82.4 - }, - "Secondary": { - "K(2->1)": 1507.7, - "K(4->1)": 1843.7, - "K(5->1)": 1959.7, - "K(6->1)": 2013.1, - "K(7->1)": 2042.1, - "K(8->1)": 2059.9, - "K(9->1)": 2070.9, - "L(5->2)": 446.1, - "L(6->2)": 452.2, - "L(7->2)": 499.4, - "L(8->2)": 505.7, - "L(9->2)": 528.3, - "L(10->2)": 534.4, - "L(11->2)": 545.6, - "L(12->2)": 564.5, - "M(5->3)": 169.2, - "M(6->3)": 198.1, - "M(7->3)": 215.6, - "M(8->3)": 234.4, - "M(9->3)": 239.8, - "5->4": 53.5, - "7->4": 99.8, - "8->4": 111.4 - } - }, - "Dy": { - "Z": 66, - "A": 162.5, - "Primary": { - "K(4->1)": 4633.5, - "K(5->1)": 4644.2, - "L(6->2)": 1649.4, - "L(11->2)": 1792.7, - "M(4->3)": 604.9, - "M(5->3)": 619.4, - "5->4": 278.3, - "6->4": 281, - "6->5": 150.7 - }, - "Secondary": { - "K(2->1)": 4602.1, - "K(3->1)": 4610.8, - "K(6->1)": 4676.9, - "K(7->1)": 4689.9, - "K(8->1)": 4718.4, - "K(9->1)": 4787.9, - "K(10->1)": 4804.1, - "K(11->1)": 4813.3, - "L(3->2)": 1580.8, - "L(4->2)": 1604.9, - "L(5->2)": 1622.6, - "L(7->2)": 1659.9, - "L(8->2)": 1674.7, - "L(9->2)": 1761.8, - "L(10->2)": 1767.2, - "M(6->3)": 882, - "M(7->3)": 898, - "M(8->3)": 1032, - "M(9->3)": 1051.1, - "7->4": 428.4, - "8->4": 431.7, - "9->4": 518.9, - "10->4": 522.4, - "7->5": 241.4 - } - }, - "Er": { - "Z": 68, - "A": 167.26, - "Primary": { - "K(5->1)": 4778.2, - "K(9->1)": 4957.7, - "L(6->2)": 1745, - "L(11->2)": 1871.2, - "L(12->2)": 1898, - "M(4->3)": 642.9, - "M(5->3)": 659.1, - "5->4": 295.8, - "6->4": 298.8 - }, - "Secondary": { - "K(2->1)": 4738.1, - "K(3->1)": 4748.1, - "K(4->1)": 4757.4, - "K(6->1)": 4830.9, - "K(7->1)": 4876.5, - "K(8->1)": 4929.5, - "L(3->2)": 1670.3, - "L(4->2)": 1698, - "L(5->2)": 1722.4, - "L(7->2)": 1757.5, - "L(8->2)": 1774.5, - "L(9->2)": 1800.9, - "L(10->2)": 1850.9, - "M(6->3)": 936.8, - "M(7->3)": 955.2, - "M(8->3)": 1096.4, - "M(9->3)": 1115.4, - "7->4": 455, - "8->4": 458.5, - "9->4": 551.2, - "10->4": 555, - "6->5": 160.2, - "7->5": 256.7 - } - }, - "Eu": { - "Z": 63, - "A": 151.96, - "Primary": { - "K(2->1)": 4423.5, - "K(3->1)": 4475.8, - "K(5->1)": 4563.2, - "K(6->1)": 4574.2, - "L(3->2)": 1529.5, - "L(4->2)": 1539.1, - "L(5->2)": 1550.8, - "L(8->2)": 1621.4, - "M(4->3)": 550.5, - "M(5->3)": 562.7, - "5->4": 253.4, - "6->4": 255.7, - "6->5": 137.8 - }, - "Secondary": { - "K(4->1)": 4544.3, - "K(7->1)": 4588.8, - "L(6->2)": 1573.3, - "L(7->2)": 1597.6, - "L(9->2)": 1637, - "M(6->3)": 802.8, - "M(7->3)": 816.4, - "M(8->3)": 939.1, - "M(9->3)": 953.2, - "7->4": 390.1, - "8->4": 392.8, - "9->4": 472.5, - "10->4": 475.4, - "7->5": 220.1 - } - }, - "F": { - "Z": 9, - "A": 19, - "Primary": { - "K(2->1)": 168.1 - }, - "Secondary": { - "K(3->1)": 199.7, - "K(4->1)": 210.8, - "K(5->1)": 216.3, - "L(3->2)": 31.6, - "L(4->2)": 42.7, - "M(4->3)": 11.1 - } - }, - "Fe": { - "Z": 26, - "A": 55.85, - "Primary": { - "K(3->1)": 1257.9, - "L(3->2)": 265.7, - "L(4->2)": 269.4, - "M(4->3)": 92.6, - "5->4": 42.1 - }, - "Secondary": { - "K(2->1)": 1253.7, - "K(4->1)": 1521.1, - "K(5->1)": 1523.5, - "K(6->1)": 1616.7, - "K(7->1)": 1659.7, - "K(8->1)": 1683.3, - "K(9->1)": 1697.7, - "K(10->1)": 1706.4, - "L(5->2)": 358.2, - "L(6->2)": 361.9, - "L(7->2)": 400.8, - "L(8->2)": 404.7, - "L(9->2)": 424.3, - "L(10->2)": 428.1, - "L(11->2)": 438.3, - "L(12->2)": 442.2, - "M(5->3)": 134.9, - "M(6->3)": 157.8, - "M(7->3)": 172.3, - "6->4": 65.6, - "7->4": 79.6 - } - }, - "Ga": { - "Z": 31, - "A": 69.72, - "Primary": { - "K(3->1)": 1688.5, - "L(3->2)": 378.7, - "L(4->2)": 386.1, - "M(4->3)": 132.4, - "6->4": 94.3 - }, - "Secondary": { - "K(2->1)": 1680.3, - "K(4->1)": 2065.3, - "K(5->1)": 2198, - "K(6->1)": 2259.4, - "K(7->1)": 2292.1, - "K(8->1)": 2312.1, - "K(9->1)": 2325, - "K(10->1)": 2334.1, - "L(5->2)": 510.4, - "L(6->2)": 518.1, - "L(7->2)": 571.3, - "L(8->2)": 579.3, - "L(9->2)": 604.3, - "L(10->2)": 612.4, - "L(11->2)": 624.2, - "L(12->2)": 645.7, - "M(5->3)": 193.3, - "M(6->3)": 226.3, - "M(7->3)": 246.2, - "M(8->3)": 259.3, - "M(9->3)": 267.9, - "M(10->3)": 274.1, - "5->4": 61.3, - "7->4": 114.3, - "8->4": 127.5 - } - }, - "Gd": { - "Z": 64, - "A": 157.25, - "Primary": { - "K(6->1)": 4492, - "K(7->1)": 4502.9, - "K(8->1)": 4558.8, - "K(9->1)": 4627.9, - "L(4->2)": 1552.6, - "L(9->2)": 1684.6, - "M(4->3)": 568.2, - "M(5->3)": 581.2, - "5->4": 261.6, - "6->5": 142.2 - }, - "Secondary": { - "K(2->1)": 4449.4, - "K(3->1)": 4458.5, - "K(4->1)": 4467.8, - "K(5->1)": 4480.5, - "K(10->1)": 4637.4, - "K(11->1)": 6191.3, - "L(3->2)": 1536.1, - "L(5->2)": 1568.6, - "L(6->2)": 1646, - "L(7->2)": 1653.8, - "L(8->2)": 1657.8, - "L(10->2)": 2119.9, - "L(11->2)": 2220, - "L(12->2)": 2261.9, - "M(6->3)": 829, - "M(7->3)": 843.6, - "M(8->3)": 970.8, - "M(9->3)": 985.4, - "6->4": 264.1, - "7->4": 402.7, - "8->4": 405.5, - "9->4": 487.6, - "10->4": 490.8, - "7->5": 227.2 - } + "Ag": { + "Z": 47, + "A": 107.87, + "Primary": { + "K(4->1)": 3177.7, + "K(5->1)": 3184.9, + "L(3->2)": 868.1, + "L(4->2)": 900.7, + "M(4->3)": 304.7, + "6->5": 141 + }, + "Secondary": { + "K(2->1)": 3140.6, + "K(3->1)": 3147.8, + "K(6->1)": 4050.9, + "K(7->1)": 4042, + "L(5->2)": 1171.6, + "L(6->2)": 1207, + "L(7->2)": 1311.9, + "L(8->2)": 1347.8, + "M(5->3)": 308.3, + "M(6->3)": 444.8, + "M(7->3)": 448.9, + "M(8->3)": 521, + "M(9->3)": 525.2, + "M(10->3)": 567, + "5->4": 141.1, + "6->4": 217, + "7->4": 262.7, + "8->4": 292.5, + "7->5": 152, + "7->6": 76, + "8->6": 122.2 + } + }, + "Al": { + "Z": 13, + "A": 26.98, + "Primary": { + "K(2->1)": 346.8, + "L(3->2)": 66.1 + }, + "Secondary": { + "K(3->1)": 412.8, + "K(4->1)": 435.8, + "K(5->1)": 446.5, + "K(6->1)": 452.3, + "K(7->1)": 455.9, + "L(4->2)": 89.1, + "L(5->2)": 99.7, + "L(6->2)": 105.5, + "L(7->2)": 108.1, + "M(4->3)": 21.8, + "M(5->3)": 32.6, + "M(6->3)": 38.4, + "M(7->3)": 41.9 + } + }, + "Ar": { + "Z": 18, + "A": 39.95, + "Primary": { + "K(2->1)": 643.7, + "L(3->2)": 127.6 + }, + "Secondary": { + "K(3->1)": 770.7, + "K(4->1)": 815.1, + "K(5->1)": 835.7, + "K(6->1)": 846.8, + "K(7->1)": 853.5, + "K(8->1)": 857.9, + "L(4->2)": 171.8, + "L(5->2)": 192.3, + "L(6->2)": 203.5, + "L(7->2)": 210.1, + "M(4->3)": 44.2, + "M(5->3)": 64.7 + } + }, + "As": { + "Z": 33, + "A": 74.92, + "Primary": { + "K(3->1)": 1869.7, + "L(3->2)": 429, + "L(4->2)": 438.5, + "M(4->3)": 149.6 + }, + "Secondary": { + "K(2->1)": 1859.4, + "K(4->1)": 2297.4, + "K(5->1)": 2448.2, + "K(6->1)": 2517.3, + "L(5->2)": 579, + "L(6->2)": 588.7, + "L(7->2)": 648.2, + "L(8->2)": 658.4, + "L(9->2)": 685.4, + "L(10->2)": 694.2, + "M(5->3)": 218.9, + "M(6->3)": 256.5, + "M(7->3)": 279.4 + } + }, + "Au": { + "Z": 79, + "A": 196.97, + "Primary": { + "K(2->1)": 5590.6, + "K(4->1)": 5763.8, + "L(3->2)": 2343.5, + "L(5->2)": 2479.3, + "M(4->3)": 870, + "M(5->3)": 899.2, + "5->4": 400.2, + "6->4": 405.7, + "6->5": 216.8 + }, + "Secondary": { + "K(3->1)": 5747.3, + "L(4->2)": 2359.9, + "7->4": 615.5, + "8->4": 622, + "9->4": 744.8, + "7->5": 346.8 + } + }, + "B": { + "Z": 5, + "A": 10.81, + "Primary": { + "K(2->1)": 52.2 + }, + "Secondary": { + "K(3->1)": 61.9, + "K(4->1)": 65.3, + "K(5->1)": 66.9, + "L(3->2)": 9.7 + } + }, + "Ba": { + "Z": 56, + "A": 137.33, + "Primary": { + "K(3->1)": 3988.8, + "L(3->2)": 1227, + "L(4->2)": 1283.7, + "M(4->3)": 434, + "M(5->3)": 441.6, + "5->4": 200.6 + }, + "Secondary": { + "K(2->1)": 3922.9, + "K(4->1)": 5197.8, + "K(5->1)": 5213.7, + "L(5->2)": 1659.6, + "L(6->2)": 1721.9, + "L(7->2)": 1859.4, + "L(8->2)": 1923.6, + "M(6->3)": 633.3, + "M(7->3)": 641.8, + "M(8->3)": 741.6, + "M(9->3)": 750.5, + "M(10->3)": 806.4, + "M(11->3)": 815.1, + "M(12->3)": 848.9, + "M(13->3)": 857.9, + "6->4": 308.9, + "7->4": 374.1, + "8->4": 416.6 + } + }, + "Be": { + "Z": 4, + "A": 9.012, + "Primary": { + "K(2->1)": 33.4 + }, + "Secondary": { + "K(3->1)": 39.6, + "K(4->1)": 41.8, + "K(5->1)": 42.8, + "L(3->2)": 6.2 + } + }, + "Bi": { + "Z": 83, + "A": 208.98, + "Primary": { + "K(2->1)": 5841.1, + "K(3->1)": 6026.6, + "K(4->1)": 6037.8, + "L(3->2)": 2550.5, + "L(4->2)": 2560.1, + "L(5->2)": 2700.7, + "M(4->3)": 961.3, + "M(5->3)": 996.7, + "5->4": 442.2, + "6->4": 448.8, + "6->5": 239.5 + }, + "Secondary": { + "L(6->2)": 3511.3, + "L(7->2)": 3678.5, + "M(6->3)": 1400.6, + "M(7->3)": 1440.5, + "M(8->3)": 1640.5, + "M(9->3)": 1681.2, + "7->4": 679.9, + "8->4": 687.5, + "9->4": 823, + "10->4": 831.7, + "7->5": 383.1 + } + }, + "Br": { + "Z": 35, + "A": 79.9, + "Primary": { + "K(3->1)": 2053.1, + "L(3->2)": 482.3, + "L(4->2)": 494, + "M(4->3)": 170 + }, + "Secondary": { + "K(2->1)": 2040, + "K(4->1)": 2533.5, + "K(5->1)": 2702.6, + "K(6->1)": 2781.7, + "K(7->1)": 2823.6, + "K(8->1)": 2849.3, + "L(5->2)": 650.4, + "L(6->2)": 663.1, + "L(7->2)": 728.1, + "L(8->2)": 741, + "L(9->2)": 771.1, + "L(10->2)": 783.3, + "M(5->3)": 246.4, + "M(6->3)": 288.5 + } + }, + "C": { + "Z": 6, + "A": 12.01, + "Primary": { + "K(2->1)": 75.2, + "L(3->2)": 14 + }, + "Secondary": { + "K(3->1)": 89.2, + "K(4->1)": 94.1, + "K(5->1)": 96.4, + "L(4->2)": 18.9 + } + }, + "Ca": { + "Z": 20, + "A": 40.08, + "Primary": { + "K(2->1)": 783.6, + "L(3->2)": 157.3 + }, + "Secondary": { + "K(3->1)": 940.6, + "K(4->1)": 995.3, + "K(5->1)": 1020.7, + "K(6->1)": 1034.4, + "K(7->1)": 1042.7, + "L(4->2)": 212, + "L(5->2)": 237.2, + "L(6->2)": 250.9, + "L(7->2)": 259.4, + "L(8->2)": 264, + "M(4->3)": 54.8, + "M(5->3)": 80.1, + "M(6->3)": 93.9, + "M(7->3)": 102.3 + } + }, + "Cd": { + "Z": 48, + "A": 112.41, + "Primary": { + "K(3->1)": 3231.2, + "K(5->1)": 3266.2, + "K(6->1)": 3269.8, + "K(7->1)": 3277, + "L(3->2)": 907, + "L(4->2)": 941.9, + "M(4->3)": 317.7, + "M(5->3)": 321.7 + }, + "Secondary": { + "K(2->1)": 3226.4, + "K(4->1)": 3237.3, + "K(8->1)": 4170.5, + "K(9->1)": 4494.6, + "L(5->2)": 1224.3, + "L(6->2)": 1262.4, + "L(7->2)": 1371.1, + "L(8->2)": 1410.2, + "L(9->2)": 1451.4, + "L(10->2)": 1490.5, + "M(6->3)": 464.3, + "M(7->3)": 468.6, + "M(8->3)": 543.9, + "M(9->3)": 548.4, + "M(10->3)": 591.8, + "M(11->3)": 596.6, + "5->4": 146.3, + "6->4": 226, + "7->4": 273.5, + "6->5": 127.4, + "7->6": 79.6 + } + }, + "Ce": { + "Z": 58, + "A": 140.12, + "Primary": { + "K(4->1)": 4157.9, + "K(5->1)": 4170.7, + "L(3->2)": 1314.1, + "L(4->2)": 1376.9, + "M(4->3)": 463.5, + "M(5->3)": 472.4, + "5->4": 215.4 + }, + "Secondary": { + "K(2->1)": 4085.3, + "K(3->1)": 4097.4, + "K(6->1)": 5465.7, + "K(7->1)": 5482.1, + "L(5->2)": 1778, + "L(6->2)": 1847.9, + "L(7->2)": 1993.8, + "L(8->2)": 2065.3, + "M(6->3)": 678.2, + "M(7->3)": 688.1, + "M(8->3)": 794.7, + "M(9->3)": 804.9, + "M(10->3)": 865.3, + "M(11->3)": 875.6, + "6->4": 331.5, + "7->4": 401.5, + "6->5": 116, + "7->5": 186.1, + "8->5": 231 + } + }, + "Cl": { + "Z": 17, + "A": 35.45, + "Primary": { + "K(2->1)": 578.7, + "L(3->2)": 113.4 + }, + "Secondary": { + "K(3->1)": 691.9, + "K(4->1)": 731.5, + "K(5->1)": 749.7, + "K(6->1)": 759.7, + "K(7->1)": 765.4, + "L(4->2)": 152.9, + "L(5->2)": 171.1, + "L(6->2)": 181.2, + "L(7->2)": 187, + "M(4->3)": 39.5, + "M(5->3)": 57.7 + } + }, + "Co": { + "Z": 27, + "A": 58.93, + "Primary": { + "K(3->1)": 1343.1, + "L(3->2)": 286.6, + "L(4->2)": 291.1, + "M(4->3)": 99.9, + "M(5->3)": 146 + }, + "Secondary": { + "K(2->1)": 1338.2, + "K(4->1)": 1629, + "K(5->1)": 1729.4, + "K(6->1)": 1775.9, + "K(7->1)": 1801.6, + "K(8->1)": 1816.3, + "L(5->2)": 386.7, + "L(6->2)": 391.3, + "L(7->2)": 433.1, + "L(8->2)": 437.7, + "L(9->2)": 458.4, + "L(10->2)": 463.5, + "L(11->2)": 473.4, + "L(12->2)": 478, + "M(6->3)": 171.1, + "M(7->3)": 186.5 + } + }, + "Cr": { + "Z": 24, + "A": 52, + "Primary": { + "K(3->1)": 1092.5, + "L(3->2)": 226, + "L(4->2)": 228.8, + "M(4->3)": 78.3, + "5->4": 35.4 + }, + "Secondary": { + "K(2->1)": 1089.3, + "K(4->1)": 1317.8, + "K(5->1)": 1397.2, + "K(6->1)": 1433.7, + "K(7->1)": 1453.8, + "K(8->1)": 1465.5, + "L(5->2)": 305, + "L(6->2)": 308, + "L(7->2)": 341.6, + "L(8->2)": 344.9, + "L(9->2)": 361.4, + "L(10->2)": 364.5, + "L(11->2)": 373.3, + "L(12->2)": 376.5, + "M(5->3)": 115, + "M(6->3)": 134.9, + "M(7->3)": 146.9, + "6->4": 55.4, + "7->4": 67.4 + } + }, + "Cs": { + "Z": 55, + "A": 132.91, + "Primary": { + "K(3->1)": 3902.7, + "L(3->2)": 1185.7, + "L(4->2)": 1238.9, + "M(4->3)": 418.4, + "M(5->3)": 425.4, + "5->4": 193.3 + }, + "Secondary": { + "K(2->1)": 3840.7, + "K(4->1)": 5073, + "K(5->1)": 5086.1, + "L(5->2)": 1602.9, + "L(6->2)": 1661.7, + "L(7->2)": 1795.7, + "L(8->2)": 1856.1, + "M(6->3)": 610.5, + "M(7->3)": 618.4, + "M(8->3)": 714.9, + "M(9->3)": 723.5, + "6->4": 297.7, + "7->4": 360.7 + } + }, + "Cu": { + "Z": 29, + "A": 63.54, + "Primary": { + "K(3->1)": 1514.2, + "L(3->2)": 330.9, + "L(4->2)": 336.6, + "M(4->3)": 115.9, + "6->4": 82.4 + }, + "Secondary": { + "K(2->1)": 1507.7, + "K(4->1)": 1843.7, + "K(5->1)": 1959.7, + "K(6->1)": 2013.1, + "K(7->1)": 2042.1, + "K(8->1)": 2059.9, + "K(9->1)": 2070.9, + "L(5->2)": 446.1, + "L(6->2)": 452.2, + "L(7->2)": 499.4, + "L(8->2)": 505.7, + "L(9->2)": 528.3, + "L(10->2)": 534.4, + "L(11->2)": 545.6, + "L(12->2)": 564.5, + "M(5->3)": 169.2, + "M(6->3)": 198.1, + "M(7->3)": 215.6, + "M(8->3)": 234.4, + "M(9->3)": 239.8, + "5->4": 53.5, + "7->4": 99.8, + "8->4": 111.4 + } + }, + "Dy": { + "Z": 66, + "A": 162.5, + "Primary": { + "K(4->1)": 4633.5, + "K(5->1)": 4644.2, + "L(6->2)": 1649.4, + "L(11->2)": 1792.7, + "M(4->3)": 604.9, + "M(5->3)": 619.4, + "5->4": 278.3, + "6->4": 281, + "6->5": 150.7 + }, + "Secondary": { + "K(2->1)": 4602.1, + "K(3->1)": 4610.8, + "K(6->1)": 4676.9, + "K(7->1)": 4689.9, + "K(8->1)": 4718.4, + "K(9->1)": 4787.9, + "K(10->1)": 4804.1, + "K(11->1)": 4813.3, + "L(3->2)": 1580.8, + "L(4->2)": 1604.9, + "L(5->2)": 1622.6, + "L(7->2)": 1659.9, + "L(8->2)": 1674.7, + "L(9->2)": 1761.8, + "L(10->2)": 1767.2, + "M(6->3)": 882, + "M(7->3)": 898, + "M(8->3)": 1032, + "M(9->3)": 1051.1, + "7->4": 428.4, + "8->4": 431.7, + "9->4": 518.9, + "10->4": 522.4, + "7->5": 241.4 + } + }, + "Er": { + "Z": 68, + "A": 167.26, + "Primary": { + "K(5->1)": 4778.2, + "K(9->1)": 4957.7, + "L(6->2)": 1745, + "L(11->2)": 1871.2, + "L(12->2)": 1898, + "M(4->3)": 642.9, + "M(5->3)": 659.1, + "5->4": 295.8, + "6->4": 298.8 + }, + "Secondary": { + "K(2->1)": 4738.1, + "K(3->1)": 4748.1, + "K(4->1)": 4757.4, + "K(6->1)": 4830.9, + "K(7->1)": 4876.5, + "K(8->1)": 4929.5, + "L(3->2)": 1670.3, + "L(4->2)": 1698, + "L(5->2)": 1722.4, + "L(7->2)": 1757.5, + "L(8->2)": 1774.5, + "L(9->2)": 1800.9, + "L(10->2)": 1850.9, + "M(6->3)": 936.8, + "M(7->3)": 955.2, + "M(8->3)": 1096.4, + "M(9->3)": 1115.4, + "7->4": 455, + "8->4": 458.5, + "9->4": 551.2, + "10->4": 555, + "6->5": 160.2, + "7->5": 256.7 + } + }, + "Eu": { + "Z": 63, + "A": 151.96, + "Primary": { + "K(2->1)": 4423.5, + "K(3->1)": 4475.8, + "K(5->1)": 4563.2, + "K(6->1)": 4574.2, + "L(3->2)": 1529.5, + "L(4->2)": 1539.1, + "L(5->2)": 1550.8, + "L(8->2)": 1621.4, + "M(4->3)": 550.5, + "M(5->3)": 562.7, + "5->4": 253.4, + "6->4": 255.7, + "6->5": 137.8 + }, + "Secondary": { + "K(4->1)": 4544.3, + "K(7->1)": 4588.8, + "L(6->2)": 1573.3, + "L(7->2)": 1597.6, + "L(9->2)": 1637, + "M(6->3)": 802.8, + "M(7->3)": 816.4, + "M(8->3)": 939.1, + "M(9->3)": 953.2, + "7->4": 390.1, + "8->4": 392.8, + "9->4": 472.5, + "10->4": 475.4, + "7->5": 220.1 + } + }, + "F": { + "Z": 9, + "A": 19, + "Primary": { + "K(2->1)": 168.1 + }, + "Secondary": { + "K(3->1)": 199.7, + "K(4->1)": 210.8, + "K(5->1)": 216.3, + "L(3->2)": 31.6, + "L(4->2)": 42.7, + "M(4->3)": 11.1 + } + }, + "Fe": { + "Z": 26, + "A": 55.85, + "Primary": { + "K(3->1)": 1257.9, + "L(3->2)": 265.7, + "L(4->2)": 269.4, + "M(4->3)": 92.6, + "5->4": 42.1 + }, + "Secondary": { + "K(2->1)": 1253.7, + "K(4->1)": 1521.1, + "K(5->1)": 1523.5, + "K(6->1)": 1616.7, + "K(7->1)": 1659.7, + "K(8->1)": 1683.3, + "K(9->1)": 1697.7, + "K(10->1)": 1706.4, + "L(5->2)": 358.2, + "L(6->2)": 361.9, + "L(7->2)": 400.8, + "L(8->2)": 404.7, + "L(9->2)": 424.3, + "L(10->2)": 428.1, + "L(11->2)": 438.3, + "L(12->2)": 442.2, + "M(5->3)": 134.9, + "M(6->3)": 157.8, + "M(7->3)": 172.3, + "6->4": 65.6, + "7->4": 79.6 + } + }, + "Ga": { + "Z": 31, + "A": 69.72, + "Primary": { + "K(3->1)": 1688.5, + "L(3->2)": 378.7, + "L(4->2)": 386.1, + "M(4->3)": 132.4, + "6->4": 94.3 + }, + "Secondary": { + "K(2->1)": 1680.3, + "K(4->1)": 2065.3, + "K(5->1)": 2198, + "K(6->1)": 2259.4, + "K(7->1)": 2292.1, + "K(8->1)": 2312.1, + "K(9->1)": 2325, + "K(10->1)": 2334.1, + "L(5->2)": 510.4, + "L(6->2)": 518.1, + "L(7->2)": 571.3, + "L(8->2)": 579.3, + "L(9->2)": 604.3, + "L(10->2)": 612.4, + "L(11->2)": 624.2, + "L(12->2)": 645.7, + "M(5->3)": 193.3, + "M(6->3)": 226.3, + "M(7->3)": 246.2, + "M(8->3)": 259.3, + "M(9->3)": 267.9, + "M(10->3)": 274.1, + "5->4": 61.3, + "7->4": 114.3, + "8->4": 127.5 + } + }, + "Gd": { + "Z": 64, + "A": 157.25, + "Primary": { + "K(6->1)": 4492, + "K(7->1)": 4502.9, + "K(8->1)": 4558.8, + "K(9->1)": 4627.9, + "L(4->2)": 1552.6, + "L(9->2)": 1684.6, + "M(4->3)": 568.2, + "M(5->3)": 581.2, + "5->4": 261.6, + "6->5": 142.2 + }, + "Secondary": { + "K(2->1)": 4449.4, + "K(3->1)": 4458.5, + "K(4->1)": 4467.8, + "K(5->1)": 4480.5, + "K(10->1)": 4637.4, + "K(11->1)": 6191.3, + "L(3->2)": 1536.1, + "L(5->2)": 1568.6, + "L(6->2)": 1646, + "L(7->2)": 1653.8, + "L(8->2)": 1657.8, + "L(10->2)": 2119.9, + "L(11->2)": 2220, + "L(12->2)": 2261.9, + "M(6->3)": 829, + "M(7->3)": 843.6, + "M(8->3)": 970.8, + "M(9->3)": 985.4, + "6->4": 264.1, + "7->4": 402.7, + "8->4": 405.5, + "9->4": 487.6, + "10->4": 490.8, + "7->5": 227.2 + } + }, + "Ge": { + "Z": 32, + "A": 72.63, + "Primary": { + "K(3->1)": 1776.3, + "L(3->2)": 403, + "L(4->2)": 411.3, + "M(4->3)": 141.1 + }, + "Secondary": { + "K(2->1)": 1767.1, + "K(4->1)": 2178.1, + "K(5->1)": 2319.1, + "K(6->1)": 2384.4, + "K(7->1)": 2419.5, + "K(8->1)": 2441, + "L(5->2)": 543.4, + "L(6->2)": 552.2, + "L(7->2)": 608.4, + "L(8->2)": 617.5, + "L(9->2)": 643.7, + "L(10->2)": 652.4, + "L(11->2)": 665.2, + "L(12->2)": 674.1, + "M(5->3)": 205.9, + "M(6->3)": 241.1, + "M(7->3)": 262.5, + "M(8->3)": 275.9, + "M(9->3)": 285.6 + } + }, + "H": { + "Z": 1, + "A": 1.008, + "Primary": null, + "Secondary": null + }, + "He": { + "Z": 2, + "A": 4.003, + "Primary": { + "K(2->1)": 8.22 + }, + "Secondary": { + "K(3->1)": 9.74, + "K(4->1)": 10.28, + "K(5->1)": 10.48 + } + }, + "Hf": { + "Z": 72, + "A": 178.49, + "Primary": { + "K(3->1)": 5070.5, + "L(7->2)": 1945.6, + "L(10->2)": 2072.7, + "L(11->2)": 2107.4, + "M(4->3)": 721.1, + "M(5->3)": 741.7, + "5->4": 331.6 + }, + "Secondary": { + "K(2->1)": 5038.4, + "K(4->1)": 5130.9, + "K(5->1)": 5163.3, + "K(6->1)": 5257.2, + "L(3->2)": 1858.5, + "L(4->2)": 1882.2, + "L(5->2)": 1895.5, + "L(6->2)": 1920.7, + "L(8->2)": 1977, + "L(9->2)": 2048.1, + "M(6->3)": 1050.5, + "M(7->3)": 1074.3, + "M(8->3)": 1230.1, + "M(9->3)": 1254.8, + "6->4": 335.5, + "7->4": 618.1, + "8->4": 623.2, + "6->5": 179.7, + "7->5": 287.6 + } + }, + "Hg": { + "Z": 80, + "A": 200.59, + "Primary": { + "K(2->1)": 5653.5, + "K(3->1)": 5825.6, + "L(4->2)": 2398, + "L(5->2)": 2533.6, + "M(4->3)": 892.8, + "M(5->3)": 923.4, + "5->4": 409.4, + "6->4": 415.2, + "6->5": 222.7 + }, + "Secondary": { + "L(3->2)": 2360.4, + "M(6->3)": 1301.1, + "M(7->3)": 1336.3, + "M(8->3)": 1520.4, + "M(9->3)": 1562.2, + "7->4": 630.6, + "8->4": 637.5, + "9->4": 764.7, + "10->4": 771.9, + "7->5": 356.1 + } + }, + "Ho": { + "Z": 67, + "A": 164.93, + "Primary": { + "K(3->1)": 4706.9, + "L(5->2)": 1702.4, + "L(6->2)": 1728.3, + "L(9->2)": 1853, + "M(4->3)": 620.5, + "M(5->3)": 626, + "M(6->3)": 636.3, + "M(7->3)": 642, + "5->4": 286.8, + "6->4": 289.7 + }, + "Secondary": { + "K(2->1)": 4677.9, + "K(4->1)": 4775.3, + "K(5->1)": 4850, + "K(6->1)": 4874.6, + "K(7->1)": 4895.2, + "K(8->1)": 4949.5, + "L(3->2)": 1660.4, + "L(4->2)": 1689.6, + "L(7->2)": 1781.7, + "L(8->2)": 1803, + "M(8->3)": 905.5, + "M(9->3)": 911.2, + "M(10->3)": 923.1, + "M(11->3)": 929.9, + "7->4": 441.6, + "8->4": 444.8, + "9->4": 534.4, + "10->4": 538.2, + "6->5": 154, + "7->5": 248.9 + } + }, + "I": { + "Z": 53, + "A": 126.9, + "Primary": { + "K(2->1)": 3667.4, + "K(3->1)": 3723.8, + "L(4->2)": 1100.5, + "L(5->2)": 1106.3, + "L(6->2)": 1150.5, + "M(4->3)": 388.3, + "M(5->3)": 394.3, + "5->4": 179.3 + }, + "Secondary": { + "K(4->1)": 4819.2, + "L(3->2)": 1091.6, + "L(7->2)": 1491.4, + "L(8->2)": 1541.4, + "M(6->3)": 566.7, + "M(7->3)": 573.5, + "6->4": 276.3, + "7->4": 334.5 + } + }, + "In": { + "Z": 49, + "A": 114.82, + "Primary": { + "K(3->1)": 3368.4, + "L(3->2)": 941.9, + "L(4->2)": 947.6, + "M(4->3)": 331.3, + "M(5->3)": 335.6, + "5->4": 152.7 + }, + "Secondary": { + "K(2->1)": 3324.7, + "K(4->1)": 4307.6, + "K(5->1)": 4641.1, + "L(5->2)": 982.9, + "L(6->2)": 1272.7, + "L(7->2)": 1278.4, + "L(8->2)": 1316.7, + "L(9->2)": 1424.9, + "L(10->2)": 1431.4, + "L(11->2)": 1470.2, + "M(6->3)": 484, + "M(7->3)": 488.9, + "M(8->3)": 567, + "M(9->3)": 571.9, + "6->4": 235.7, + "7->4": 285.7, + "6->5": 132.7, + "7->6": 82.5 + } + }, + "Ir": { + "Z": 77, + "A": 192.22, + "Primary": { + "K(3->1)": 5442.5, + "K(7->1)": 5610.5, + "L(4->2)": 2234.5, + "L(8->2)": 2369.3, + "M(4->3)": 825.7, + "M(5->3)": 852.1, + "5->4": 378, + "6->4": 383, + "6->5": 203.4 + }, + "Secondary": { + "K(2->1)": 5420.2, + "K(4->1)": 5472.2, + "K(5->1)": 5537.4, + "K(6->1)": 5550.4, + "K(8->1)": 5636.7, + "L(3->2)": 2212.6, + "L(5->2)": 2265.6, + "L(6->2)": 2291.8, + "L(7->2)": 2301.7, + "M(6->3)": 1204.6, + "M(7->3)": 1234.5, + "M(8->3)": 1409.9, + "M(9->3)": 1441.5, + "7->4": 583.2, + "8->4": 589.3, + "9->4": 706.8, + "10->4": 713.2, + "7->5": 327.3 + } + }, + "K": { + "Z": 19, + "A": 39.1, + "Primary": { + "K(2->1)": 713, + "L(3->2)": 141.1 + }, + "Secondary": { + "K(3->1)": 854.8, + "K(4->1)": 904.3, + "K(5->1)": 927.2, + "K(6->1)": 939.7, + "K(7->1)": 947.1, + "L(4->2)": 190.6, + "L(5->2)": 215.2, + "L(6->2)": 226.1, + "L(7->2)": 233.4, + "M(4->3)": 48.4, + "M(5->3)": 71.5, + "M(6->3)": 83.9, + "M(7->3)": 93.3 + } + }, + "Kr": { + "Z": 36, + "A": 83.8, + "Primary": null, + "Secondary": null + }, + "La": { + "Z": 57, + "A": 138.91, + "Primary": { + "K(3->1)": 4081.2, + "L(3->2)": 1270.3, + "L(4->2)": 1330.2, + "M(4->3)": 447.4, + "M(5->3)": 456.1, + "5->4": 208 + }, + "Secondary": { + "K(2->1)": 4011.6, + "K(4->1)": 5339.4, + "K(5->1)": 5350.1, + "L(5->2)": 1718.3, + "L(6->2)": 1784.3, + "L(7->2)": 1926.4, + "L(8->2)": 1993.1, + "M(6->3)": 654.8, + "M(7->3)": 664.2, + "M(8->3)": 767.2, + "M(9->3)": 777.2, + "6->4": 320.1, + "7->4": 387.7, + "6->5": 112.1, + "7->5": 179.7 + } + }, + "Li": { + "Z": 3, + "A": 6.96, + "Primary": { + "K(2->1)": 18.7 + }, + "Secondary": { + "K(3->1)": 22.1, + "K(4->1)": 23.3, + "K(5->1)": 24, + "L(3->2)": 3.4 + } + }, + "Lu": { + "Z": 71, + "A": 174.97, + "Primary": { + "K(3->1)": 4995.4, + "K(8->1)": 5159.4, + "L(6->2)": 1923.3, + "L(9->2)": 2061.5, + "M(4->3)": 697.8, + "M(5->3)": 704.1, + "5->4": 322.6 + }, + "Secondary": { + "K(2->1)": 4960.4, + "K(4->1)": 5050.1, + "K(5->1)": 5073.4, + "K(6->1)": 5105.1, + "K(7->1)": 5128.8, + "K(9->1)": 5186.4, + "K(10->1)": 5208.1, + "K(11->1)": 5241.6, + "L(3->2)": 1843.6, + "L(4->2)": 1884.6, + "L(5->2)": 1895.9, + "L(7->2)": 1981.1, + "L(8->2)": 2005, + "M(6->3)": 717.5, + "M(7->3)": 724.2, + "M(8->3)": 1018.2, + "M(9->3)": 1025, + "M(10->3)": 1040.8, + "M(11->3)": 1047.6, + "M(12->3)": 1193.5, + "M(13->3)": 1199.8, + "6->4": 326.2, + "7->4": 496.3, + "8->4": 500.5, + "9->4": 601.1, + "10->4": 605.6, + "6->5": 175.2, + "7->5": 280 + } + }, + "Mg": { + "Z": 12, + "A": 24.3, + "Primary": { + "K(2->1)": 296.5, + "L(3->2)": 56.2 + }, + "Secondary": { + "K(3->1)": 352.6, + "K(4->1)": 372.3, + "K(5->1)": 381.4, + "K(6->1)": 386.3, + "K(7->1)": 389.4, + "L(4->2)": 75.7, + "L(5->2)": 84.8, + "L(6->2)": 89.6, + "L(7->2)": 93, + "M(4->3)": 19.5, + "M(5->3)": 28.6 + } + }, + "Mn": { + "Z": 25, + "A": 54.94, + "Primary": { + "K(3->1)": 1174.2, + "L(3->2)": 245.5, + "L(4->2)": 248.8 + }, + "Secondary": { + "K(2->1)": 1170.6, + "K(4->1)": 1419.3, + "K(5->1)": 1505.3, + "K(6->1)": 1545.1, + "K(7->1)": 1566.8, + "K(8->1)": 1579.7, + "L(5->2)": 331.2, + "L(6->2)": 334.7, + "L(7->2)": 370.9, + "L(8->2)": 374.5, + "L(9->2)": 392.5, + "L(10->2)": 396, + "L(11->2)": 405.6, + "L(12->2)": 409.2, + "M(4->3)": 85.1, + "M(5->3)": 125, + "M(6->3)": 146.6, + "M(7->3)": 159.1, + "M(8->3)": 168, + "M(9->3)": 173.6 + } + }, + "Mo": { + "Z": 42, + "A": 95.95, + "Primary": { + "K(6->1)": 2708.1, + "L(3->2)": 695, + "L(4->2)": 717.3, + "M(4->3)": 243.1, + "5->4": 112.6 + }, + "Secondary": { + "K(2->1)": 2674, + "K(3->1)": 2683.5, + "K(4->1)": 2689.1, + "K(5->1)": 2697.8, + "K(7->1)": 2714.2, + "K(8->1)": 2721.1, + "K(9->1)": 2732.3, + "K(10->1)": 3408.1, + "K(11->1)": 3647.9, + "L(5->2)": 937.3, + "L(6->2)": 961.2, + "L(7->2)": 1049.5, + "L(8->2)": 1073.9, + "L(9->2)": 1110.6, + "L(10->2)": 1136, + "L(11->2)": 1147.7, + "L(12->2)": 1171.3, + "M(5->3)": 245.4, + "M(6->3)": 355, + "M(7->3)": 357.5, + "M(8->3)": 415.7, + "M(9->3)": 418.4, + "M(10->3)": 454.6, + "M(11->3)": 477.2, + "M(12->3)": 492.5, + "6->4": 173.4, + "7->4": 210, + "8->4": 233.3, + "9->4": 249.4 + } + }, + "N": { + "Z": 7, + "A": 14.01, + "Primary": { + "K(2->1)": 101.9, + "L(3->2)": 19.2 + }, + "Secondary": { + "K(3->1)": 121.1, + "K(4->1)": 127.6, + "K(5->1)": 131, + "K(6->1)": 132.7, + "L(4->2)": 25.7 + } + }, + "Na": { + "Z": 11, + "A": 22.99, + "Primary": { + "K(2->1)": 249.9, + "L(3->2)": 47.3 + }, + "Secondary": { + "K(3->1)": 297.2, + "K(4->1)": 313.7, + "K(5->1)": 321.4, + "K(6->1)": 326, + "L(4->2)": 63.8, + "L(5->2)": 71.5, + "M(4->3)": 16.5, + "M(5->3)": 24.2 + } + }, + "Nb": { + "Z": 41, + "A": 92.91, + "Primary": { + "K(3->1)": 2629.5, + "L(3->2)": 662.9, + "L(4->2)": 683.7, + "M(4->3)": 231.4 + }, + "Secondary": { + "K(2->1)": 2606.3, + "K(4->1)": 3288.7, + "K(5->1)": 3522.7, + "K(6->1)": 3632.2, + "K(7->1)": 3687.7, + "L(5->2)": 894.2, + "L(6->2)": 916.3, + "L(7->2)": 934.5, + "L(8->2)": 1001.5, + "L(9->2)": 1024.4, + "L(10->2)": 1059.5, + "L(11->2)": 1082.4, + "M(5->3)": 235.5, + "M(6->3)": 238.3, + "M(7->3)": 338.4, + "M(8->3)": 340.9, + "M(9->3)": 345.4, + "5->4": 106.5, + "6->4": 164.7, + "7->4": 199.8, + "8->4": 222.4, + "9->4": 238 + } + }, + "Nd": { + "Z": 60, + "A": 144.24, + "Primary": { + "K(3->1)": 4256, + "K(8->1)": 4337.5, + "K(9->1)": 4362.2, + "L(3->2)": 1403.8, + "L(4->2)": 1473.1, + "M(4->3)": 498.7, + "M(5->3)": 508.8, + "5->4": 230.4 + }, + "Secondary": { + "K(2->1)": 4241, + "K(4->1)": 4266.2, + "K(5->1)": 4272.4, + "K(6->1)": 4304.4, + "K(7->1)": 4322.5, + "L(5->2)": 1900.4, + "L(6->2)": 1977.7, + "L(7->2)": 2131.1, + "L(8->2)": 2209.6, + "L(9->2)": 2254.5, + "L(10->2)": 2336.1, + "M(6->3)": 727.1, + "M(7->3)": 738.6, + "M(8->3)": 852.3, + "M(9->3)": 863.7, + "M(10->3)": 927.2, + "M(11->3)": 937.7, + "6->4": 354.6, + "7->4": 430.8, + "6->5": 124.4, + "7->5": 199.4 + } + }, + "Ne": { + "Z": 10, + "A": 20.18, + "Primary": { + "K(2->1)": 207.7, + "L(3->2)": 38.8 + }, + "Secondary": { + "K(3->1)": 246.6, + "K(4->1)": 260.3, + "K(5->1)": 266.5, + "L(4->2)": 52.6, + "M(4->3)": 13.8 + } + }, + "Ni": { + "Z": 28, + "A": 58.69, + "Primary": { + "K(3->1)": 1432.4, + "L(3->2)": 308.4, + "L(4->2)": 313.3, + "M(4->3)": 107.9, + "M(5->3)": 157.7, + "6->4": 76.6, + "7->4": 93.1 + }, + "Secondary": { + "K(2->1)": 1427.2, + "K(4->1)": 1739.6, + "K(5->1)": 1847.6, + "K(6->1)": 1897.6, + "K(7->1)": 1924.5, + "K(8->1)": 1941.4, + "L(5->2)": 415.7, + "L(6->2)": 420.9, + "L(7->2)": 465.4, + "L(8->2)": 470.8, + "L(9->2)": 492.3, + "L(10->2)": 497.9, + "L(11->2)": 508.8, + "L(12->2)": 513.7, + "M(6->3)": 184.6, + "M(7->3)": 200.8, + "M(8->3)": 211.3, + "M(9->3)": 218.5, + "M(10->3)": 223.5, + "5->4": 49.8 + } + }, + "O": { + "Z": 8, + "A": 16, + "Primary": { + "K(2->1)": 133.5, + "L(3->2)": 24.9 + }, + "Secondary": { + "K(3->1)": 158.4, + "K(4->1)": 167.1, + "K(5->1)": 171.1, + "K(6->1)": 173.3, + "K(7->1)": 175, + "L(4->2)": 33.6, + "L(5->2)": 37.6, + "L(6->2)": 39.9, + "L(7->2)": 41.4 + } + }, + "Os": { + "Z": 76, + "A": 190.23, + "Primary": { + "K(2->1)": 5369.2, + "K(3->1)": 5499.1, + "L(5->2)": 2207.6, + "L(8->2)": 2314, + "M(4->3)": 804.7, + "M(5->3)": 829.9, + "5->4": 370.2, + "6->4": 374.8, + "6->5": 200.7 + }, + "Secondary": { + "L(3->2)": 2117.4, + "L(4->2)": 2128.8, + "L(6->2)": 2217.6, + "L(7->2)": 2237.4, + "M(6->3)": 1173.5, + "M(7->3)": 1201.7, + "7->4": 569.5, + "8->4": 574.8, + "9->4": 689.5, + "10->4": 695.4, + "7->5": 321.3 + } + }, + "P": { + "Z": 15, + "A": 30.97, + "Primary": { + "K(2->1)": 456.9, + "L(3->2)": 87.8 + }, + "Secondary": { + "K(3->1)": 545.1, + "K(4->1)": 575.9, + "K(5->1)": 590.1, + "K(6->1)": 597.8, + "K(7->1)": 602.6, + "L(4->2)": 118.2, + "L(5->2)": 132.9, + "L(6->2)": 140.3, + "L(7->2)": 145, + "M(4->3)": 29.5, + "M(5->3)": 43.9, + "M(6->3)": 51.6 + } + }, + "Pb": { + "Z": 82, + "A": 207.2, + "Primary": { + "K(2->1)": 5776.8, + "K(3->1)": 5784.5, + "K(4->1)": 5961.9, + "K(5->1)": 5970.8, + "L(3->2)": 2501.1, + "L(4->2)": 2643.1, + "M(4->3)": 936.7, + "M(5->3)": 970.7, + "5->4": 430.8, + "6->4": 437.1, + "6->5": 233.7 + }, + "Secondary": { + "L(5->2)": 3430.5, + "L(6->2)": 3598, + "M(6->3)": 1365, + "M(7->3)": 1403.8, + "M(8->3)": 1579.6, + "M(9->3)": 1637.4, + "7->4": 662.4, + "8->4": 669.9, + "9->4": 801.2, + "10->4": 809.9, + "7->5": 373.1, + "8->5": 351 + } + }, + "Pd": { + "Z": 46, + "A": 106.42, + "Primary": { + "K(7->1)": 3087.6, + "L(3->2)": 833.6, + "L(4->2)": 864.2, + "M(4->3)": 291.6, + "5->4": 134.2 + }, + "Secondary": { + "K(2->1)": 3039.2, + "K(3->1)": 3045.4, + "K(4->1)": 3054.1, + "K(5->1)": 3074, + "K(6->1)": 3081.4, + "K(8->1)": 3095.1, + "K(9->1)": 3914.8, + "L(5->2)": 1124.9, + "L(6->2)": 1158, + "L(7->2)": 1260, + "L(8->2)": 1293.9, + "M(5->3)": 295, + "M(6->3)": 426.2, + "M(7->3)": 429.9, + "M(8->3)": 499.1, + "M(9->3)": 502.8, + "M(10->3)": 542.4, + "M(11->3)": 546.6, + "M(12->3)": 591.6, + "6->4": 207.4, + "7->4": 251.6 + } + }, + "Pm": { + "Z": 61, + "A": null, + "Primary": null, + "Secondary": null + }, + "Pr": { + "Z": 59, + "A": 140.91, + "Primary": { + "K(2->1)": 4185.9, + "K(3->1)": 4263.6, + "L(3->2)": 1359.1, + "M(4->3)": 482, + "M(5->3)": 491.3, + "5->4": 222.7 + }, + "Secondary": { + "K(4->1)": 5610.1, + "L(4->2)": 1425.3, + "L(5->2)": 1839.8, + "L(6->2)": 1912.3, + "L(7->2)": 2061.8, + "L(8->2)": 2131.4, + "M(6->3)": 703, + "M(7->3)": 713.7, + "M(8->3)": 823.5, + "M(9->3)": 834.3, + "M(10->3)": 895.5, + "M(11->3)": 907.2, + "6->4": 342.9, + "7->4": 415.4, + "6->5": 120, + "7->5": 192.5 + } + }, + "Pt": { + "Z": 78, + "A": 195.08, + "Primary": { + "K(2->1)": 5515.7, + "K(3->1)": 5676.4, + "L(3->2)": 2295, + "L(4->2)": 2420.1, + "M(4->3)": 847.8, + "M(5->3)": 875.6, + "5->4": 389.7, + "6->4": 394.9, + "6->5": 211.5 + }, + "Secondary": { + "K(4->1)": 7951.2, + "L(5->2)": 3137.4, + "L(6->2)": 3281.5, + "M(6->3)": 1235.6, + "M(7->3)": 1267.4, + "M(8->3)": 1445.7, + "M(9->3)": 1479.1, + "7->4": 699.7, + "8->4": 605.7, + "9->4": 726, + "10->4": 732.3, + "7->5": 337.9 + } + }, + "Rb": { + "Z": 37, + "A": 85.47, + "Primary": { + "K(3->1)": 2245, + "L(3->2)": 539.2, + "L(4->2)": 553.6, + "M(4->3)": 189.3 + }, + "Secondary": { + "K(2->1)": 2229.2, + "K(4->1)": 2782.2, + "K(5->1)": 2971.4, + "K(6->1)": 3063.2, + "K(7->1)": 3108.3, + "L(5->2)": 727.2, + "L(6->2)": 741.5, + "L(7->2)": 814, + "L(8->2)": 829.8, + "M(5->3)": 275.9, + "M(6->3)": 322.9, + "M(7->3)": 351.7 + } + }, + "Re": { + "Z": 75, + "A": 186.21, + "Primary": { + "K(3->1)": 5291.3, + "K(7->1)": 5462.4, + "L(4->2)": 2099.7, + "L(5->2)": 2127.9, + "L(10->2)": 2266.6, + "M(4->3)": 780.8, + "M(5->3)": 8785.9, + "M(6->3)": 805.1, + "M(7->3)": 810.5, + "5->4": 360.4, + "6->4": 364.9, + "6->5": 195.2 + }, + "Secondary": { + "K(2->1)": 5251.3, + "K(4->1)": 5331.2, + "K(5->1)": 5346, + "K(6->1)": 5384.8, + "K(8->1)": 5486.1, + "K(9->1)": 5498.4, + "K(10->1)": 5509.8, + "K(11->1)": 7586.1, + "L(3->2)": 2025.4, + "L(6->2)": 2169.1, + "L(7->2)": 2179.6, + "L(8->2)": 2201.2, + "L(9->2)": 2210.4, + "M(8->3)": 1139.6, + "M(9->3)": 1145, + "M(10->3)": 1167.5, + "M(11->3)": 1173, + "7->4": 554.4, + "8->4": 559.6, + "9->4": 671.1, + "10->4": 676.7, + "7->5": 312.3 + } + }, + "Rh": { + "Z": 45, + "A": 102.91, + "Primary": { + "K(2->1)": 2962.5, + "K(3->1)": 2994.5, + "K(6->1)": 4066.5, + "L(3->2)": 797.7, + "L(4->2)": 825.7, + "M(4->3)": 279.3, + "M(5->3)": 282.3, + "5->4": 129.3 + }, + "Secondary": { + "K(4->1)": 3779.7, + "K(5->1)": 3789.2, + "K(7->1)": 4196.7, + "K(8->1)": 4266.1, + "L(5->2)": 1075.9, + "L(6->2)": 1105.4, + "L(7->2)": 1204.6, + "L(8->2)": 1235.5, + "M(6->3)": 407.8, + "M(7->3)": 411.1, + "M(8->3)": 520.8, + "M(9->3)": 547.2, + "6->4": 199, + "7->4": 241.3, + "8->4": 268.7 + } + }, + "Ru": { + "Z": 44, + "A": 101.07, + "Primary": { + "K(6->1)": 2897.1, + "L(3->2)": 763.3, + "L(4->2)": 789.5, + "M(4->3)": 266.9, + "M(5->3)": 269.7, + "5->4": 123.1 + }, + "Secondary": { + "K(2->1)": 2859.2, + "K(3->1)": 2867.5, + "K(4->1)": 2873.9, + "K(5->1)": 2888.8, + "K(7->1)": 2904.7, + "K(8->1)": 2910.9, + "K(9->1)": 2922.7, + "K(10->1)": 3658.5, + "L(5->2)": 1029.8, + "L(6->2)": 1058.3, + "L(7->2)": 1153.3, + "L(8->2)": 1182.3, + "L(9->2)": 1220.3, + "L(10->2)": 1248.7, + "L(11->2)": 1260.7, + "L(12->2)": 1290.1, + "M(6->3)": 390.1, + "M(7->3)": 393.2, + "M(8->3)": 456.6, + "M(9->3)": 460.1, + "M(10->3)": 497.5, + "M(11->3)": 500.7, + "6->4": 190, + "7->4": 230.1 + } + }, + "S": { + "Z": 16, + "A": 32.07, + "Primary": { + "K(2->1)": 516.4, + "L(3->2)": 99.7 + }, + "Secondary": { + "K(3->1)": 616.7, + "K(4->1)": 651.7, + "K(5->1)": 667.9, + "K(6->1)": 676.7, + "K(7->1)": 682.1, + "K(8->1)": 685.8, + "L(4->2)": 134.8, + "L(5->2)": 151, + "L(6->2)": 159.8, + "L(7->2)": 165.1, + "M(4->3)": 33.8, + "M(5->3)": 50.1, + "M(6->3)": 59, + "M(7->3)": 64.3 + } + }, + "Sb": { + "Z": 51, + "A": 121.76, + "Primary": { + "K(3->1)": 3546.5, + "L(3->2)": 1019.1, + "L(4->2)": 1025.2, + "M(4->3)": 359.3, + "M(5->3)": 364.4, + "5->4": 165.6 + }, + "Secondary": { + "K(2->1)": 3497.6, + "K(4->1)": 4563.1, + "K(5->1)": 4923.9, + "L(5->2)": 1065.8, + "L(6->2)": 1379.7, + "L(7->2)": 1428, + "M(6->3)": 524.8, + "M(7->3)": 530.6, + "M(8->3)": 614.8, + "M(9->3)": 620.5, + "6->4": 255.6, + "7->4": 309.7 + } + }, + "Sc": { + "Z": 21, + "A": 44.96, + "Primary": { + "K(2->1)": 856.1, + "L(3->2)": 173.5 + }, + "Secondary": { + "K(3->1)": 1029.3, + "K(4->1)": 1089.8, + "K(5->1)": 1117.7, + "K(6->1)": 1133, + "K(7->1)": 1142, + "L(4->2)": 233.8, + "L(5->2)": 261.6, + "L(6->2)": 276.7, + "L(7->2)": 285.8, + "M(4->3)": 60.4, + "M(5->3)": 89.1, + "M(6->3)": 102.8, + "M(7->3)": 112.6 + } + }, + "Se": { + "Z": 34, + "A": 78.97, + "Primary": { + "K(3->1)": 1956.9, + "L(3->2)": 455.6, + "L(4->2)": 466, + "M(4->3)": 158.6 + }, + "Secondary": { + "K(2->1)": 1945.3, + "K(4->1)": 2410.3, + "K(5->1)": 2570.9, + "K(6->1)": 2645.7, + "K(7->1)": 2686.5, + "K(8->1)": 2710.8, + "K(9->1)": 2726.8, + "K(10->1)": 2737.6, + "L(5->2)": 614.5, + "L(6->2)": 625.7, + "L(7->2)": 688.2, + "L(8->2)": 699.5, + "L(9->2)": 728.2, + "L(10->2)": 739, + "L(11->2)": 752.2, + "L(12->2)": 763.3, + "M(5->3)": 232.3, + "M(6->3)": 272.3, + "M(7->3)": 296.3 + } + }, + "Si": { + "Z": 14, + "A": 28.08, + "Primary": { + "K(2->1)": 400.1, + "L(3->2)": 76.6 + }, + "Secondary": { + "K(3->1)": 476.7, + "K(4->1)": 503.5, + "K(5->1)": 515.8, + "K(6->1)": 522.5, + "K(7->1)": 526.6, + "L(4->2)": 103.5, + "L(5->2)": 115.8, + "L(6->2)": 122.4, + "L(7->2)": 126.7, + "M(4->3)": 26.9, + "M(5->3)": 39.2 + } + }, + "Sm": { + "Z": 62, + "A": 150.36, + "Primary": { + "K(7->1)": 4502.7, + "L(6->2)": 1496.1, + "L(9->2)": 1572.1, + "M(4->3)": 530.9, + "M(5->3)": 542.2, + "5->4": 245.3, + "6->4": 247.4, + "6->5": 133.1 + }, + "Secondary": { + "K(2->1)": 4307, + "K(3->1)": 4342.1, + "K(4->1)": 4360.9, + "K(5->1)": 4407.9, + "K(6->1)": 4478.1, + "K(8->1)": 4533.3, + "L(3->2)": 1442.8, + "L(4->2)": 1460.9, + "L(5->2)": 1481.9, + "L(7->2)": 1523.2, + "L(8->2)": 1547.6, + "L(10->2)": 1681.2, + "M(6->3)": 776.2, + "M(7->3)": 789.5, + "M(8->3)": 910.1, + "M(9->3)": 922.9, + "7->4": 377.9, + "8->4": 380.4, + "9->4": 457.7, + "10->4": 460.5, + "7->5": 212.6 + } + }, + "Sn": { + "Z": 50, + "A": 118.71, + "Primary": { + "K(3->1)": 3458.6, + "L(3->2)": 982.5, + "L(4->2)": 1022.4, + "M(4->3)": 345.3, + "M(5->3)": 349.9, + "5->4": 159.8 + }, + "Secondary": { + "K(2->1)": 3413.1, + "K(4->1)": 4434.5, + "K(5->1)": 4779.9, + "L(5->2)": 1326.4, + "L(6->2)": 1369.8, + "L(7->2)": 1485, + "L(8->2)": 1530.3, + "M(6->3)": 504, + "M(7->3)": 510.6, + "M(8->3)": 590.1, + "M(9->3)": 595.9, + "6->4": 245.8, + "7->4": 297.6 + } + }, + "Sr": { + "Z": 38, + "A": 87.62, + "Primary": { + "K(3->1)": 2343.2, + "L(3->2)": 569, + "L(4->2)": 584.6, + "M(4->3)": 199.5 + }, + "Secondary": { + "K(2->1)": 2326.3, + "K(4->1)": 2909.7, + "K(5->1)": 3108.7, + "K(6->1)": 3200.5, + "L(5->2)": 767.2, + "L(6->2)": 784.3, + "L(7->2)": 858.8, + "L(8->2)": 876.3, + "L(9->2)": 908.8, + "L(10->2)": 926.7, + "M(5->3)": 291.2, + "M(6->3)": 340.9, + "M(7->3)": 370.9 + } + }, + "Ta": { + "Z": 73, + "A": 180.95, + "Primary": { + "K(3->1)": 5137.2, + "L(3->2)": 1987.8, + "L(4->2)": 2011.2, + "L(8->2)": 2100.2, + "L(9->2)": 2164.6, + "M(4->3)": 738.3, + "M(5->3)": 744.7, + "M(6->3)": 760, + "M(7->3)": 767, + "5->4": 341.2, + "6->4": 345.3, + "6->5": 185 + }, + "Secondary": { + "K(2->1)": 5093.5, + "K(4->1)": 5189.4, + "K(5->1)": 5202.8, + "K(6->1)": 5231.1, + "K(7->1)": 5268.9, + "K(8->1)": 5305.3, + "K(9->1)": 5323.2, + "K(10->1)": 5340.2, + "K(11->1)": 5354.4, + "L(5->2)": 2027.2, + "L(6->2)": 2069.3, + "L(7->2)": 2079.6, + "L(10->2)": 2178.8, + "M(8->3)": 1077.2, + "M(9->3)": 1083.9, + "M(10->3)": 1101.9, + "M(11->3)": 1108.9, + "7->4": 525, + "8->4": 529.8, + "9->4": 635.6, + "10->4": 640.9, + "7->5": 295.8, + "8->6": 215, + "9->6": 268 + } + }, + "Tb": { + "Z": 65, + "A": 158.93, + "Primary": { + "K(4->1)": 4570.3, + "K(7->1)": 4706.1, + "L(3->2)": 1580, + "L(5->2)": 1614.2, + "L(10->2)": 1741.7, + "M(4->3)": 586.4, + "M(5->3)": 600.6, + "5->4": 270, + "6->4": 272.6, + "6->5": 146.8 + }, + "Secondary": { + "K(2->1)": 4516.7, + "K(3->1)": 4548.5, + "K(5->1)": 4606.9, + "K(6->1)": 4653.4, + "K(8->1)": 4737.5, + "K(9->1)": 4747.6, + "L(4->2)": 1595.4, + "L(6->2)": 1623, + "L(7->2)": 1670.7, + "L(8->2)": 1698, + "L(9->2)": 1720.1, + "M(6->3)": 855.5, + "M(7->3)": 871.7, + "M(8->3)": 1002.1, + "M(9->3)": 1018.3, + "7->4": 415.6, + "8->4": 418.6, + "9->4": 503.2, + "10->4": 506.6, + "7->5": 234.4, + "8->5": 290.9 + } + }, + "Tc": { + "Z": 43, + "A": null, + "Primary": null, + "Secondary": null + }, + "Te": { + "Z": 52, + "A": 127.6, + "Primary": { + "K(3->1)": 3628.6, + "L(3->2)": 1062.2, + "L(4->2)": 1107.1, + "M(4->3)": 373.7, + "M(5->3)": 379.3, + "5->4": 172.3 + }, + "Secondary": { + "K(2->1)": 3576.6, + "K(4->1)": 4682.8, + "L(5->2)": 1434.4, + "L(6->2)": 1484, + "L(7->2)": 1604, + "L(8->2)": 1655.5, + "M(6->3)": 545.7, + "M(7->3)": 552, + "M(8->3)": 639.6, + "M(9->3)": 645.5, + "M(10->3)": 695.2, + "M(11->3)": 702.6, + "6->4": 266, + "7->4": 321.6 + } + }, + "Th": { + "Z": 90, + "A": 232.04, + "Primary": { + "K(2->1)": 6050.4, + "K(3->1)": 6069.5, + "K(4->1)": 6302.8, + "L(4->2)": 3125.2, + "L(5->2)": 3147.3, + "M(4->3)": 1124.9, + "M(5->3)": 1142.4, + "M(6->3)": 1184.2, + "5->4": 520.1, + "6->4": 529.4, + "6->5": 281.4, + "7->5": 283.9 + }, + "Secondary": { + "K(5->1)": 6350.4, + "K(6->1)": 6379.1, + "K(7->1)": 6404.2, + "K(8->1)": 6452.3, + "L(3->2)": 3093.1, + "M(7->3)": 1644.7, + "M(8->3)": 1661.3, + "M(9->3)": 1710.2, + "7->4": 799.1, + "8->4": 810.2, + "9->4": 967.7, + "10->4": 979.2, + "8->5": 449.6, + "7->6": 452.8 + } + }, + "Ti": { + "Z": 22, + "A": 47.87, + "Primary": { + "K(2->1)": 931.8, + "L(3->2)": 189.6, + "L(4->2)": 191.5, + "M(4->3)": 65.4 + }, + "Secondary": { + "K(3->1)": 1121.9, + "K(4->1)": 1188.4, + "K(5->1)": 1219, + "K(6->1)": 1235.7, + "K(7->1)": 1245.7, + "L(5->2)": 255.9, + "L(6->2)": 258, + "L(7->2)": 286.6, + "L(8->2)": 288.6, + "L(9->2)": 303.2, + "L(10->2)": 305.4, + "L(11->2)": 313.3, + "L(12->2)": 315.6, + "M(5->3)": 96.3, + "M(6->3)": 113, + "M(7->3)": 123.1 + } + }, + "Tl": { + "Z": 81, + "A": 204.38, + "Primary": { + "K(2->1)": 5714.9, + "K(3->1)": 5895, + "L(3->2)": 2450.9, + "L(4->2)": 2589.5, + "M(4->3)": 914.9, + "M(5->3)": 947.4, + "5->4": 420.9, + "6->4": 426.9, + "6->5": 228 + }, + "Secondary": { + "K(4->1)": 8338, + "L(5->2)": 3356.9, + "L(6->2)": 3518.7, + "M(6->3)": 1333.8, + "M(7->3)": 1370.3, + "M(8->3)": 1563.2, + "M(9->3)": 1600.2, + "7->4": 647.2, + "8->4": 654.4, + "9->4": 783.7, + "10->4": 791.4, + "7->5": 364.5 + } + }, + "Tm": { + "Z": 69, + "A": 168.93, + "Primary": { + "K(3->1)": 4843.1, + "K(4->1)": 4861.6, + "K(6->1)": 4999.8, + "K(7->1)": 5046.4, + "L(3->2)": 1773.6, + "L(4->2)": 1781.6, + "L(6->2)": 1825.7, + "L(7->2)": 1905.8, + "L(8->2)": 1947.1, + "L(9->2)": 1960.5, + "M(4->3)": 662.5, + "M(5->3)": 680.4, + "5->4": 304.5 + }, + "Secondary": { + "K(2->1)": 4805.3, + "K(5->1)": 4927.7, + "L(5->2)": 1796.1, + "M(6->3)": 965.3, + "M(7->3)": 985.2, + "M(8->3)": 1130.4, + "M(9->3)": 1151.2, + "6->4": 307.7, + "7->4": 468.6, + "8->4": 472.3, + "9->4": 567.5, + "10->4": 571.6, + "6->5": 165.6, + "7->5": 264.3 + } + }, + "V": { + "Z": 23, + "A": 50.94, + "Primary": { + "K(2->1)": 1010.7, + "L(3->2)": 207.4, + "L(4->2)": 209.8, + "M(4->3)": 71.7, + "5->4": 32.4 + }, + "Secondary": { + "K(3->1)": 1219.2, + "K(4->1)": 1292.4, + "K(5->1)": 1325.7, + "K(6->1)": 1343.8, + "K(7->1)": 1354.9, + "L(5->2)": 280, + "L(6->2)": 282.4, + "L(7->2)": 313.5, + "L(8->2)": 316, + "L(9->2)": 331.6, + "L(10->2)": 334.3, + "L(11->2)": 342.3, + "L(12->2)": 345.2, + "M(5->3)": 105.4, + "M(6->3)": 123.8, + "M(7->3)": 134.5, + "M(8->3)": 141.9, + "6->4": 50.6, + "7->4": 61.7 + } + }, + "W": { + "Z": 74, + "A": 183.84, + "Primary": { + "K(3->1)": 5220.6, + "K(7->1)": 5411.8, + "L(3->2)": 2048.1, + "L(7->2)": 2210.5, + "M(4->3)": 762.7, + "M(5->3)": 785.1, + "5->4": 350.5, + "6->4": 354.7, + "6->5": 190.3 + }, + "Secondary": { + "K(2->1)": 5186.8, + "K(4->1)": 5284.2, + "K(5->1)": 5299.4, + "K(6->1)": 5318.9, + "L(4->2)": 2148.9, + "L(5->2)": 2161.8, + "L(6->2)": 2173.6, + "M(6->3)": 1111.5, + "M(7->3)": 1137, + "M(8->3)": 1300.4, + "M(9->3)": 1327.8, + "7->4": 539.3, + "8->4": 544.3, + "9->4": 653, + "10->4": 658.4, + "7->5": 304.1 + } + }, + "Xe": { + "Z": 54, + "A": 131.29, + "Primary": null, + "Secondary": null + }, + "Y": { + "Z": 39, + "A": 88.91, + "Primary": { + "K(3->1)": 2441.1, + "L(3->2)": 599.9, + "L(4->2)": 617.2, + "M(4->3)": 209.9, + "5->4": 96.3 + }, + "Secondary": { + "K(2->1)": 2421.8, + "K(4->1)": 3039.5, + "K(5->1)": 3251.2, + "K(6->1)": 3348.3, + "L(5->2)": 809, + "L(6->2)": 827.6, + "L(7->2)": 906, + "L(8->2)": 924.9, + "L(9->2)": 977.8, + "L(10->2)": 990.6, + "L(11->2)": 1009.2, + "M(5->3)": 306.6, + "M(6->3)": 359.1, + "M(7->3)": 390.7, + "M(8->3)": 410.8, + "M(9->3)": 424.9, + "6->4": 148.8, + "7->4": 180.6, + "8->4": 201 + } + }, + "Yb": { + "Z": 70, + "A": 173.05, + "Primary": { + "K(2->1)": 4890.1, + "K(3->1)": 4922.4, + "K(6->1)": 5105.9, + "L(3->2)": 1845.9, + "L(4->2)": 1982.8, + "L(5->2)": 2006.4, + "M(4->3)": 681.7, + "M(5->3)": 699.9, + "5->4": 313.7, + "6->4": 317.1 + }, + "Secondary": { + "K(4->1)": 4968.2, + "K(5->1)": 5050.5, + "M(6->3)": 993.6, + "M(7->3)": 1014.2, + "M(8->3)": 1162.8, + "M(9->3)": 1184.6, + "7->4": 482.5, + "8->4": 486.6, + "9->4": 585, + "10->4": 588.6, + "6->5": 170.2, + "7->5": 272.4 + } + }, + "Zn": { + "Z": 30, + "A": 65.38, + "Primary": { + "K(3->1)": 1602.9, + "L(3->2)": 354.2, + "L(4->2)": 360.8, + "M(4->3)": 123.3, + "M(5->3)": 180.5, + "5->4": 56.3 + }, + "Secondary": { + "K(2->1)": 1595.7, + "K(4->1)": 1956, + "K(5->1)": 2080.3, + "K(6->1)": 2137.8, + "K(7->1)": 2169.1, + "K(8->1)": 2187.2, + "L(5->2)": 477.8, + "L(6->2)": 484.8, + "L(7->2)": 535, + "L(8->2)": 542.1, + "L(9->2)": 566.2, + "L(10->2)": 573.3, + "L(11->2)": 584.9, + "L(12->2)": 592.1, + "M(6->3)": 211.7, + "M(7->3)": 230.4, + "M(8->3)": 242.3, + "M(9->3)": 250.4, + "6->4": 88.2, + "7->4": 106, + "8->4": 118.7 + } + }, + "Zr": { + "Z": 40, + "A": 91.22, + "Primary": { + "K(4->1)": 2515.3, + "K(7->1)": 2536.4, + "L(3->2)": 630.5, + "L(4->2)": 649.3, + "M(4->3)": 220.8, + "M(5->3)": 222.7 + }, + "Secondary": { + "K(2->1)": 2501.3, + "K(3->1)": 2507.1, + "K(5->1)": 2522.3, + "K(6->1)": 2528.1, + "K(8->1)": 3161.2, + "K(9->1)": 3384.3, + "K(10->1)": 3482.3, + "L(5->2)": 850.2, + "L(6->2)": 870.4, + "L(7->2)": 952.2, + "L(8->2)": 972.6, + "L(9->2)": 1007.1, + "L(10->2)": 1028.4, + "L(11->2)": 1040.2, + "L(12->2)": 1061.3, + "M(6->3)": 322.1, + "M(7->3)": 324.2, + "M(8->3)": 377.1, + "M(9->3)": 379.2, + "M(10->3)": 410.3, + "M(11->3)": 412.5, + "5->4": 102.7, + "6->4": 157.7, + "7->4": 190.8, + "8->4": 212.4 + } + }, + "Electrons": { + "72.8": 0.59, + "75.0": 1, + "84.45": 0.12, + "84.94": 0.22, + "87.3": 0.1 + }, + "Gammas": { + "Mn": { + "g54Mn25 (1)": 54.5, + "g54Mn25 (2)": 156.2, + "g54Mn25 (3)": 212, + "g54Mn25 (4)": 251.6, + "g54Mn25 (5)": 376.9, + "g55Mn25": 126 }, "Ge": { - "Z": 32, - "A": 72.63, - "Primary": { - "K(3->1)": 1776.3, - "L(3->2)": 403, - "L(4->2)": 411.3, - "M(4->3)": 141.1 - }, - "Secondary": { - "K(2->1)": 1767.1, - "K(4->1)": 2178.1, - "K(5->1)": 2319.1, - "K(6->1)": 2384.4, - "K(7->1)": 2419.5, - "K(8->1)": 2441, - "L(5->2)": 543.4, - "L(6->2)": 552.2, - "L(7->2)": 608.4, - "L(8->2)": 617.5, - "L(9->2)": 643.7, - "L(10->2)": 652.4, - "L(11->2)": 665.2, - "L(12->2)": 674.1, - "M(5->3)": 205.9, - "M(6->3)": 241.1, - "M(7->3)": 262.5, - "M(8->3)": 275.9, - "M(9->3)": 285.6 - } - }, - "H": { - "Z": 1, - "A": 1.008, - "Primary": null, - "Secondary": null - }, - "He": { - "Z": 2, - "A": 4.003, - "Primary": { - "K(2->1)": 8.22 - }, - "Secondary": { - "K(3->1)": 9.74, - "K(4->1)": 10.28, - "K(5->1)": 10.48 - } - }, - "Hf": { - "Z": 72, - "A": 178.49, - "Primary": { - "K(3->1)": 5070.5, - "L(7->2)": 1945.6, - "L(10->2)": 2072.7, - "L(11->2)": 2107.4, - "M(4->3)": 721.1, - "M(5->3)": 741.7, - "5->4": 331.6 - }, - "Secondary": { - "K(2->1)": 5038.4, - "K(4->1)": 5130.9, - "K(5->1)": 5163.3, - "K(6->1)": 5257.2, - "L(3->2)": 1858.5, - "L(4->2)": 1882.2, - "L(5->2)": 1895.5, - "L(6->2)": 1920.7, - "L(8->2)": 1977, - "L(9->2)": 2048.1, - "M(6->3)": 1050.5, - "M(7->3)": 1074.3, - "M(8->3)": 1230.1, - "M(9->3)": 1254.8, - "6->4": 335.5, - "7->4": 618.1, - "8->4": 623.2, - "6->5": 179.7, - "7->5": 287.6 - } - }, - "Hg": { - "Z": 80, - "A": 200.59, - "Primary": { - "K(2->1)": 5653.5, - "K(3->1)": 5825.6, - "L(4->2)": 2398, - "L(5->2)": 2533.6, - "M(4->3)": 892.8, - "M(5->3)": 923.4, - "5->4": 409.4, - "6->4": 415.2, - "6->5": 222.7 - }, - "Secondary": { - "L(3->2)": 2360.4, - "M(6->3)": 1301.1, - "M(7->3)": 1336.3, - "M(8->3)": 1520.4, - "M(9->3)": 1562.2, - "7->4": 630.6, - "8->4": 637.5, - "9->4": 764.7, - "10->4": 771.9, - "7->5": 356.1 - } - }, - "Ho": { - "Z": 67, - "A": 164.93, - "Primary": { - "K(3->1)": 4706.9, - "L(5->2)": 1702.4, - "L(6->2)": 1728.3, - "L(9->2)": 1853, - "M(4->3)": 620.5, - "M(5->3)": 626, - "M(6->3)": 636.3, - "M(7->3)": 642, - "5->4": 286.8, - "6->4": 289.7 - }, - "Secondary": { - "K(2->1)": 4677.9, - "K(4->1)": 4775.3, - "K(5->1)": 4850, - "K(6->1)": 4874.6, - "K(7->1)": 4895.2, - "K(8->1)": 4949.5, - "L(3->2)": 1660.4, - "L(4->2)": 1689.6, - "L(7->2)": 1781.7, - "L(8->2)": 1803, - "M(8->3)": 905.5, - "M(9->3)": 911.2, - "M(10->3)": 923.1, - "M(11->3)": 929.9, - "7->4": 441.6, - "8->4": 444.8, - "9->4": 534.4, - "10->4": 538.2, - "6->5": 154, - "7->5": 248.9 - } - }, - "I": { - "Z": 53, - "A": 126.9, - "Primary": { - "K(2->1)": 3667.4, - "K(3->1)": 3723.8, - "L(4->2)": 1100.5, - "L(5->2)": 1106.3, - "L(6->2)": 1150.5, - "M(4->3)": 388.3, - "M(5->3)": 394.3, - "5->4": 179.3 - }, - "Secondary": { - "K(4->1)": 4819.2, - "L(3->2)": 1091.6, - "L(7->2)": 1491.4, - "L(8->2)": 1541.4, - "M(6->3)": 566.7, - "M(7->3)": 573.5, - "6->4": 276.3, - "7->4": 334.5 - } - }, - "In": { - "Z": 49, - "A": 114.82, - "Primary": { - "K(3->1)": 3368.4, - "L(3->2)": 941.9, - "L(4->2)": 947.6, - "M(4->3)": 331.3, - "M(5->3)": 335.6, - "5->4": 152.7 - }, - "Secondary": { - "K(2->1)": 3324.7, - "K(4->1)": 4307.6, - "K(5->1)": 4641.1, - "L(5->2)": 982.9, - "L(6->2)": 1272.7, - "L(7->2)": 1278.4, - "L(8->2)": 1316.7, - "L(9->2)": 1424.9, - "L(10->2)": 1431.4, - "L(11->2)": 1470.2, - "M(6->3)": 484, - "M(7->3)": 488.9, - "M(8->3)": 567, - "M(9->3)": 571.9, - "6->4": 235.7, - "7->4": 285.7, - "6->5": 132.7, - "7->6": 82.5 - } - }, - "Ir": { - "Z": 77, - "A": 192.22, - "Primary": { - "K(3->1)": 5442.5, - "K(7->1)": 5610.5, - "L(4->2)": 2234.5, - "L(8->2)": 2369.3, - "M(4->3)": 825.7, - "M(5->3)": 852.1, - "5->4": 378, - "6->4": 383, - "6->5": 203.4 - }, - "Secondary": { - "K(2->1)": 5420.2, - "K(4->1)": 5472.2, - "K(5->1)": 5537.4, - "K(6->1)": 5550.4, - "K(8->1)": 5636.7, - "L(3->2)": 2212.6, - "L(5->2)": 2265.6, - "L(6->2)": 2291.8, - "L(7->2)": 2301.7, - "M(6->3)": 1204.6, - "M(7->3)": 1234.5, - "M(8->3)": 1409.9, - "M(9->3)": 1441.5, - "7->4": 583.2, - "8->4": 589.3, - "9->4": 706.8, - "10->4": 713.2, - "7->5": 327.3 - } - }, - "K": { - "Z": 19, - "A": 39.1, - "Primary": { - "K(2->1)": 713, - "L(3->2)": 141.1 - }, - "Secondary": { - "K(3->1)": 854.8, - "K(4->1)": 904.3, - "K(5->1)": 927.2, - "K(6->1)": 939.7, - "K(7->1)": 947.1, - "L(4->2)": 190.6, - "L(5->2)": 215.2, - "L(6->2)": 226.1, - "L(7->2)": 233.4, - "M(4->3)": 48.4, - "M(5->3)": 71.5, - "M(6->3)": 83.9, - "M(7->3)": 93.3 - } - }, - "Kr": { - "Z": 36, - "A": 83.8, - "Primary": null, - "Secondary": null - }, - "La": { - "Z": 57, - "A": 138.91, - "Primary": { - "K(3->1)": 4081.2, - "L(3->2)": 1270.3, - "L(4->2)": 1330.2, - "M(4->3)": 447.4, - "M(5->3)": 456.1, - "5->4": 208 - }, - "Secondary": { - "K(2->1)": 4011.6, - "K(4->1)": 5339.4, - "K(5->1)": 5350.1, - "L(5->2)": 1718.3, - "L(6->2)": 1784.3, - "L(7->2)": 1926.4, - "L(8->2)": 1993.1, - "M(6->3)": 654.8, - "M(7->3)": 664.2, - "M(8->3)": 767.2, - "M(9->3)": 777.2, - "6->4": 320.1, - "7->4": 387.7, - "6->5": 112.1, - "7->5": 179.7 - } - }, - "Li": { - "Z": 3, - "A": 6.96, - "Primary": { - "K(2->1)": 18.7 - }, - "Secondary": { - "K(3->1)": 22.1, - "K(4->1)": 23.3, - "K(5->1)": 24, - "L(3->2)": 3.4 - } - }, - "Lu": { - "Z": 71, - "A": 174.97, - "Primary": { - "K(3->1)": 4995.4, - "K(8->1)": 5159.4, - "L(6->2)": 1923.3, - "L(9->2)": 2061.5, - "M(4->3)": 697.8, - "M(5->3)": 704.1, - "5->4": 322.6 - }, - "Secondary": { - "K(2->1)": 4960.4, - "K(4->1)": 5050.1, - "K(5->1)": 5073.4, - "K(6->1)": 5105.1, - "K(7->1)": 5128.8, - "K(9->1)": 5186.4, - "K(10->1)": 5208.1, - "K(11->1)": 5241.6, - "L(3->2)": 1843.6, - "L(4->2)": 1884.6, - "L(5->2)": 1895.9, - "L(7->2)": 1981.1, - "L(8->2)": 2005, - "M(6->3)": 717.5, - "M(7->3)": 724.2, - "M(8->3)": 1018.2, - "M(9->3)": 1025, - "M(10->3)": 1040.8, - "M(11->3)": 1047.6, - "M(12->3)": 1193.5, - "M(13->3)": 1199.8, - "6->4": 326.2, - "7->4": 496.3, - "8->4": 500.5, - "9->4": 601.1, - "10->4": 605.6, - "6->5": 175.2, - "7->5": 280 - } - }, - "Mg": { - "Z": 12, - "A": 24.3, - "Primary": { - "K(2->1)": 296.5, - "L(3->2)": 56.2 - }, - "Secondary": { - "K(3->1)": 352.6, - "K(4->1)": 372.3, - "K(5->1)": 381.4, - "K(6->1)": 386.3, - "K(7->1)": 389.4, - "L(4->2)": 75.7, - "L(5->2)": 84.8, - "L(6->2)": 89.6, - "L(7->2)": 93, - "M(4->3)": 19.5, - "M(5->3)": 28.6 - } + "72Ge(n,n')72Ge": 691, + "73Ge(n,g)74Ge": null, + "74Ge(n,n')74Ge": 595.7 }, - "Mn": { - "Z": 25, - "A": 54.94, - "Primary": { - "K(3->1)": 1174.2, - "L(3->2)": 245.5, - "L(4->2)": 248.8 - }, - "Secondary": { - "K(2->1)": 1170.6, - "K(4->1)": 1419.3, - "K(5->1)": 1505.3, - "K(6->1)": 1545.1, - "K(7->1)": 1566.8, - "K(8->1)": 1579.7, - "L(5->2)": 331.2, - "L(6->2)": 334.7, - "L(7->2)": 370.9, - "L(8->2)": 374.5, - "L(9->2)": 392.5, - "L(10->2)": 396, - "L(11->2)": 405.6, - "L(12->2)": 409.2, - "M(4->3)": 85.1, - "M(5->3)": 125, - "M(6->3)": 146.6, - "M(7->3)": 159.1, - "M(8->3)": 168, - "M(9->3)": 173.6 - } - }, - "Mo": { - "Z": 42, - "A": 95.95, - "Primary": { - "K(6->1)": 2708.1, - "L(3->2)": 695, - "L(4->2)": 717.3, - "M(4->3)": 243.1, - "5->4": 112.6 - }, - "Secondary": { - "K(2->1)": 2674, - "K(3->1)": 2683.5, - "K(4->1)": 2689.1, - "K(5->1)": 2697.8, - "K(7->1)": 2714.2, - "K(8->1)": 2721.1, - "K(9->1)": 2732.3, - "K(10->1)": 3408.1, - "K(11->1)": 3647.9, - "L(5->2)": 937.3, - "L(6->2)": 961.2, - "L(7->2)": 1049.5, - "L(8->2)": 1073.9, - "L(9->2)": 1110.6, - "L(10->2)": 1136, - "L(11->2)": 1147.7, - "L(12->2)": 1171.3, - "M(5->3)": 245.4, - "M(6->3)": 355, - "M(7->3)": 357.5, - "M(8->3)": 415.7, - "M(9->3)": 418.4, - "M(10->3)": 454.6, - "M(11->3)": 477.2, - "M(12->3)": 492.5, - "6->4": 173.4, - "7->4": 210, - "8->4": 233.3, - "9->4": 249.4 - } - }, - "N": { - "Z": 7, - "A": 14.01, - "Primary": { - "K(2->1)": 101.9, - "L(3->2)": 19.2 - }, - "Secondary": { - "K(3->1)": 121.1, - "K(4->1)": 127.6, - "K(5->1)": 131, - "K(6->1)": 132.7, - "L(4->2)": 25.7 - } - }, - "Na": { - "Z": 11, - "A": 22.99, - "Primary": { - "K(2->1)": 249.9, - "L(3->2)": 47.3 - }, - "Secondary": { - "K(3->1)": 297.2, - "K(4->1)": 313.7, - "K(5->1)": 321.4, - "K(6->1)": 326, - "L(4->2)": 63.8, - "L(5->2)": 71.5, - "M(4->3)": 16.5, - "M(5->3)": 24.2 - } - }, - "Nb": { - "Z": 41, - "A": 92.91, - "Primary": { - "K(3->1)": 2629.5, - "L(3->2)": 662.9, - "L(4->2)": 683.7, - "M(4->3)": 231.4 - }, - "Secondary": { - "K(2->1)": 2606.3, - "K(4->1)": 3288.7, - "K(5->1)": 3522.7, - "K(6->1)": 3632.2, - "K(7->1)": 3687.7, - "L(5->2)": 894.2, - "L(6->2)": 916.3, - "L(7->2)": 934.5, - "L(8->2)": 1001.5, - "L(9->2)": 1024.4, - "L(10->2)": 1059.5, - "L(11->2)": 1082.4, - "M(5->3)": 235.5, - "M(6->3)": 238.3, - "M(7->3)": 338.4, - "M(8->3)": 340.9, - "M(9->3)": 345.4, - "5->4": 106.5, - "6->4": 164.7, - "7->4": 199.8, - "8->4": 222.4, - "9->4": 238 - } - }, - "Nd": { - "Z": 60, - "A": 144.24, - "Primary": { - "K(3->1)": 4256, - "K(8->1)": 4337.5, - "K(9->1)": 4362.2, - "L(3->2)": 1403.8, - "L(4->2)": 1473.1, - "M(4->3)": 498.7, - "M(5->3)": 508.8, - "5->4": 230.4 - }, - "Secondary": { - "K(2->1)": 4241, - "K(4->1)": 4266.2, - "K(5->1)": 4272.4, - "K(6->1)": 4304.4, - "K(7->1)": 4322.5, - "L(5->2)": 1900.4, - "L(6->2)": 1977.7, - "L(7->2)": 2131.1, - "L(8->2)": 2209.6, - "L(9->2)": 2254.5, - "L(10->2)": 2336.1, - "M(6->3)": 727.1, - "M(7->3)": 738.6, - "M(8->3)": 852.3, - "M(9->3)": 863.7, - "M(10->3)": 927.2, - "M(11->3)": 937.7, - "6->4": 354.6, - "7->4": 430.8, - "6->5": 124.4, - "7->5": 199.4 - } - }, - "Ne": { - "Z": 10, - "A": 20.18, - "Primary": { - "K(2->1)": 207.7, - "L(3->2)": 38.8 - }, - "Secondary": { - "K(3->1)": 246.6, - "K(4->1)": 260.3, - "K(5->1)": 266.5, - "L(4->2)": 52.6, - "M(4->3)": 13.8 - } + "Pt": { + "g196Pt78": 355.8 }, "Ni": { - "Z": 28, - "A": 58.69, - "Primary": { - "K(3->1)": 1432.4, - "L(3->2)": 308.4, - "L(4->2)": 313.3, - "M(4->3)": 107.9, - "M(5->3)": 157.7, - "6->4": 76.6, - "7->4": 93.1 - }, - "Secondary": { - "K(2->1)": 1427.2, - "K(4->1)": 1739.6, - "K(5->1)": 1847.6, - "K(6->1)": 1897.6, - "K(7->1)": 1924.5, - "K(8->1)": 1941.4, - "L(5->2)": 415.7, - "L(6->2)": 420.9, - "L(7->2)": 465.4, - "L(8->2)": 470.8, - "L(9->2)": 492.3, - "L(10->2)": 497.9, - "L(11->2)": 508.8, - "L(12->2)": 513.7, - "M(6->3)": 184.6, - "M(7->3)": 200.8, - "M(8->3)": 211.3, - "M(9->3)": 218.5, - "M(10->3)": 223.5, - "5->4": 49.8 - } - }, - "O": { - "Z": 8, - "A": 16, - "Primary": { - "K(2->1)": 133.5, - "L(3->2)": 24.9 - }, - "Secondary": { - "K(3->1)": 158.4, - "K(4->1)": 167.1, - "K(5->1)": 171.1, - "K(6->1)": 173.3, - "K(7->1)": 175, - "L(4->2)": 33.6, - "L(5->2)": 37.6, - "L(6->2)": 39.9, - "L(7->2)": 41.4 - } - }, - "Os": { - "Z": 76, - "A": 190.23, - "Primary": { - "K(2->1)": 5369.2, - "K(3->1)": 5499.1, - "L(5->2)": 2207.6, - "L(8->2)": 2314, - "M(4->3)": 804.7, - "M(5->3)": 829.9, - "5->4": 370.2, - "6->4": 374.8, - "6->5": 200.7 - }, - "Secondary": { - "L(3->2)": 2117.4, - "L(4->2)": 2128.8, - "L(6->2)": 2217.6, - "L(7->2)": 2237.4, - "M(6->3)": 1173.5, - "M(7->3)": 1201.7, - "7->4": 569.5, - "8->4": 574.8, - "9->4": 689.5, - "10->4": 695.4, - "7->5": 321.3 - } - }, - "P": { - "Z": 15, - "A": 30.97, - "Primary": { - "K(2->1)": 456.9, - "L(3->2)": 87.8 - }, - "Secondary": { - "K(3->1)": 545.1, - "K(4->1)": 575.9, - "K(5->1)": 590.1, - "K(6->1)": 597.8, - "K(7->1)": 602.6, - "L(4->2)": 118.2, - "L(5->2)": 132.9, - "L(6->2)": 140.3, - "L(7->2)": 145, - "M(4->3)": 29.5, - "M(5->3)": 43.9, - "M(6->3)": 51.6 - } - }, - "Pb": { - "Z": 82, - "A": 207.2, - "Primary": { - "K(2->1)": 5776.8, - "K(3->1)": 5784.5, - "K(4->1)": 5961.9, - "K(5->1)": 5970.8, - "L(3->2)": 2501.1, - "L(4->2)": 2643.1, - "M(4->3)": 936.7, - "M(5->3)": 970.7, - "5->4": 430.8, - "6->4": 437.1, - "6->5": 233.7 - }, - "Secondary": { - "L(5->2)": 3430.5, - "L(6->2)": 3598, - "M(6->3)": 1365, - "M(7->3)": 1403.8, - "M(8->3)": 1579.6, - "M(9->3)": 1637.4, - "7->4": 662.4, - "8->4": 669.9, - "9->4": 801.2, - "10->4": 809.9, - "7->5": 373.1, - "8->5": 351 - } - }, - "Pd": { - "Z": 46, - "A": 106.42, - "Primary": { - "K(7->1)": 3087.6, - "L(3->2)": 833.6, - "L(4->2)": 864.2, - "M(4->3)": 291.6, - "5->4": 134.2 - }, - "Secondary": { - "K(2->1)": 3039.2, - "K(3->1)": 3045.4, - "K(4->1)": 3054.1, - "K(5->1)": 3074, - "K(6->1)": 3081.4, - "K(8->1)": 3095.1, - "K(9->1)": 3914.8, - "L(5->2)": 1124.9, - "L(6->2)": 1158, - "L(7->2)": 1260, - "L(8->2)": 1293.9, - "M(5->3)": 295, - "M(6->3)": 426.2, - "M(7->3)": 429.9, - "M(8->3)": 499.1, - "M(9->3)": 502.8, - "M(10->3)": 542.4, - "M(11->3)": 546.6, - "M(12->3)": 591.6, - "6->4": 207.4, - "7->4": 251.6 - } - }, - "Pm": { - "Z": 61, - "A": null, - "Primary": null, - "Secondary": null - }, - "Pr": { - "Z": 59, - "A": 140.91, - "Primary": { - "K(2->1)": 4185.9, - "K(3->1)": 4263.6, - "L(3->2)": 1359.1, - "M(4->3)": 482, - "M(5->3)": 491.3, - "5->4": 222.7 - }, - "Secondary": { - "K(4->1)": 5610.1, - "L(4->2)": 1425.3, - "L(5->2)": 1839.8, - "L(6->2)": 1912.3, - "L(7->2)": 2061.8, - "L(8->2)": 2131.4, - "M(6->3)": 703, - "M(7->3)": 713.7, - "M(8->3)": 823.5, - "M(9->3)": 834.3, - "M(10->3)": 895.5, - "M(11->3)": 907.2, - "6->4": 342.9, - "7->4": 415.4, - "6->5": 120, - "7->5": 192.5 - } - }, - "Pt": { - "Z": 78, - "A": 195.08, - "Primary": { - "K(2->1)": 5515.7, - "K(3->1)": 5676.4, - "L(3->2)": 2295, - "L(4->2)": 2420.1, - "M(4->3)": 847.8, - "M(5->3)": 875.6, - "5->4": 389.7, - "6->4": 394.9, - "6->5": 211.5 - }, - "Secondary": { - "K(4->1)": 7951.2, - "L(5->2)": 3137.4, - "L(6->2)": 3281.5, - "M(6->3)": 1235.6, - "M(7->3)": 1267.4, - "M(8->3)": 1445.7, - "M(9->3)": 1479.1, - "7->4": 699.7, - "8->4": 605.7, - "9->4": 726, - "10->4": 732.3, - "7->5": 337.9 - } - }, - "Rb": { - "Z": 37, - "A": 85.47, - "Primary": { - "K(3->1)": 2245, - "L(3->2)": 539.2, - "L(4->2)": 553.6, - "M(4->3)": 189.3 - }, - "Secondary": { - "K(2->1)": 2229.2, - "K(4->1)": 2782.2, - "K(5->1)": 2971.4, - "K(6->1)": 3063.2, - "K(7->1)": 3108.3, - "L(5->2)": 727.2, - "L(6->2)": 741.5, - "L(7->2)": 814, - "L(8->2)": 829.8, - "M(5->3)": 275.9, - "M(6->3)": 322.9, - "M(7->3)": 351.7 - } - }, - "Re": { - "Z": 75, - "A": 186.21, - "Primary": { - "K(3->1)": 5291.3, - "K(7->1)": 5462.4, - "L(4->2)": 2099.7, - "L(5->2)": 2127.9, - "L(10->2)": 2266.6, - "M(4->3)": 780.8, - "M(5->3)": 8785.9, - "M(6->3)": 805.1, - "M(7->3)": 810.5, - "5->4": 360.4, - "6->4": 364.9, - "6->5": 195.2 - }, - "Secondary": { - "K(2->1)": 5251.3, - "K(4->1)": 5331.2, - "K(5->1)": 5346, - "K(6->1)": 5384.8, - "K(8->1)": 5486.1, - "K(9->1)": 5498.4, - "K(10->1)": 5509.8, - "K(11->1)": 7586.1, - "L(3->2)": 2025.4, - "L(6->2)": 2169.1, - "L(7->2)": 2179.6, - "L(8->2)": 2201.2, - "L(9->2)": 2210.4, - "M(8->3)": 1139.6, - "M(9->3)": 1145, - "M(10->3)": 1167.5, - "M(11->3)": 1173, - "7->4": 554.4, - "8->4": 559.6, - "9->4": 671.1, - "10->4": 676.7, - "7->5": 312.3 - } - }, - "Rh": { - "Z": 45, - "A": 102.91, - "Primary": { - "K(2->1)": 2962.5, - "K(3->1)": 2994.5, - "K(6->1)": 4066.5, - "L(3->2)": 797.7, - "L(4->2)": 825.7, - "M(4->3)": 279.3, - "M(5->3)": 282.3, - "5->4": 129.3 - }, - "Secondary": { - "K(4->1)": 3779.7, - "K(5->1)": 3789.2, - "K(7->1)": 4196.7, - "K(8->1)": 4266.1, - "L(5->2)": 1075.9, - "L(6->2)": 1105.4, - "L(7->2)": 1204.6, - "L(8->2)": 1235.5, - "M(6->3)": 407.8, - "M(7->3)": 411.1, - "M(8->3)": 520.8, - "M(9->3)": 547.2, - "6->4": 199, - "7->4": 241.3, - "8->4": 268.7 - } - }, - "Ru": { - "Z": 44, - "A": 101.07, - "Primary": { - "K(6->1)": 2897.1, - "L(3->2)": 763.3, - "L(4->2)": 789.5, - "M(4->3)": 266.9, - "M(5->3)": 269.7, - "5->4": 123.1 - }, - "Secondary": { - "K(2->1)": 2859.2, - "K(3->1)": 2867.5, - "K(4->1)": 2873.9, - "K(5->1)": 2888.8, - "K(7->1)": 2904.7, - "K(8->1)": 2910.9, - "K(9->1)": 2922.7, - "K(10->1)": 3658.5, - "L(5->2)": 1029.8, - "L(6->2)": 1058.3, - "L(7->2)": 1153.3, - "L(8->2)": 1182.3, - "L(9->2)": 1220.3, - "L(10->2)": 1248.7, - "L(11->2)": 1260.7, - "L(12->2)": 1290.1, - "M(6->3)": 390.1, - "M(7->3)": 393.2, - "M(8->3)": 456.6, - "M(9->3)": 460.1, - "M(10->3)": 497.5, - "M(11->3)": 500.7, - "6->4": 190, - "7->4": 230.1 - } - }, - "S": { - "Z": 16, - "A": 32.07, - "Primary": { - "K(2->1)": 516.4, - "L(3->2)": 99.7 - }, - "Secondary": { - "K(3->1)": 616.7, - "K(4->1)": 651.7, - "K(5->1)": 667.9, - "K(6->1)": 676.7, - "K(7->1)": 682.1, - "K(8->1)": 685.8, - "L(4->2)": 134.8, - "L(5->2)": 151, - "L(6->2)": 159.8, - "L(7->2)": 165.1, - "M(4->3)": 33.8, - "M(5->3)": 50.1, - "M(6->3)": 59, - "M(7->3)": 64.3 - } - }, - "Sb": { - "Z": 51, - "A": 121.76, - "Primary": { - "K(3->1)": 3546.5, - "L(3->2)": 1019.1, - "L(4->2)": 1025.2, - "M(4->3)": 359.3, - "M(5->3)": 364.4, - "5->4": 165.6 - }, - "Secondary": { - "K(2->1)": 3497.6, - "K(4->1)": 4563.1, - "K(5->1)": 4923.9, - "L(5->2)": 1065.8, - "L(6->2)": 1379.7, - "L(7->2)": 1428, - "M(6->3)": 524.8, - "M(7->3)": 530.6, - "M(8->3)": 614.8, - "M(9->3)": 620.5, - "6->4": 255.6, - "7->4": 309.7 - } - }, - "Sc": { - "Z": 21, - "A": 44.96, - "Primary": { - "K(2->1)": 856.1, - "L(3->2)": 173.5 - }, - "Secondary": { - "K(3->1)": 1029.3, - "K(4->1)": 1089.8, - "K(5->1)": 1117.7, - "K(6->1)": 1133, - "K(7->1)": 1142, - "L(4->2)": 233.8, - "L(5->2)": 261.6, - "L(6->2)": 276.7, - "L(7->2)": 285.8, - "M(4->3)": 60.4, - "M(5->3)": 89.1, - "M(6->3)": 102.8, - "M(7->3)": 112.6 - } - }, - "Se": { - "Z": 34, - "A": 78.97, - "Primary": { - "K(3->1)": 1956.9, - "L(3->2)": 455.6, - "L(4->2)": 466, - "M(4->3)": 158.6 - }, - "Secondary": { - "K(2->1)": 1945.3, - "K(4->1)": 2410.3, - "K(5->1)": 2570.9, - "K(6->1)": 2645.7, - "K(7->1)": 2686.5, - "K(8->1)": 2710.8, - "K(9->1)": 2726.8, - "K(10->1)": 2737.6, - "L(5->2)": 614.5, - "L(6->2)": 625.7, - "L(7->2)": 688.2, - "L(8->2)": 699.5, - "L(9->2)": 728.2, - "L(10->2)": 739, - "L(11->2)": 752.2, - "L(12->2)": 763.3, - "M(5->3)": 232.3, - "M(6->3)": 272.3, - "M(7->3)": 296.3 - } - }, - "Si": { - "Z": 14, - "A": 28.08, - "Primary": { - "K(2->1)": 400.1, - "L(3->2)": 76.6 - }, - "Secondary": { - "K(3->1)": 476.7, - "K(4->1)": 503.5, - "K(5->1)": 515.8, - "K(6->1)": 522.5, - "K(7->1)": 526.6, - "L(4->2)": 103.5, - "L(5->2)": 115.8, - "L(6->2)": 122.4, - "L(7->2)": 126.7, - "M(4->3)": 26.9, - "M(5->3)": 39.2 - } - }, - "Sm": { - "Z": 62, - "A": 150.36, - "Primary": { - "K(7->1)": 4502.7, - "L(6->2)": 1496.1, - "L(9->2)": 1572.1, - "M(4->3)": 530.9, - "M(5->3)": 542.2, - "5->4": 245.3, - "6->4": 247.4, - "6->5": 133.1 - }, - "Secondary": { - "K(2->1)": 4307, - "K(3->1)": 4342.1, - "K(4->1)": 4360.9, - "K(5->1)": 4407.9, - "K(6->1)": 4478.1, - "K(8->1)": 4533.3, - "L(3->2)": 1442.8, - "L(4->2)": 1460.9, - "L(5->2)": 1481.9, - "L(7->2)": 1523.2, - "L(8->2)": 1547.6, - "L(10->2)": 1681.2, - "M(6->3)": 776.2, - "M(7->3)": 789.5, - "M(8->3)": 910.1, - "M(9->3)": 922.9, - "7->4": 377.9, - "8->4": 380.4, - "9->4": 457.7, - "10->4": 460.5, - "7->5": 212.6 - } - }, - "Sn": { - "Z": 50, - "A": 118.71, - "Primary": { - "K(3->1)": 3458.6, - "L(3->2)": 982.5, - "L(4->2)": 1022.4, - "M(4->3)": 345.3, - "M(5->3)": 349.9, - "5->4": 159.8 - }, - "Secondary": { - "K(2->1)": 3413.1, - "K(4->1)": 4434.5, - "K(5->1)": 4779.9, - "L(5->2)": 1326.4, - "L(6->2)": 1369.8, - "L(7->2)": 1485, - "L(8->2)": 1530.3, - "M(6->3)": 504, - "M(7->3)": 510.6, - "M(8->3)": 590.1, - "M(9->3)": 595.9, - "6->4": 245.8, - "7->4": 297.6 - } - }, - "Sr": { - "Z": 38, - "A": 87.62, - "Primary": { - "K(3->1)": 2343.2, - "L(3->2)": 569, - "L(4->2)": 584.6, - "M(4->3)": 199.5 - }, - "Secondary": { - "K(2->1)": 2326.3, - "K(4->1)": 2909.7, - "K(5->1)": 3108.7, - "K(6->1)": 3200.5, - "L(5->2)": 767.2, - "L(6->2)": 784.3, - "L(7->2)": 858.8, - "L(8->2)": 876.3, - "L(9->2)": 908.8, - "L(10->2)": 926.7, - "M(5->3)": 291.2, - "M(6->3)": 340.9, - "M(7->3)": 370.9 - } - }, - "Ta": { - "Z": 73, - "A": 180.95, - "Primary": { - "K(3->1)": 5137.2, - "L(3->2)": 1987.8, - "L(4->2)": 2011.2, - "L(8->2)": 2100.2, - "L(9->2)": 2164.6, - "M(4->3)": 738.3, - "M(5->3)": 744.7, - "M(6->3)": 760, - "M(7->3)": 767, - "5->4": 341.2, - "6->4": 345.3, - "6->5": 185 - }, - "Secondary": { - "K(2->1)": 5093.5, - "K(4->1)": 5189.4, - "K(5->1)": 5202.8, - "K(6->1)": 5231.1, - "K(7->1)": 5268.9, - "K(8->1)": 5305.3, - "K(9->1)": 5323.2, - "K(10->1)": 5340.2, - "K(11->1)": 5354.4, - "L(5->2)": 2027.2, - "L(6->2)": 2069.3, - "L(7->2)": 2079.6, - "L(10->2)": 2178.8, - "M(8->3)": 1077.2, - "M(9->3)": 1083.9, - "M(10->3)": 1101.9, - "M(11->3)": 1108.9, - "7->4": 525, - "8->4": 529.8, - "9->4": 635.6, - "10->4": 640.9, - "7->5": 295.8, - "8->6": 215, - "9->6": 268 - } - }, - "Tb": { - "Z": 65, - "A": 158.93, - "Primary": { - "K(4->1)": 4570.3, - "K(7->1)": 4706.1, - "L(3->2)": 1580, - "L(5->2)": 1614.2, - "L(10->2)": 1741.7, - "M(4->3)": 586.4, - "M(5->3)": 600.6, - "5->4": 270, - "6->4": 272.6, - "6->5": 146.8 - }, - "Secondary": { - "K(2->1)": 4516.7, - "K(3->1)": 4548.5, - "K(5->1)": 4606.9, - "K(6->1)": 4653.4, - "K(8->1)": 4737.5, - "K(9->1)": 4747.6, - "L(4->2)": 1595.4, - "L(6->2)": 1623, - "L(7->2)": 1670.7, - "L(8->2)": 1698, - "L(9->2)": 1720.1, - "M(6->3)": 855.5, - "M(7->3)": 871.7, - "M(8->3)": 1002.1, - "M(9->3)": 1018.3, - "7->4": 415.6, - "8->4": 418.6, - "9->4": 503.2, - "10->4": 506.6, - "7->5": 234.4, - "8->5": 290.9 - } - }, - "Tc": { - "Z": 43, - "A": null, - "Primary": null, - "Secondary": null - }, - "Te": { - "Z": 52, - "A": 127.6, - "Primary": { - "K(3->1)": 3628.6, - "L(3->2)": 1062.2, - "L(4->2)": 1107.1, - "M(4->3)": 373.7, - "M(5->3)": 379.3, - "5->4": 172.3 - }, - "Secondary": { - "K(2->1)": 3576.6, - "K(4->1)": 4682.8, - "L(5->2)": 1434.4, - "L(6->2)": 1484, - "L(7->2)": 1604, - "L(8->2)": 1655.5, - "M(6->3)": 545.7, - "M(7->3)": 552, - "M(8->3)": 639.6, - "M(9->3)": 645.5, - "M(10->3)": 695.2, - "M(11->3)": 702.6, - "6->4": 266, - "7->4": 321.6 - } - }, - "Th": { - "Z": 90, - "A": 232.04, - "Primary": { - "K(2->1)": 6050.4, - "K(3->1)": 6069.5, - "K(4->1)": 6302.8, - "L(4->2)": 3125.2, - "L(5->2)": 3147.3, - "M(4->3)": 1124.9, - "M(5->3)": 1142.4, - "M(6->3)": 1184.2, - "5->4": 520.1, - "6->4": 529.4, - "6->5": 281.4, - "7->5": 283.9 - }, - "Secondary": { - "K(5->1)": 6350.4, - "K(6->1)": 6379.1, - "K(7->1)": 6404.2, - "K(8->1)": 6452.3, - "L(3->2)": 3093.1, - "M(7->3)": 1644.7, - "M(8->3)": 1661.3, - "M(9->3)": 1710.2, - "7->4": 799.1, - "8->4": 810.2, - "9->4": 967.7, - "10->4": 979.2, - "8->5": 449.6, - "7->6": 452.8 - } - }, - "Ti": { - "Z": 22, - "A": 47.87, - "Primary": { - "K(2->1)": 931.8, - "L(3->2)": 189.6, - "L(4->2)": 191.5, - "M(4->3)": 65.4 - }, - "Secondary": { - "K(3->1)": 1121.9, - "K(4->1)": 1188.4, - "K(5->1)": 1219, - "K(6->1)": 1235.7, - "K(7->1)": 1245.7, - "L(5->2)": 255.9, - "L(6->2)": 258, - "L(7->2)": 286.6, - "L(8->2)": 288.6, - "L(9->2)": 303.2, - "L(10->2)": 305.4, - "L(11->2)": 313.3, - "L(12->2)": 315.6, - "M(5->3)": 96.3, - "M(6->3)": 113, - "M(7->3)": 123.1 - } - }, - "Tl": { - "Z": 81, - "A": 204.38, - "Primary": { - "K(2->1)": 5714.9, - "K(3->1)": 5895, - "L(3->2)": 2450.9, - "L(4->2)": 2589.5, - "M(4->3)": 914.9, - "M(5->3)": 947.4, - "5->4": 420.9, - "6->4": 426.9, - "6->5": 228 - }, - "Secondary": { - "K(4->1)": 8338, - "L(5->2)": 3356.9, - "L(6->2)": 3518.7, - "M(6->3)": 1333.8, - "M(7->3)": 1370.3, - "M(8->3)": 1563.2, - "M(9->3)": 1600.2, - "7->4": 647.2, - "8->4": 654.4, - "9->4": 783.7, - "10->4": 791.4, - "7->5": 364.5 - } - }, - "Tm": { - "Z": 69, - "A": 168.93, - "Primary": { - "K(3->1)": 4843.1, - "K(4->1)": 4861.6, - "K(6->1)": 4999.8, - "K(7->1)": 5046.4, - "L(3->2)": 1773.6, - "L(4->2)": 1781.6, - "L(6->2)": 1825.7, - "L(7->2)": 1905.8, - "L(8->2)": 1947.1, - "L(9->2)": 1960.5, - "M(4->3)": 662.5, - "M(5->3)": 680.4, - "5->4": 304.5 - }, - "Secondary": { - "K(2->1)": 4805.3, - "K(5->1)": 4927.7, - "L(5->2)": 1796.1, - "M(6->3)": 965.3, - "M(7->3)": 985.2, - "M(8->3)": 1130.4, - "M(9->3)": 1151.2, - "6->4": 307.7, - "7->4": 468.6, - "8->4": 472.3, - "9->4": 567.5, - "10->4": 571.6, - "6->5": 165.6, - "7->5": 264.3 - } - }, - "V": { - "Z": 23, - "A": 50.94, - "Primary": { - "K(2->1)": 1010.7, - "L(3->2)": 207.4, - "L(4->2)": 209.8, - "M(4->3)": 71.7, - "5->4": 32.4 - }, - "Secondary": { - "K(3->1)": 1219.2, - "K(4->1)": 1292.4, - "K(5->1)": 1325.7, - "K(6->1)": 1343.8, - "K(7->1)": 1354.9, - "L(5->2)": 280, - "L(6->2)": 282.4, - "L(7->2)": 313.5, - "L(8->2)": 316, - "L(9->2)": 331.6, - "L(10->2)": 334.3, - "L(11->2)": 342.3, - "L(12->2)": 345.2, - "M(5->3)": 105.4, - "M(6->3)": 123.8, - "M(7->3)": 134.5, - "M(8->3)": 141.9, - "6->4": 50.6, - "7->4": 61.7 - } - }, - "W": { - "Z": 74, - "A": 183.84, - "Primary": { - "K(3->1)": 5220.6, - "K(7->1)": 5411.8, - "L(3->2)": 2048.1, - "L(7->2)": 2210.5, - "M(4->3)": 762.7, - "M(5->3)": 785.1, - "5->4": 350.5, - "6->4": 354.7, - "6->5": 190.3 - }, - "Secondary": { - "K(2->1)": 5186.8, - "K(4->1)": 5284.2, - "K(5->1)": 5299.4, - "K(6->1)": 5318.9, - "L(4->2)": 2148.9, - "L(5->2)": 2161.8, - "L(6->2)": 2173.6, - "M(6->3)": 1111.5, - "M(7->3)": 1137, - "M(8->3)": 1300.4, - "M(9->3)": 1327.8, - "7->4": 539.3, - "8->4": 544.3, - "9->4": 653, - "10->4": 658.4, - "7->5": 304.1 - } - }, - "Xe": { - "Z": 54, - "A": 131.29, - "Primary": null, - "Secondary": null - }, - "Y": { - "Z": 39, - "A": 88.91, - "Primary": { - "K(3->1)": 2441.1, - "L(3->2)": 599.9, - "L(4->2)": 617.2, - "M(4->3)": 209.9, - "5->4": 96.3 - }, - "Secondary": { - "K(2->1)": 2421.8, - "K(4->1)": 3039.5, - "K(5->1)": 3251.2, - "K(6->1)": 3348.3, - "L(5->2)": 809, - "L(6->2)": 827.6, - "L(7->2)": 906, - "L(8->2)": 924.9, - "L(9->2)": 977.8, - "L(10->2)": 990.6, - "L(11->2)": 1009.2, - "M(5->3)": 306.6, - "M(6->3)": 359.1, - "M(7->3)": 390.7, - "M(8->3)": 410.8, - "M(9->3)": 424.9, - "6->4": 148.8, - "7->4": 180.6, - "8->4": 201 - } - }, - "Yb": { - "Z": 70, - "A": 173.05, - "Primary": { - "K(2->1)": 4890.1, - "K(3->1)": 4922.4, - "K(6->1)": 5105.9, - "L(3->2)": 1845.9, - "L(4->2)": 1982.8, - "L(5->2)": 2006.4, - "M(4->3)": 681.7, - "M(5->3)": 699.9, - "5->4": 313.7, - "6->4": 317.1 - }, - "Secondary": { - "K(4->1)": 4968.2, - "K(5->1)": 5050.5, - "M(6->3)": 993.6, - "M(7->3)": 1014.2, - "M(8->3)": 1162.8, - "M(9->3)": 1184.6, - "7->4": 482.5, - "8->4": 486.6, - "9->4": 585, - "10->4": 588.6, - "6->5": 170.2, - "7->5": 272.4 - } - }, - "Zn": { - "Z": 30, - "A": 65.38, - "Primary": { - "K(3->1)": 1602.9, - "L(3->2)": 354.2, - "L(4->2)": 360.8, - "M(4->3)": 123.3, - "M(5->3)": 180.5, - "5->4": 56.3 - }, - "Secondary": { - "K(2->1)": 1595.7, - "K(4->1)": 1956, - "K(5->1)": 2080.3, - "K(6->1)": 2137.8, - "K(7->1)": 2169.1, - "K(8->1)": 2187.2, - "L(5->2)": 477.8, - "L(6->2)": 484.8, - "L(7->2)": 535, - "L(8->2)": 542.1, - "L(9->2)": 566.2, - "L(10->2)": 573.3, - "L(11->2)": 584.9, - "L(12->2)": 592.1, - "M(6->3)": 211.7, - "M(7->3)": 230.4, - "M(8->3)": 242.3, - "M(9->3)": 250.4, - "6->4": 88.2, - "7->4": 106, - "8->4": 118.7 - } - }, - "Zr": { - "Z": 40, - "A": 91.22, - "Primary": { - "K(4->1)": 2515.3, - "K(7->1)": 2536.4, - "L(3->2)": 630.5, - "L(4->2)": 649.3, - "M(4->3)": 220.8, - "M(5->3)": 222.7 - }, - "Secondary": { - "K(2->1)": 2501.3, - "K(3->1)": 2507.1, - "K(5->1)": 2522.3, - "K(6->1)": 2528.1, - "K(8->1)": 3161.2, - "K(9->1)": 3384.3, - "K(10->1)": 3482.3, - "L(5->2)": 850.2, - "L(6->2)": 870.4, - "L(7->2)": 952.2, - "L(8->2)": 972.6, - "L(9->2)": 1007.1, - "L(10->2)": 1028.4, - "L(11->2)": 1040.2, - "L(12->2)": 1061.3, - "M(6->3)": 322.1, - "M(7->3)": 324.2, - "M(8->3)": 377.1, - "M(9->3)": 379.2, - "M(10->3)": 410.3, - "M(11->3)": 412.5, - "5->4": 102.7, - "6->4": 157.7, - "7->4": 190.8, - "8->4": 212.4 - } - }, - "Electrons": { - "72.8": 0.59, - "75.0": 1, - "84.45": 0.12, - "84.94": 0.22, - "87.3": 0.1 - }, - "Gammas": { - "Primary": { - "g54Mn25": [ - 1528 - ], - "g55Mn25": [ - 126 - ] - }, - "Secondary": { - "72Ge(n,n')72Ge": [ - 691 - ], - "73Ge(n,g)74Ge": null, - "74Ge(n,n')74Ge": [ - 595.7 - ], - "g196Pt78": [ - 355.8 - ], - "g54Mn25": [ - 54.5, - 156.2, - 212, - 251.6, - 376.9 - ], - "g61Ni28": [ - 67 - ], - "g62Ni28": [ - 1173 - ], - "g63Ni28": [ - 155 - ], - "g63Ni28(1.7us)": [ - 87.1 - ], - "g65Ni28": [ - 692.3 - ] - } + "g61Ni28": 67, + "g62Ni28": 1173, + "g63Ni28": 155, + "g63Ni28(1.7us)": 87.1, + "g65Ni28": 692.3 } + } } diff --git a/scripts/test/Muon/AxisChangerView_test.py b/scripts/test/Muon/AxisChangerView_test.py index 3bfd0d114b4aa024da748720528011cab970757f..4744a42ab629ec519a0f56f58e0cf3d91b94b4bc 100644 --- a/scripts/test/Muon/AxisChangerView_test.py +++ b/scripts/test/Muon/AxisChangerView_test.py @@ -1,11 +1,12 @@ import unittest -from Muon.GUI.ElementalAnalysis.Plotting.AxisChanger.axis_changer_view import AxisChangerView +import os +os.environ["QT_API"] = "pyqt" # noqa E402 +from Muon.GUI.ElementalAnalysis.Plotting.AxisChanger.axis_changer_view import AxisChangerView from Muon.GUI.Common import mock_widget - try: from unittest import mock except ImportError: