Variables | |
all_max = np.amax(maxs) | |
all_mean = np.mean(means) | |
all_min = np.amin(mins) | |
denominator = all_mean - all_min | |
driver = gdal.GetDriverByName("GTiff") | |
ds = gdal.Open(inputs[i], gdal.GA_ReadOnly) | |
file_extension | |
filename | |
inputs = sys.argv[1:] | |
maxs = np.empty((num_sets), dtype=np.float32) | |
means = np.empty((num_sets), dtype=np.float32) | |
mins = np.empty((num_sets), dtype=np.float32) | |
int | num_channels = raster_count - 1 |
int | num_sets = len(sys.argv) - 1 |
raster_count = ds.RasterCount | |
values = np.empty((raster_count, y_size, x_size), dtype=np.float32) | |
x_size = ds.RasterXSize | |
y_size = ds.RasterYSize | |
scripts.normalize_multiple.all_max = np.amax(maxs) |
Definition at line 37 of file normalize_multiple.py.
scripts.normalize_multiple.all_mean = np.mean(means) |
Definition at line 35 of file normalize_multiple.py.
scripts.normalize_multiple.all_min = np.amin(mins) |
Definition at line 33 of file normalize_multiple.py.
Definition at line 39 of file normalize_multiple.py.
scripts.normalize_multiple.driver = gdal.GetDriverByName("GTiff") |
Definition at line 59 of file normalize_multiple.py.
scripts.normalize_multiple.ds = gdal.Open(inputs[i], gdal.GA_ReadOnly) |
Definition at line 14 of file normalize_multiple.py.
scripts.normalize_multiple.file_extension |
Definition at line 60 of file normalize_multiple.py.
scripts.normalize_multiple.filename |
Definition at line 60 of file normalize_multiple.py.
scripts.normalize_multiple.inputs = sys.argv[1:] |
Definition at line 7 of file normalize_multiple.py.
scripts.normalize_multiple.maxs = np.empty((num_sets), dtype=np.float32) |
Definition at line 10 of file normalize_multiple.py.
scripts.normalize_multiple.means = np.empty((num_sets), dtype=np.float32) |
Definition at line 9 of file normalize_multiple.py.
scripts.normalize_multiple.mins = np.empty((num_sets), dtype=np.float32) |
Definition at line 8 of file normalize_multiple.py.
int scripts.normalize_multiple.num_channels = raster_count - 1 |
Definition at line 19 of file normalize_multiple.py.
int scripts.normalize_multiple.num_sets = len(sys.argv) - 1 |
Definition at line 6 of file normalize_multiple.py.
scripts.normalize_multiple.raster_count = ds.RasterCount |
Definition at line 16 of file normalize_multiple.py.
tuple scripts.normalize_multiple.values = np.empty((raster_count, y_size, x_size), dtype=np.float32) |
Definition at line 21 of file normalize_multiple.py.
scripts.normalize_multiple.x_size = ds.RasterXSize |
Definition at line 17 of file normalize_multiple.py.
scripts.normalize_multiple.y_size = ds.RasterYSize |
Definition at line 18 of file normalize_multiple.py.