You are on page 1of 12

RIZAL TECHNOLOGICAL UNIVERSITY

College of Arts and Sciences


Department of Earth and Space Sciences

AST08
ASTRONOMICAL PROGRAMMING - IRAF

ACTIVITY 3, 4, & 5

Historillo, Clark
Mondejar, Kara Claire
Peña, Airone

CAS-10-301A
BIAS (AIRONE PEÑA)

STEP 1:
Open the terminal and activate the IRAF program. In our case, we use PyRAF as
the command language. First, activate DS9 using this command “!DS9&”. When
done, navigate the fit files using the change directory (cd) command.
STEP 2:
Change the directory to NOAO (National Optical Astronomy Observatory), then to
IMRED (Image Reduction) package, and to CCDRED (Charge Coupled Device
Reduction). Then list and categorize the bias fit files into text files. The second step
is to list the files to show what you’re working on. Then categorize them in a text
file. After that, combine the raw bias fit files using the zero combine task under the
CCDRED package. Combine them using this command “epar zerocomb” epar
means edit parameters and the other one which is lpar is list parameters. Once the
parameter editor pops up, edit them. Type the input using “@bias” command to
navigate the list of bias in a text file. Then type the name of the output. In our case,
we use “bias_master.fits”. We also use sigma clip for the type of rejection. With a
3.0 value for lower and upper sigma to reject. And mode for scale. Clicking
execute will start the combining process.
BEFORE ZEROCOMBINE:

AFTER ZEROCOMBINE:
STEP 3:
After zerocombine, we will now process the bias fit files and use the task
CCDPROC under the CCDRED package. By using “epar ccdproc” command, we
will edit the parameter settings of ccdproc. For the images section, we will type the
list of bias fit files using “@bias” to navigate the text file list of bias. For the output,
we just type the file name we want. Next is to tick the (zerocor) for zero correction
and enter the location of the master bias file to calibrate the image in the (zero)
section below. Click execute and it’s done. Check the image after processing.
RESULT:
DARK (CLARK HISTORILLO)

STEP 1:
Display the raw dark fit files to see what we’re working. Next, categorize the dark
fit files using this command “files *.fit > dark”.
STEP 2:
Under the CCDRED package, use the darkcombine task to combine raw dark fits
file. Put @dark at the input to navigate all of dark fit files then for the output, we just
write dark_master.fits. Same with zerocomb, median for operation, none for reject,
and mode for image scaling. Then click execute to perform combination.

RESULT:
STEP 3:
Same with bias, we will navigate the dark fit files using @dark at the images
section and for the output; we will just name it as processed dark. Yes for zero and
dark correction then navigate both of the master fit files. Lastly, click execute.

RESULT:
FLAT (KARA CLAIRE MONDEJAR)

STEP 1:
Categorize the flat fit files in a text format using this command “files *fit >flat”. Then
display the raw flat image to see what we’re working. As we can see, the flat image
has donut shaped figures and we need to remove all of them.
STEP 2:
The first thing we need to do is to combine them flat files using flatcombine task
under CCDRED package. Edit the parameters using “epar flatcomb” command.
Input the flat image and name the output as flat_master.fits. Then use median as
the combine operation, none for rejection, and mode for scaling. Lastly, click
execute.

RESULT:
STEP 3:
Process the flat fit files using the task CCDPROC under the CCDRED package.
Using the epar ccdproc command, we will edit the parameters. Input the flat
images, then write proc_\\@flat for the output to rename the fit files with the new
images. Tick the zero, dark, and flat corrections and navigate the master fit files
below. Then click execute to start the process.

RESULT:

You might also like