def extract_spectrum(fit_table, binNumber):
    """
    Get the ``NBurst`` fitted spectrum for a given bin number.
    Parameters
    ----------
    fit_table :
        the fit_table containg the fitted spectra
    binNumber : int
        the binNumber
    Returns
    -------
    tuple of :class:`~numpy:numpy.ndarray`
        the wavelength axis (in Angstroms) and fitted spectrum
    """
    axis = fit_table['WAVE'][binNumber,:]
    fit = fit_table['FIT'][binNumber,:]
    return axis,fit