get_timing¶
- sofia_redux.instruments.fifi_ls.pointing_discard.get_timing(primehead)[source]¶
Set up the pointing-discard-feature by calculating the duration of one ramp and grating position. The duration of the ramp and grating position is calculated by extracting the corresponding keywords from the FITS header of the currently loaded FITS file.
- Parameters:
- primeheadastropy.io.fits.Header
Primary header of the loaded FITS file.
- Returns:
- dt_ramp, dt_gratingfloat, float
Duration in seconds of one ramp and one grating position.