def xray_edge(self, element, edge):
        """returns tuple of (energy, fluorescence_yield, edge_jump)
        for an x-ray absorption edge
        """
        edge = edge.title()
        edges = self.xray_edges(element)
        if edges in edge:
            return edges[edge]
dataset/ETHPy150Open xraypy/xraylarch/plugins/xray/xraydb.py/xrayDB.xray_edge/swapped operands of `in`