apply_mask
call apply_mask( map, ordering[, mask=, zbounds=] )
name & dimensionality | kind | in/out | description |
---|---|---|---|
map(0:npix-1,1:p) | SP/ DP | INOUT | HEALPix map(s) on which the mask(s) and/or cut will be applied. The map will obviously be modified on output if either mask or zbounds are provided. |
ordering | I4B | IN | HEALPix scheme of the map(s) (and mask(s)) 1:RING, 2: NESTED (relevant for zbounds). |
mask(0:npix-1,1:q) OPTIONAL | SP/ DP | IN | pixel mask(s). Should have the same ordering and number of pixels (npix) as map. If several maps are provided (p>1), each map is multiplied by its respective mask, and if there are fewer masks than maps (q<p) the last mask is duplicated as many times as necessary to match the number of maps. |
zbounds(1:2) OPTIONAL | DP | IN | section of the map to be set to 0, expressed in terms of
![]() ![]() |
Will set to 0 pixels of the input (RING ordered) map lying in the strip.
Version 3.50, 2018-12-10