

def __init__(self, path, data, command_line):
    '\n        The structure differs significantly from other likelihoods, in order to\n        follow as simply as possible the data structure.\n\n        Each redshift bin in WiggleZ contains a .dataset file with information\n        on this redshift bin. The structure to read this has been encoded in\n        the class Likelihood_mpk. It will be used also with the next data\n        release of SDSS.\n\n        The whole WiggleZ is then made out of the four Likelihood_mpk:\n        WiggleZ_a, b, c and d, which are **defined dynamically** thanks to the\n        :func:`type` function in python, inheriting from\n        :class:`Likelihood_mpk`.\n\n        Some additional keyword arguments are sent to the initialization of\n        these classes, in order to use the function\n        :meth:`add_common_knowledge`. It then gives a dictionary of shared\n        attributes that should be distributed to all four redshift bins.\n\n        '
    Likelihood.__init__(self, path, data, command_line)
    for elem in ['a', 'b', 'c', 'd']:
        exec(("WiggleZ_%s = type('WiggleZ_%s', (Likelihood_mpk, ), {})" % (elem, elem)))
    self.wigglez_a = WiggleZ_a(os.path.join(self.data_directory, self.redshift_bins_files[0]), data, command_line, common=True, common_dict=self.dictionary)
    self.wigglez_b = WiggleZ_b(os.path.join(self.data_directory, self.redshift_bins_files[1]), data, command_line, common=True, common_dict=self.dictionary)
    self.wigglez_c = WiggleZ_c(os.path.join(self.data_directory, self.redshift_bins_files[2]), data, command_line, common=True, common_dict=self.dictionary)
    self.wigglez_d = WiggleZ_d(os.path.join(self.data_directory, self.redshift_bins_files[3]), self, command_line, common=True, common_dict=self.dictionary)

dataset/ETHPy150Open baudren/montepython_public/montepython/likelihoods/WiggleZ/__init__.py WiggleZ.__init__/VarMisuse@201/662 `data`->`self`