def update_level_monitor(self, irradiation, level, monitor_name, monitor_material, monitor_age, lambda_k):
    path = self.get_level_path(irradiation, level)
    obj = dvc_load(path)
    positions = self._get_level_positions(irradiation, level)
    options = {'monitor_name': monitor_name, 'monitor_material': monitor_material, 'monitor_age': monitor_age}
    decay_constants = {'lambda_k_total': lambda_k, 'lambda_k_total_error': 0}
    for p in positions:
        p['options'] = options
        p['decay_constants'] = decay_constants
    obj['positions'] = positions
    dvc_dump(obj, path)
def update_level_monitor(self, irradiation, level, monitor_name, monitor_material, monitor_age, lambda_k):
    path = self.get_level_path(irradiation, level)
    obj = dvc_load(path)
    positions = self._get_level_positions(irradiation, level)
    options = {'monitor_name': monitor_name, 'monitor_material': monitor_material, 'monitor_age': monitor_age}
    decay_constants = {'lambda_k_total': lambda_k, 'lambda_k_total_error': 0}
    for p in positions:
        p['options'] = options
        p['decay_constants'] = decay_constants
    obj['positions'] = positions
    dvc_dump(obj, path)