Variables | |
list | ax = axes.flat[counter] |
list | csvfile = sys.argv[1] |
dictionary | data |
list | data_array = data_by_k[k] |
tuple | data_by_k = dict() |
list | i = data["i"] |
tuple | i_index = index.index("i") |
tuple | i_s = sorted(set([data["i"] for data in data_array])) |
tuple | im |
tuple | image = np.arange(0, xnum * ynum, 1.0) |
list | image_file = sys.argv[2] |
tuple | images = dict() |
tuple | index = reader.next() |
list | j = data["j"] |
tuple | j_index = index.index("j") |
tuple | j_s = sorted(set([data["j"] for data in data_array])) |
tuple | k_index = index.index("k") |
tuple | k_num = len(data_by_k.keys()) |
tuple | max_value = max([data["value"] for data in data_array]) |
tuple | max_x = max([data["x"] for data in data_array]) |
tuple | max_y = max([data["y"] for data in data_array]) |
tuple | max_z = np.amax(z_values) |
tuple | min_i = min([data["i"] for data in data_array]) |
tuple | min_j = min([data["j"] for data in data_array]) |
tuple | min_value = min([data["value"] for data in data_array]) |
tuple | min_x = min([data["x"] for data in data_array]) |
tuple | min_y = min([data["y"] for data in data_array]) |
tuple | min_z = np.amin(z_values) |
int | non_zero_counter = 0 |
tuple | reader = csv.reader(f) |
tuple | step = (max_z - min_z) |
tuple | value_index = index.index("value") |
tuple | x_index = index.index("x") |
tuple | xnum = len(i_s) |
tuple | y_index = index.index("y") |
tuple | ynum = len(j_s) |
tuple | z_index = index.index("z") |
tuple | z_values |
list plot_ik_grid::ax = axes.flat[counter] |
Definition at line 91 of file plot_ik_grid.py.
list plot_ik_grid::csvfile = sys.argv[1] |
Definition at line 13 of file plot_ik_grid.py.
dictionary plot_ik_grid::data |
00001 {"x": x, 00002 "y": y, 00003 "z": z, 00004 "i": i, 00005 "j": j, 00006 "k": k, 00007 "value": value}
Definition at line 41 of file plot_ik_grid.py.
list plot_ik_grid::data_array = data_by_k[k] |
Definition at line 69 of file plot_ik_grid.py.
tuple plot_ik_grid::data_by_k = dict() |
Definition at line 20 of file plot_ik_grid.py.
list plot_ik_grid::i = data["i"] |
Definition at line 85 of file plot_ik_grid.py.
tuple plot_ik_grid::i_index = index.index("i") |
Definition at line 29 of file plot_ik_grid.py.
tuple plot_ik_grid::i_s = sorted(set([data["i"] for data in data_array])) |
Definition at line 70 of file plot_ik_grid.py.
tuple plot_ik_grid::im |
00001 ax.imshow(image, vmin=min_value, vmax=max_value, cmap="gnuplot", interpolation="none", 00002 aspect="auto", 00003 extent=[min_x-step/2, max_x+step/2, min_y-step/2, max_y+step/2])
Definition at line 99 of file plot_ik_grid.py.
tuple plot_ik_grid::image = np.arange(0, xnum * ynum, 1.0) |
Definition at line 83 of file plot_ik_grid.py.
Definition at line 15 of file plot_ik_grid.py.
tuple plot_ik_grid::images = dict() |
Definition at line 66 of file plot_ik_grid.py.
tuple plot_ik_grid::index = reader.next() |
Definition at line 24 of file plot_ik_grid.py.
list plot_ik_grid::j = data["j"] |
Definition at line 86 of file plot_ik_grid.py.
tuple plot_ik_grid::j_index = index.index("j") |
Definition at line 30 of file plot_ik_grid.py.
tuple plot_ik_grid::j_s = sorted(set([data["j"] for data in data_array])) |
Definition at line 71 of file plot_ik_grid.py.
tuple plot_ik_grid::k_index = index.index("k") |
Definition at line 31 of file plot_ik_grid.py.
tuple plot_ik_grid::k_num = len(data_by_k.keys()) |
Definition at line 52 of file plot_ik_grid.py.
tuple plot_ik_grid::max_value = max([data["value"] for data in data_array]) |
Definition at line 77 of file plot_ik_grid.py.
tuple plot_ik_grid::max_x = max([data["x"] for data in data_array]) |
Definition at line 79 of file plot_ik_grid.py.
tuple plot_ik_grid::max_y = max([data["y"] for data in data_array]) |
Definition at line 81 of file plot_ik_grid.py.
tuple plot_ik_grid::max_z = np.amax(z_values) |
Definition at line 60 of file plot_ik_grid.py.
tuple plot_ik_grid::min_i = min([data["i"] for data in data_array]) |
Definition at line 74 of file plot_ik_grid.py.
tuple plot_ik_grid::min_j = min([data["j"] for data in data_array]) |
Definition at line 75 of file plot_ik_grid.py.
tuple plot_ik_grid::min_value = min([data["value"] for data in data_array]) |
Definition at line 76 of file plot_ik_grid.py.
tuple plot_ik_grid::min_x = min([data["x"] for data in data_array]) |
Definition at line 78 of file plot_ik_grid.py.
tuple plot_ik_grid::min_y = min([data["y"] for data in data_array]) |
Definition at line 80 of file plot_ik_grid.py.
tuple plot_ik_grid::min_z = np.amin(z_values) |
Definition at line 59 of file plot_ik_grid.py.
int plot_ik_grid::non_zero_counter = 0 |
Definition at line 67 of file plot_ik_grid.py.
tuple plot_ik_grid::reader = csv.reader(f) |
Definition at line 23 of file plot_ik_grid.py.
tuple plot_ik_grid::step = (max_z - min_z) |
Definition at line 62 of file plot_ik_grid.py.
tuple plot_ik_grid::value_index = index.index("value") |
Definition at line 32 of file plot_ik_grid.py.
tuple plot_ik_grid::x_index = index.index("x") |
Definition at line 26 of file plot_ik_grid.py.
tuple plot_ik_grid::xnum = len(i_s) |
Definition at line 72 of file plot_ik_grid.py.
tuple plot_ik_grid::y_index = index.index("y") |
Definition at line 27 of file plot_ik_grid.py.
tuple plot_ik_grid::ynum = len(j_s) |
Definition at line 73 of file plot_ik_grid.py.
tuple plot_ik_grid::z_index = index.index("z") |
Definition at line 28 of file plot_ik_grid.py.
tuple plot_ik_grid::z_values |
00001 np.array(list(chain.from_iterable([[data["z"] for data in data_array] 00002 for data_array in data_by_k.values()])))
Definition at line 57 of file plot_ik_grid.py.