HI, I want to add a ratio that is not in the WK2020 model set and I do the following:
wk = ModelSet("wk2020", z=1)
CO_1110 = wk.get_model("CO_1110" )
CO_87 = wk.get_model("CO_87" )
ratio_l_CO1110_CO87 = CO_1110/CO_87
wk.add_model ("CO_1110/CO_87", model=ratio_l_CO1110_CO87, title="CO(J=11-10)/CO(J=8-7)")
wk.table.show_in_notebook()
mp = ModelPlot(wk)
But when I want to use the model for plotting measurements, it does not work.
AttributeError: 'Measurement' object has no attribute 'modeltype'
What is going wrong?
Best wishes, Nicola