def save_powercyl(kprp, kpar, pcyl, params, idx=None): fpath = "{:s}/{:s}_cyl".format(params['io']['output_folder'], params['io']['fname_powerspectrum']) if idx is not None: fpath += "_{:d}".format(idx) fpath += ".npz" fn.save_powercyl(fpath, kprp, kpar, pcyl)
def save_powercyl(kprp, kpar, pcyl, params): fpath = "%s/%s_cyl.npz" % (params['io']['output_folder'], params['io']['fname_powerspectrum']) fn.save_powercyl(fpath, kprp, kpar, pcyl)