Skip to content

Commit

Permalink
Minor simplification
Browse files Browse the repository at this point in the history
  • Loading branch information
lidakanari committed Jun 1, 2018
1 parent 4230592 commit 1252b86
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions tmd/Topology/analysis.py
Original file line number Diff line number Diff line change
Expand Up @@ -81,9 +81,7 @@ def persistence_image_data(ph, norm_factor=None, xlims=None, ylims=None):
if norm_factor is None:
norm_factor = np.max(Z)

Zn = Z / norm_factor

return Zn
return Z / norm_factor


def img_diff_data(Z1, Z2, norm=True):
Expand Down

0 comments on commit 1252b86

Please sign in to comment.