Skip to content

Commit

Permalink
Update nb_funcs.py
Browse files Browse the repository at this point in the history
Added BEX Model labels for planet mag overplot
  • Loading branch information
JarronL committed Apr 1, 2020
1 parent 2ba0d77 commit cfa8e14
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pynrc/nb_funcs.py
Original file line number Diff line number Diff line change
Expand Up @@ -750,7 +750,7 @@ def plot_contrasts(curves, nsig, wfe_list, obs=None, sat_rad=None, ax=None,
lin_vals = np.linspace(0.3,0.8,len(wfe_list))
colors = plt.cm.Blues_r(lin_vals)

for j, wfe_ref_drift in enumerate(wfe_list):
for j in range(len(wfe_list)): #for j, wfe_ref_drift in enumerate(wfe_list):
rr, contrast, mag_sens = curves[j]
xvals = rr[rr>sat_rad]
yvals = mag_sens[rr>sat_rad]
Expand Down Expand Up @@ -902,7 +902,7 @@ def plot_planet_patches(ax, obs, age=10, entropy=13, mass_list=[10,5,2,1], av_va

entropy_switch = {13:'Hot', 8:'Cold'}
entropy_string = entropy_switch.get(entropy, "Warm")
ent_str = entropy_string + ' Start'
ent_str = 'BEX Models' if linder else '{} Start'.format(entropy_string)

if av_vals is None:
av_str = ''
Expand Down

0 comments on commit cfa8e14

Please sign in to comment.