[ ] search whether this kind of routine has already been implemented before
[ ] Implement this routine
[ ] first, check existence of the given parameter entry
[ ] This routine may be included in .core.Qprop20.get_list_of_calc_homes() to filter out at initial search for calculation directories
It may be implemented in a form of dict
whose each key is a parameter name
possibly followed by a colon and parameter file name in case there is an ambiguity e.g. ell-grid-size in both initial.param and propagate.param
if the parameter file name is not given, the uniqueness of the parameter name throughout the whole set of parameter files should be checked.
the value for each key can be either a scalar or a callable
if it is callable, the parameter value specified by the key is put as the input of callable and the validity can be checked by the returned boolean value of the callable.
if it is a scalar, say val, it is equivalent to a callable lambda x: x == val
To Do
.core.Qprop20.get_list_of_calc_homes()
to filter out at initial search for calculation directoriesIt may be implemented in a form of
dict
whose each key is a parameter name
ell-grid-size
in bothinitial.param
andpropagate.param
the value for each key can be either a scalar or a callable
val
, it is equivalent to a callablelambda x: x == val