File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Exec/science/xrb_spherical/analysis Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -92,12 +92,12 @@ def track_flame_front(ds, metric):
9292 max_index = np .argmax (averaged_field )
9393
9494 # Now assuming flame moves forward in theta, find theta such that the field drops below some threshold of the averaged max
95- loc_index = averaged_field [max_index :] < metric .percent * max (averaged_field )
95+ loc_index = averaged_field [max_index :] <= metric .percent * max (averaged_field )
9696
9797 # Find the first theta that the field drops below the threshold.
9898 theta_loc = thetas [max_index :][loc_index ][0 ]
9999
100- # Returns 5 quantities
100+ # Returns 7 quantities
101101 # 1) file name of the dataset
102102 # 2) time in ms
103103 # 3) theta that corresponds to the flame front
You can’t perform that action at this time.
0 commit comments