lib.Qscene module
- class lib.Qscene.QubicScene(d)[source]
Bases:
SceneHealpixCMB- Attributes:
allGive access to the unpacked attributes, without creating a cyclic reference.
indexReturn the index as an int array.
- removed
Methods
copy()Return a deep copy of the packed array.
empty()Return a new array as described by the scene, without initializing entries.
gather(*args)MPI-gather the (already scattered) table or a given array.
get_distribution_operator(comm)Distribute a global scene, of which each MPI process has a copy, to the MPI processes.
get_unit_conversion_operator(nu)Return an operator to convert sky temperatures into W / m^2 / Hz / pixel.
ones()Return a new array as described by the scene, filled with ones.
pack(x[, out, copy])Convert a multi-dimensional array into a 1-dimensional array which only includes the selected components, potentially ordered according to a given ordering.
scatter([comm])MPI-scatter of the table.
split(n)Split the table in partitioning groups.
unpack(x[, out, missing_value, copy])Convert a 1-dimensional array into a multi-dimensional array which includes the non-selected components, mimicking the multi-dimensional layout.
zeros()Return a new array as described by the scene, filled with zeros.