planckenv

class planckenv.PlanckEnvironment(w)[source]

Bases: pipelet.environment.Environment

Planck environment.

The Planck environment class provides additionnal facilities to the segment, related to pipeline output management (either data or plots).

get_lstibl(names)[source]

Return list of beam correction function files

get_range_from_parent()[source]

Parse binning from task input.

load_products(filename, glo, param_name='*')[source]

Update a namespace by unpickling requested object from the file.

>>> load_products(get_data_fn("test.pkl", seg="second"), globals(),['i'])
>>> print i
0
plot_map_in_pipe(Imap, what, name, mask=None, min=None, max=None, norm='hist')[source]

Make a mollview of the map in pipeline

plot_ps_subtraction(Imap, name, fit_cat, idx_bad, idx_good, beam, dset='full')[source]

Make some nice plots of the subtraction

write_alm(alms, fields, name)[source]

Write a list of TEB alms in 3 files

write_cat(cat, what, name)[source]

Write catalog in txt and skop format

write_model_in_txt(model, bins, em=None)[source]

Save SMICA model in APN txt files, and make a tarball

write_stats_in_txt(stats, nmodes, suffix='')[source]

Reshape 3D numpy array to 2D and save it in txt files.

Previous topic

planckdata

Next topic

Cloud

This Page