get_tmeasure

stcal.resample.utils.get_tmeasure(model)[source]

Get tmeasure from datamodel.

Check if the measurement_time keyword is present in the datamodel for use in exptime weighting. If not, revert to using exposure_time.

Returns a tuple of (exptime, is_measurement_time)