qpym2.run.create_fit_input#

Create fit input related files.

TODO: we shouldn’t need to add the qpym2 path here if the module is installed properly. But for now, we need to add it to the path.

Module Contents#

Functions#

get_uv_transform

Get the uv transform for the shift type and value.

create_fit_input

Create the fit input files.

API#

qpym2.run.create_fit_input.get_uv_transform(shift, fname)#

Get the uv transform for the shift type and value.

Args:

shift (qpym2.cfg.fit_pars.Shift): shift fname (str): file name

Returns:

tuple: (u, v) transform

qpym2.run.create_fit_input.create_fit_input(cfg, write=True)#

Create the fit input files.

Args:

cfg (dict): configuration dictionary that holds all the configuration settings.

TODO: implement multiprocessing?