Skip to content

Where should the PSF be centered for sending to SFFT? #163

@rknop

Description

@rknop

Right now, PipelineImage.get_psf does:

        wcs = self.image.get_wcs()
        x, y = wcs.world_to_pixel( ra, dec )
        ...
            self.psfobj = PSF.get_psf_object( psftype, x=x, y=y,
        ...
        stamp = self.psfobj.get_stamp( x, y )

I think, for purposes of SFFT, we want to have PSFs centered on a pixel. To accomplish this, we should be sending floor(x+0.5) to both get_psf_object and get_stamp.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions