Skip to content

Commit

Permalink
save searched area array along with plots (ML4GW#146)
Browse files Browse the repository at this point in the history
  • Loading branch information
ravioli1369 authored Oct 10, 2024
1 parent 77fe28d commit 1055bb5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions amplfi/train/models/flow.py
Original file line number Diff line number Diff line change
Expand Up @@ -185,3 +185,4 @@ def on_test_epoch_end(self):
plt.ylabel("Cumulative Probability")
plt.title("Searched Area Cumulative Distribution Function")
plt.savefig(self.outdir / "searched_area.png")
np.save(self.outdir / "searched_area.npy", searched_areas)

0 comments on commit 1055bb5

Please sign in to comment.