def make_synthetic_spectrum(X, pars):
    """
    Make a synthesized (model) spectrum from a design matrix and the
    nuisance parameters. For example, the parameters might be a shift
    and two scales.
    """
    return X.T.dot(pars)