Sunteți pe pagina 1din 20

Reducción de los datos fotométricos

con

IRAF

Maja Vuckovic

maja.vuckovic@uv.cl

Claus Tappert

claus.tappert@uv.cl

Amelia Bayo

amelia.bayo@uv.cl

25 Julio 2018

Un poco de repetición de lo que hemos hecho antes…


Aperture photometry with IRAF
ecl> noao

noao> digiphot

digiphot> apphot

apphot> epar datapars

To set valid data range, read noise, gain (number of e-/ADU), noise
model and names of key FITS header parameters.
apphot> epar datapars

To set valid data range, read noise, gain (number of e-/ADU), noise
model and names of key FITS header parameters.

This example is for the CTIO 0.9-m telescope.

This example is for the Las Campanas 1-m telescope

apphot> epar fitskypars

To set the sky fitting algorithm (“median” or “mode” better

than “mean”) and the sky annulus parameters.

Exiting an option list is done via “:q”

apphot> epar photpars

To specify the list of aperture radii in pixels. You can decide


later which aperture is best for the night in question.

apphot> epar photpars

To specify the list of aperture radii in pixels. You can decide


later which aperture is best for the night in question.

Now we’re ready to obtain some aperture magnitudes with

IRAF’s apphot task “phot”. You put the little circle on a

star in your SAOimage (ds9) window and hit the space bar.

apphot> epar photpars

To specify the list of aperture radii in pixels. You can decide


later which aperture is best for the night in question.

do it one by one!
Now we’re ready to obtain some aperture magnitudes with

IRAF’s apphot task “phot”. You put the little circle on a

star in your SAOimage (ds9) window and hit the space bar.

For crowded fields you have to reduce your photometry with


DAOPHOT or DOPHOT. This involves determining the point spread
function PSF of the instrument. The PSF can vary with position in

a frame or from frame to frame.

Plots made with IRAF task “imexam” with options r (for

radial plot, left) or s (for surface plot, right).

epar phot:

image = "filename.fits" The input image(s)

skyfile = "" The input sky file(s)

(coords = "") The input coordinate files(s) (default: image.coo.#)

(output = "default") The output photometry file(s) (default: image.mag.#)

(plotfile = "") The output plots metacode file

(datapars = "") Data dependent parameters

(centerpars = "") Centering parameters

(fitskypars = "") Sky fitting parameters

(photpars = "") Photometry parameters

(interactive = yes) Interactive mode ?

(radplots = yes) Plot the radial profiles in interactive mode ?

(icommands = "") Image cursor: [x y wcs] key [cmd]

(gcommands = "") Graphics cursor: [x y wcs] key [cmd]

(wcsin = )_.wcsin) The input coordinate system (logical,tv,physical,world)

(wcsout = )_.wcsout) The output coordinate system (logical,tv,physical)

(cache = )_.cache) Cache the input image pixels in memory ?

(verify = )_.verify) Verify critical parameters in non-interactive mode

(update = )_.update) Update critical parameters in non-interactive mode

(verbose = )_.verbose) Print messages in non-interactive mode ?

(graphics = )_.graphics) Graphics device

(display = )_.display) Display device

(mode = "ql")

“interactive” & “radplots” “yes” for the first time you run phot, later keep it as “no”

datapars, centerpars, fitskypars, and photpars -> “:e”


Crear un archivo con coordenadas (X, Y) de todas las estrellas que
quieran medir fotometría, una por linea y llamanlo coordlist

Por ejemplo mi archivo coordlist tiene 5 estrellas (x y):

700.997 198.063

84.142 83.368

483.914 211.364

324.588 103.337

483.802 103.839

Hacer photometría con phot y el archivo coordlist donde tienen las


coordenadas iniciales:

phot filename.fits coords=coordlist


Para tomar la información que quieren del archivo creado por phot
con IRAF usar el commando txdump:

txdump filename.fits.mag.1 id,sum,msky,area yes > filename.dump

aqui paramos en el

6-6-2018
El archivo filename.dump tiene siguiente contenido:

1 306337.7 106.1197 154.3701

2 46248.84 91.86384 154.0862

Ahora, toman la información de las coordenadas de las estrellas que


calcula el phot (está escrito en el filename.fits.mag.1):

txdump filename.fits.mag.1 xcenter,ycenter yes > coordlist

Copiar este archivo para tener cuenta de las coordenadas en cada


imagen que se van a usar para la fotometría:

cp coordlist filename.coo
Ahora, con las coordenadas actualizadas hacer fotometría el la
siguiente imagen con phot:

phot filename2.fits coords=coordlist

En esta manera iterativa hacer la fotometría de todas las imagines.

Al fin deberían tener archivos:

filename*.fit.mag.1

filename*.dump

filename*.coo

Tarea para la prueba

(esto vale 1/3 de la prueba de fotometría)

• Obtener la fotometría de apertura con “phot” para todas las


estrellas seleccionadas para todas la imagines usando
diferentes aperturas:
1.3 FWHM, 1.5 FWHM, 1.8 FWHM, 2.0 FWHM y 2.5 FWHM

• Deducir cuál de las diferentes aperturas es la más óptima

• Obtener y graficár las curvas de luz en magnitudes


instrumentales y sus errores

• Determinar cuál de las estrellas son optimas para usar como


las estrellas de comparación

• Graficár las curvas de luz con magnitudes diferenciales y sus


errores

Plot of light curves of 3 stars with the instrumental magnitude with phot
Plot of light curves of 3 stars with the differential magnitude

S-ar putea să vă placă și