Class to store overflow pixels present
|
Methods
|
|
__getitem__ __init__ __len__ __str__ build
|
|
|
__getitem__
|
__getitem__ ( self, i )
Get the pixel index,value pair of the i'th overflow pixel
|
Exceptions
|
|
IndexError( "Not that many overflow pixels" )
|
|
|
|
__init__
|
__init__ (
self,
s,
numhighpix,
endian="<",
)
Constructor.
arguments:
- s
string representation of the overflow pixels
from the image file.
- endian
the endianness (either < or >) as
determined from the image header
|
|
|
__len__
|
__len__ ( self )
|
|
|
__str__
|
__str__ ( self )
|
|
|
build
|
build ( self, ovf )
|
|