'Loads a pickle.'

@staticmethod
def LoadPickle(inputfile, key=None, verbose=False):

    fo = gzip.GzipFile(inputfile, 'rb')
    spec = pickle.load(fo)
    if key:
        spec = spec[key].T
    fo.close()
    return spec
