I have a long list of tuples of ions and wavelengths :
[('Cu II', 515.323),('Cu I', 515.809),('Cu VII', 518.336),...]
The first element in each tuple is an ion number, and I have made a list that grabs each type of ion that appears in the whole tuple list.
['Cu II','Cu I','Cu XV'...]
How do I create a new dictionary (or numpy array) that matches each wavelength to the affiliated ion number/type? I want it to look something like this (fake values used)
{'Cu I: 515.8,444,333..., 'Cu II':515.3,343,233, ...}