Commit 45cab2ca authored by Unknown's avatar Unknown
Browse files

More PEP8

parent df724721
......@@ -208,7 +208,7 @@ def getIndicesforPlotGroup(h5_udvs_inds, ds_udvs, plt_grp_name):
step_bin_indices[indx, :] = np.where(spec_ind_udvs_step_col == step)[0]
oneD_indices = step_bin_indices.reshape((step_bin_indices.shape[0] * step_bin_indices.shape[1]))
return (step_bin_indices, oneD_indices, udvs_plt_grp_col)
return step_bin_indices, oneD_indices, udvs_plt_grp_col
def reshapeToOneStep(raw_mat, num_steps):
......
......@@ -369,8 +369,10 @@ def apply_find(file_path_h5, file_name_h5, file_path_png, file_name_png, filter_
for k1 in range(-filter_width, filter_width + 1):
for k2 in range(-filter_width, filter_width + 1):
mat_large[filter_width - k1:-(filter_width + k1) - 1,
filter_width - k2:-(filter_width + k2) - 1] = np.minimum(mat_large[filter_width - k1:-filter_width - k1 - 1,
filter_width - k2:-filter_width - k2 - 1],
filter_width - k2:-(filter_width + k2) - 1] = np.minimum(mat_large[filter_width - k1:
-filter_width - k1 - 1,
filter_width - k2:
-filter_width - k2 - 1],
h5_image)
deconv_mat_temp = mat_large[filter_width:len(mat_larg[1, :]) - filter_width,
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment