def get_eigen(osi, solver='genBandArpack', n=1):
    """Gets a list eigen values"""
    parameters = [f'-{solver}', n]
    outs = osi.to_process('eigen', parameters)
    if not hasattr(outs, '__len__'):
        return [outs]
    return outs
