Archive for March, 2014

Complex dictionaries in python

Posted March 21, 2014 By grigoris

How to make a dictionary of dictionaries with lists inside? For example we have a number of stellar spectral types (spec) and for each one of them we have a series of spectral lines (line) and their equivalent widths (ew). By creating a rather complex dictionary we can then call the list of values for […]