Point Spread Function (photometry.psf
)
Point Spread Function (PSF).
Code author: Rasmus Handberg <rasmush@phys.au.dk>
- class photometry.psf.PSF(sector, camera, ccd, stamp)[source]
Bases:
object
Point Spread Function (PSF).
- camera
TESS camera (1-4).
- Type:
int
- ccd
TESS CCD (1-4).
- Type:
int
- stamp
The pixel sub-stamp used to generate PSF.
- Type:
tuple
- shape
Shape of pixel sub-stamp.
- Type:
tuple
- PSFfile
Path to PSF file that was interpolated in.
- Type:
string
- ref_column
Reference CCD column that PSF is calculated for.
- Type:
float
- ref_row
Reference CCD row that PSF is calculated for.
- Type:
float
- splineInterpolation
2D Interpolation to evaluate PSF on arbitrary position relative to center of PSF.
- Type:
scipy.interpolate.RectBivariateSpline
Code author: Rasmus Handberg <rasmush@phys.au.dk>
- __init__(sector, camera, ccd, stamp)[source]
Point Spread Function (PSF).
- Parameters:
sector (int) – TESS Observation sector.
camera (int) – TESS camera number (1-4).
ccd (int) – TESS CCD number (1-4).
stamp (4-tuple) – Sub-stamp on CCD to load PSF for.
Code author: Rasmus Handberg <rasmush@phys.au.dk>
- integrate_to_image(params, cutoff_radius=5)[source]
Integrate the underlying high-res PSF onto pixels.
- Parameters:
params (iterator, numpy.array) – List of stars to add to image. Should be an iterator where each element is an numpy array with three elements: row, column and flux.
cutoff_radius (float, optional) – Maximal radius away from center of star in pixels to integrate PSF model.
- Returns:
Image
- Return type:
numpy.array