scifysim.confconverter module

scifysim.confconverter.convert_config_file(file_in, path_out, new_name=None, test=True)[source]

A simple routine to convert .prm config file to .ini config files

Paramters

  • file_in : the complet path of the file to convert

  • path_out : the destination directory (not including file name)

  • new_name : the new name to give the file (if None: change only extension)

  • test : If True, only print the result

example : convert_config_file("../../geniesim/examples/tau_Boo_89m.prm", "examples/", test=False)

scifysim.confconverter.set_logging_level(level=30)[source]