photutils/psf/tests/test_photometry.py
def make_fiducial_phot_obj(std=1, sigma_psf=1):
    """
    Produces a baseline DAOPhotPSFPhotometry object which is then
    modified as-needed in specific tests below
    """

    daofind = DAOStarFinder(threshold=5.0*std,
                            fwhm=sigma_psf*gaussian_sigma_to_fwhm)
    daogroup = DAOGroup(1.5*sigma_psf*gaussian_sigma_to_fwhm)
    sigma_clip = SigmaClip(sigma=3.)
    median_bkg = MedianBackground(sigma_clip)
    psf_model = IntegratedGaussianPRF(sigma=sigma_psf)
    fitter = LevMarLSQFitter()
    return DAOPhotPSFPhotometry(finder=daofind, group_maker=daogroup,
                                bkg_estimator=median_bkg,
                                psf_model=psf_model, fitter=fitter, niters=1,
                                fitshape=(11, 11))

    Produces a baseline DAOPhotPSFPhotometry object which is then
    modified as-needed in specific tests below
    
Produces a baseline DAOPhotPSFPhotometry object which is then
modified as-needed in specific tests below
Produces a baseline DAOPhotPSFPhotometry object which is then modified as - needed in specific tests below
def make_fiducial_phot_obj(std=1, sigma_psf=1):
    daofind = DAOStarFinder(threshold=5.0*std,
                            fwhm=sigma_psf*gaussian_sigma_to_fwhm)
    daogroup = DAOGroup(1.5*sigma_psf*gaussian_sigma_to_fwhm)
    sigma_clip = SigmaClip(sigma=3.)
    median_bkg = MedianBackground(sigma_clip)
    psf_model = IntegratedGaussianPRF(sigma=sigma_psf)
    fitter = LevMarLSQFitter()
    return DAOPhotPSFPhotometry(finder=daofind, group_maker=daogroup,
                                bkg_estimator=median_bkg,
                                psf_model=psf_model, fitter=fitter, niters=1,
                                fitshape=(11, 11))
def make_fiducial_phot_obj ( std = 1 , sigma_psf = 1 ) : daofind = DAOStarFinder ( threshold = 5.0 * std , fwhm = sigma_psf * gaussian_sigma_to_fwhm ) daogroup = DAOGroup ( 1.5 * sigma_psf * gaussian_sigma_to_fwhm ) sigma_clip = SigmaClip ( sigma = 3. ) median_bkg = MedianBackground ( sigma_clip ) psf_model = IntegratedGaussianPRF ( sigma = sigma_psf ) fitter = LevMarLSQFitter ( ) return DAOPhotPSFPhotometry ( finder = daofind , group_maker = daogroup , bkg_estimator = median_bkg , psf_model = psf_model , fitter = fitter , niters = 1 , fitshape = ( 11 , 11 ) )
Produces a baseline DAOPhotPSFPhotometry object which is then
modified as-needed in specific tests below
Produces a baseline DAOPhotPSFPhotometry object which is then modified as - needed in specific tests below
"""
    Produces a baseline DAOPhotPSFPhotometry object which is then
    modified as-needed in specific tests below
    """
std
sigma_psf