isofit.utils.extractions
Functions
|
Extract a small chunk of the image |
|
Module Contents
- extract_chunk(lstart: int, lend: int, in_file: str, labels: numpy.array, flag: float, reducer: FunctionType, logfile=None, loglevel='INFO')[source]
Extract a small chunk of the image
- Parameters:
lstart – line to start extraction at
lend – line to end extraction at
in_file – file to read image from
labels – labels to use for data read
flag – nodata value of image
logfile – logging file name
loglevel – logging level
- Returns:
array of output indices (based on labels) out_data: array of output data
- Return type:
out_index