Skip to content

Commit

Permalink
Merge pull request #411 from sot/penalty-plot-range
Browse files Browse the repository at this point in the history
Set plot ymin relative to planning not penalty limit
  • Loading branch information
jeanconn authored Jul 19, 2023
2 parents 2b6a98d + 78ff636 commit f72318e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion starcheck/calc_ccd_temps.py
Original file line number Diff line number Diff line change
Expand Up @@ -520,7 +520,7 @@ def make_check_plots(outdir, states, times, temps, tstart, tstop, char):
logger.info('Making temperature check plots')
for fig_id, msid in enumerate(('aca',)):
temp_ymax = max(char.aca_t_ccd_planning_limit, np.max(temps))
temp_ymin = min(char.aca_t_ccd_penalty_limit, np.min(temps))
temp_ymin = min(char.aca_t_ccd_planning_limit - 1, np.min(temps))
plots[msid] = plot_two(fig_id=fig_id + 1,
x=times,
y=temps,
Expand Down

0 comments on commit f72318e

Please sign in to comment.