Skip to content

Commit

Permalink
Recenter SFH bins
Browse files Browse the repository at this point in the history
  • Loading branch information
clairekope committed Feb 9, 2023
1 parent c558c49 commit 58d2071
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion save_sfh.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
latest_output = sorted(glob.glob("DD????/DD????"))[-1]
ds = yt.load(latest_output)

bins = np.arange(0, 4e9, 5e7)
bins = np.arange(-2.5e7, 4e9+5e7, 5e7) # bins centered on data outputs

if all([field in ds.field_list for field in calc_sfr.required_fields]):

Expand Down

0 comments on commit 58d2071

Please sign in to comment.