@classmethod
def load(cls, config_file):
    """ Load experiment parameters from a JSON configuration file

        Parameters
        ----------
        config_file: string
            path to a JSON configuration file

        Returns
        -------
        dictionary (or list of dictionaries) of parameters to pass to a behavior
        """
    try:
        import simplejson as json
    except ImportError:
        import json
    with open(config_file, 'rb') as config:
        parameters = json.load(config)
    return parameters
