def hdr_vals_for_overscan(root):
with fits.open(root + '<STR_LIT>') as hdu:<EOL><INDENT>spthdr = hdu[<NUM_LIT:0>].header<EOL><DEDENT>with fits.open(root + '<STR_LIT>') as hdu:<EOL><INDENT>prihdr = hdu[<NUM_LIT:0>].header<EOL><DEDENT>xstart = spthdr['<STR_LIT>']<EOL>ystart = spthdr['<STR_LIT>']<EOL>xsize = spthdr['<STR_LIT>']<EOL>ysize = spthdr['<STR_LIT>']<EOL>ccdamp = prihdr['<STR_LIT>']<EOL>return ccdamp, xstart, ystart, xsize, ysize<EOL>
Retrieve header keyword values from RAW and SPT
    FITS files to pass on to :func:`check_oscntab` and
    :func:`check_overscan`.

    Parameters
    ----------
    root : str
        Rootname of the observation. Can be relative path
        to the file excluding the type of FITS file and
        extension, e.g., '/my/path/jxxxxxxxq'.

    Returns
    -------
    ccdamp : str
        Amplifiers used to read out the CCDs.

    xstart : int
        Starting column of the readout in detector
        coordinates.

    ystart : int
        Starting row of the readout in detector
        coordinates.

    xsize : int
        Number of columns in the readout.

    ysize : int
        Number of rows in the readout.