sot / starcheck

BSD 3-Clause "New" or "Revised" License
3 stars 0 forks source link

Set plot ymin relative to planning not penalty limit #411

Closed jeanconn closed 1 year ago

jeanconn commented 1 year ago

Description

Set ACA t_ccd model temperature plot ymin relative to planning not penalty limit. This will be useful if the penalty limit is removed.

Interface impacts

Testing

Unit tests

Functional tests

I set a local version of the ACA thermal model chandra_model to have planning limit -15 and penalty limit 0C and ran on the JUL1723A schedule.

ccd_temperature_mock_15

This is the JUL1723A output with the current thermal model limits

ccd_temperature_jul1723

As expected, this PR sets the Y minimum to the minimum of the data or the planning limit - 1. I needed to move the planning limit lower to see that the plot change, as most schedules have a data range in which the y min on the plot is driven by the y min of the model data.