ptypy.utils.parameters.asParam#

ptypy.utils.parameters.asParam(obj)#

Convert the input to a Param.

Parameters:
  • a (dict_like) – Input structure, in any format that can be converted to a Param.

  • Returns

  • out (Param) – The Param structure built from a. No copy is done if the input is already a Param.