Others functions

pylenstool.keep_only_some_potentials(pf, pot_to_keep)

Removes every potential which is not in the list of IDs given in argument and returns a new parameter file.

Parameters:
pf : lenstool_param_file

pylenstool parameter file

pot_to_keep : list of string

List of potentials names

Returns:
pf_new : lenstool_param_file

Returns a new pylenstool parameter file