Skip to content

Commit

Permalink
local moments
Browse files Browse the repository at this point in the history
  • Loading branch information
jonahm-LANL committed Dec 8, 2024
1 parent 1e2eeb2 commit 0decec3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions script/analysis/hdf5_to_dict.py
Original file line number Diff line number Diff line change
Expand Up @@ -391,6 +391,7 @@ def load_dump(fname, geom=None, nulegacy=False):
dump['Gnu'] = dfile['Gnu'][:]
dump['local_Ns'] = dfile['local_Ns'][:]
dump['local_wsqr'] = dfile['local_wsqr'][:]
dump['local_moments'] = dfile['local_moments'][:]
wmean = dump['local_angles'].sum(axis=3) / dump['local_Ns']
Ns = dump['local_Ns'][:]
wb2N = Ns*wmean*wmean
Expand Down

0 comments on commit 0decec3

Please sign in to comment.