@classmethod
def parseKwargs(cls, config_psf, logger):
    """Parse the psf field of a configuration dict and return the kwargs to use for
        initializing an instance of the class.

        :param config_psf:      The psf field of the configuration dict, config['psf']
        :param logger:          A logger object for logging debug info. [default: None]

        :returns: a kwargs dict to pass to the initializer
        """
    import piff
    config_psf = config_psf.copy()
    config_psf.pop('type', None)
    nproc = config_psf.pop('nproc', 1)
    config_psf['type'] = config_psf.pop('single_type', 'Simple')
    single_psf = piff.PSF.process(config_psf, logger)
    return {'single_psf': single_psf, 'nproc': nproc}
