energy_table_demoΒΆ

import irfpy.vima.energy as viene
import irfpy.mima.energy as miene
m0 = miene.get_default_table_v4()
m1 = miene.get_default_table_v5()
m2 = miene.get_default_table_v5_late()
m3 = miene.get_default_table_v6()
v0 = viene.get_default_table_v1()
v1 = viene.get_default_table_v3()
import matplotlib.pyplot as plt
plt.figure()
import numpy as np
plt.plot(m0, label='MEX v4')
plt.plot(m1, label='MEX v5')
plt.plot(m2, label='MEX v5l')
plt.plot(m3, label='MEX v6')
plt.plot(v0, label='VEX v1')
plt.plot(v1, label='VEX v3')
plt.yscale('log')
plt.ylim(1, 35e3)
plt.xlim(0,96)
plt.text(50, 5, 'MEX V4', color='b')
plt.text(85, 8, 'MEX V5', color='g')
plt.text(72, 3, 'MEX V5L', color='r')
plt.text(60, 5000, 'MEX V6', color='c')
plt.text(70, 100, 'VEX V1', color='m')
plt.text(80, 1.5, 'VEX V3', color='y')