Commit a61cb0dc authored by Philipp Frank's avatar Philipp Frank
Browse files

remove unused

parent a5163dff
Pipeline #109310 passed with stages
in 18 minutes and 4 seconds
......@@ -209,28 +209,3 @@ def strip_oversampling(res, ofac):
dom = domt, vv.domain[1]
res[kk] = ift.makeField(dom, vv.val[:n])
return ift.MultiField.from_dict(res)
#FIXME unused
def load_skysample(pre, ii, sky, ofac, strip=True):
fname = f'{pre}samples.h5'
dom = sky.domain
ss = load_hdf5_lst(fname, domain=dom, index=ii)
pos = load_hdf5(f'{pre}position.h5', dom)
res = sky(pos+ss)
if strip:
res = strip_oversampling(res, ofac)
return res
#FIXME unused
def load_skysamples(pre, sky, ofac=1):
fname = f'{pre}samples.h5'
dom = sky.domain
samples = load_hdf5_lst(fname, domain=dom)
pos = load_hdf5(f'{pre}position.h5', dom)
res = []
for samp in samples:
rr = sky(pos+samp)
if ofac != 1:
rr = strip_oversampling(rr, ofac)
res.append(rr)
return res
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment