Skip to content
Snippets Groups Projects
Commit 3a9dae8e authored by tomrink's avatar tomrink
Browse files

snapshot...

parent 0088ea48
Branches
No related tags found
No related merge requests found
......@@ -16,7 +16,7 @@ def run_all(directory):
img_tiles = []
for idx, mfile in enumerate(mod_files):
if idx % 8 == 0:
if idx % 16 == 0:
w_o_ext, ext = os.path.splitext(mfile)
ifile = w_o_ext+'.highres'+ext
if not os.path.exists(ifile):
......@@ -60,7 +60,7 @@ def run(mod_res_filename, img_res_filename, mod_tiles, img_tiles):
mod_data = get_grid_values(mod_h5f, mod_param, 0, 0, None, mod_num_lines, mod_num_pixels, range_name=None)
img_data = get_grid_values(img_h5f, img_param, 0, 0, None, img_num_lines, img_num_pixels, range_name=None)
num_cntr_tiles = 1
num_cntr_tiles = 2
i_c = int(mod_num_pixels / num_cntr_tiles) # center
j_skip = int(mod_num_y_tiles / num_cntr_tiles) * mod_tile_width
for k in range(num_cntr_tiles):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment