示例#1
0
文件: mapit.py 项目: tonyyli/imapper2
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)
示例#2
0
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)
示例#3
0
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)