minimise_const_only

zdm.iteration.minimise_const_only(vparams: dict, grids: list, surveys: list, Verbose=False, use_prev_grid: bool = True, update=False)[source]

Only minimises for the constant, but returns the full likelihood It treats the rest as constants the grids must be initialised at the currect values for pset already

Parameters:
  • vparams (dict) – Parameter dict. Can be None if nothing has varied.

  • grids (list) – List of grids

  • surveys (list) – List of surveys A bit superfluous as these are in the grids..

  • Verbose (bool, optional) – [description]. Defaults to True.

  • use_prev_grid (bool, optional) – If True, make use of the previous grid when looping over them. Defaults to True.

Raises:
Returns:

newC,llC,lltot

Return type:

tuple