Skip to content

Commit

Permalink
name figure by probability range
Browse files Browse the repository at this point in the history
  • Loading branch information
liamconnor committed Aug 27, 2018
1 parent 17087ab commit 1239c84
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions single_pulse_ml/plot_tools.py
Original file line number Diff line number Diff line change
Expand Up @@ -199,11 +199,13 @@ def plot_multiple_ranked(argin, nside=5, fnfigout='ranked_trig',
prob_sub = probability_[nside**2*ii:nside**2*(ii+1)]
pmin, pmax = prob_sub.min(), prob_sub.max()

fnfigout_ = fnfigout+'prob:%.2f-%.2f.pdf' % (pmin, pmax)
print("Saving to %s" % fnfigout)

plot_ranked_trigger(data_sub, prob_sub,
h=nside, w=nside, ascending=ascending,
outname=fnfigout_, cmap=None)
fnfigout_ = fnfigout+'prob:%.2f-%.2f.pdf' % (pmin, pmax)
print("Saving to %s" % fnfigout)


def plot_image_probabilities(FT_arr, DT_arr, FT_prob_spec, DT_prob_spec):

Expand Down

0 comments on commit 1239c84

Please sign in to comment.