ibllib.io.params

ibllib.io.params.getfile(str_params)
Returns full path of the param file per system convention:
linux/mac: ~/.str_params, Windows: APPDATA folder
Parameters:str_params – string that identifies parm file
Returns:string of full path
ibllib.io.params.read(str_params, default=None)

Reads in and parse Json parameter file into dictionary

Parameters:
  • str_params – path to text json file
  • default – default values for missing parameters
Returns:

named tuple containing parameters

ibllib.io.params.write(str_params, par)

Write a parameter file in Json format

Parameters:
  • str_params – path to text json file
  • par – dictionary containing parameters values
Returns:

None