def METHOD_NAME(self, extra_params):
    for key in extra_params:
        if key == "netName":
            self.netName = extra_params[key]
        elif key == "simMode":
            self.simMode = extra_params[key]
        elif key == "logMode":
            self.logMode = extra_params[key]
        elif key == "ithGPUs":
            self.ithGPUs = extra_params[key]
        elif key == "randSeed":
            self.randSeed = extra_params[key]
    self.network = CARLsim(self.netName, self.simMode, 
                            self.logMode, self.ithGPUs,
                            self.randSeed)
    self.initsuccess = True