Re: [Numpy-discussion] Extract groups of/individual bit values from UInt16 array

2010-10-12 Thread Philip Austin
On 10/12/2010 9:14 PM, Pinner, Luke wrote: > I'm working with some MODIS satellite imagery. MODIS data includes a > quality flag mask. For the particular dataset I'm working with, this is > a two dimensional unsigned 16 bit integer array. The quality flags are > stored as one or more bits in each

Re: [Numpy-discussion] Extract groups of/individual bit values from UInt16 array [SEC=UNCLASSIFIED]

2010-10-12 Thread Warren Weckesser
On Tue, Oct 12, 2010 at 11:14 PM, Pinner, Luke < luke.pin...@environment.gov.au> wrote: > I'm working with some MODIS satellite imagery. MODIS data includes a > quality flag mask. For the particular dataset I'm working with, this is > a two dimensional unsigned 16 bit integer array. The quality fl

[Numpy-discussion] Extract groups of/individual bit values from UInt16 array [SEC=UNCLASSIFIED]

2010-10-12 Thread Pinner, Luke
I'm working with some MODIS satellite imagery. MODIS data includes a quality flag mask. For the particular dataset I'm working with, this is a two dimensional unsigned 16 bit integer array. The quality flags are stored as one or more bits in each integer value: Bits are numbered from 0 (least sign