|
|
__init__(self,
url=None)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature |
|
|
|
|
shape(self)
Shape the array based on the cube type |
|
|
|
|
getPixel(self,
line,
sample,
band)
Get an individual pixel at the specified line, sample, & band |
|
|
|
|
getBandRaw(self,
band)
Get an array of (lines x samples) at the specified band |
|
|
|
|
getSpectraRaw(self,
line,
sample)
Get the spectra at the given pixel |
|
|
|
|
|
|
|
getFocalPlaneDepthRaw(self,
sample,
band)
Get an array of values at constant line, the given sample and band |
|
|
|
|
|
|
|
getBandBoundary(self)
return the number of items you have to add to a flat version of the
data until you reach the next band in the data |
|
|
|
|
flatToLocation(self,
pos)
Convert the flat index to a tuple of line,sample,band |
|
|
|
|
locationToFlat(self,
line,
sample,
band)
Convert location (line,sample,band) to flat index |
|
|
|
Inherited from Cube:
__str__,
fileExists,
getBadBandList,
getBand,
getBandInPlace,
getBandListByWavelength,
getFlatView,
getFocalPlaneDepthInPlace,
getFocalPlaneInPlace,
getLineOfSpectra,
getSpectra,
getSpectraInPlace,
getUpdatedExtrema,
getWavelengthStr,
guessDisplayBands,
guessScaleFactor,
guessWavelengthUnits,
initialize,
initializeMmap,
initializeOffset,
initializeRaw,
initializeSizes,
isDataLoaded,
normalizeUnits,
normalizeUnitsTo,
open,
save,
setURL,
updateExtrema,
verifyAttributes
Inherited from object:
__delattr__,
__getattribute__,
__hash__,
__new__,
__reduce__,
__reduce_ex__,
__repr__,
__setattr__
|