get_slice_from_parameters

zdm.analyze_cube.get_slice_from_parameters(data, plist, mcvals, verbose=False, wanted='ll')[source]

Selects from data according to parameters which are as close to those in the mcvals as possible.

Parameters:
  • data – .npz structure generated by slurp_cube

  • plist (list of strings) – is a list of strings giving parameters

  • mcvals (list of floats) – is a float list of values one wants to approximate

  • verbose (bool) – toggle output level

  • wanted – which column from the data to extract

Returns:

Array of NDIM=dim(data)-dim(plist) likelihood values