Closed matthewdahmer closed 4 years ago
@taldcroft I updated the plot_data__time()
function in the MSIDStatePower component to show the boolean dvals
data instead of the power values. I re-ran the unit tests on MacOS and re-ran a functional test using xija_gui_fit. Thank you for reviewing this PR!
Please see the note here: https://github.com/sot/skare3/wiki/Shiny-Ska3-testing#xija regarding promotion of this new functionality.
This update adds the ability to apply a heat power shift when a state msid matches a specified value.
Description
In fitting a new fuel tank model, I found that there is a dependency on the SSR-B state, which can’t be accounted for in Xija without a new heat component. Since I anticipate using this type of state-based heat input for other models in other locations, I built a new flexible Xija heat component that can be defined to use a user-selected msid and state pair.
Here is an example that covers the key information one needs to use this update in the JSON model definition:
In the “comps” section:
In the “pars” section:
Here is a link to a model that uses this new component: https://github.com/sot/chandra_models/blob/abaa609805431d72da9d4bc949ed5a5c7feb75d4/chandra_models/xija/pftank2t/pftank2t_spec.json
Doc string for this method copied here for convenience:
Testing