isofit.utils.extractions ======================== .. py:module:: isofit.utils.extractions Functions --------- .. autoapisummary:: isofit.utils.extractions.extract_chunk isofit.utils.extractions.extractions Module Contents --------------- .. py:function:: extract_chunk(lstart: int, lend: int, in_file: str, labels: numpy.array, flag: float, reducer: FunctionType, logfile=None, loglevel='INFO') Extract a small chunk of the image :param lstart: line to start extraction at :param lend: line to end extraction at :param in_file: file to read image from :param labels: labels to use for data read :param flag: nodata value of image :param logfile: logging file name :param loglevel: logging level :returns: array of output indices (based on labels) out_data: array of output data :rtype: out_index .. py:function:: extractions(inputfile, labels, output, chunksize, flag, reducer: FunctionType, n_cores: int = 1, ray_address: str = None, ray_redis_password: str = None, ray_temp_dir: str = None, ray_ip_head=None, logfile: str = None, loglevel: str = 'INFO') ...