def read_model_table(modelfile):
infd = gzip.open(modelfile)<EOL>model = np.genfromtxt(infd,names=True)<EOL>infd.close()<EOL>return model<EOL>
This reads a downloaded TRILEGAL model file.

Parameters
----------

modelfile : str
    Path to the downloaded model file to read.

Returns
-------

np.recarray
    Returns the model table as a Numpy record array.