generate_stripe_int_times
- jwst.lib.stripe_utils.generate_stripe_int_times(input_model)[source]
Move input model INT_TIMES to stripe table, then condense ints to parent frame.
Each output integration in the parent frame will have the start time from the first stripe readout and the end time from the last stripe readout included in the integration. The mid time for the integration is assigned to the average of the start and end times.
- Parameters:
- input_model
RampModel The model with updated data array shapes matching a parent frame, e.g. full frame or a subarray, which consist of multiple superstripe integrations.
- input_model
- Returns:
RampModelThe model now with two INT_TIMES tables - one reflecting per-stripe information, preserved from input, and one reflecting times corresponding to the new parent frames.