"""
Utility functions for pulse2percept
"""


class Parameters(object):
    def __init__(self, **params):
        for k, v in params.items():
            self.__dict__[k] = v

"""
Utility functions for pulse2percept
"""


class Parameters(object):
    def __init__(self, **params):
        for k, v in params.items():
            self.__dict__[k] = v

    def __repr__(self):
        for k, v in params.items():
            print("%s : %s" % (k, v))

Implement the repr.