Getting started

The following text describes the basic procedure for processing an observation of a short-periodic variable stars by means of the Muniwin.

The package with demo data used in the example is available on the project’s web pages. Download and unzip the archive to an empty folder at your hard disk (e.g. ~/c-munipack/sample. The archive has the following structure:

dark / 20s / masterdark.fts

master-dark frame (20 seconds exposure)

dark / 20s / raw / dark*.fts

set of raw dark frames (20 seconds exposure)

flat / v / masterflat.fts

master-flat frame (optical filter V)

flat / raw / flat-v*.fts

set of raw flat frames (optical filter V)

data / v / frame*.fts

sample CCD frames (optical filter V)

General overview

In general, the reduction of CCD data consists of the several steps:

  1. Creating a new project and populating it with input files (source CCD frames)
  2. Calibration of the source frames
  3. Photometry and matching
  4. Selection of stars
  5. Selection of aperture

Creating a new project

Launch the Muniwin program - a way how to launch an application depends on your operating system and desktop environment. For example, on the MS Windows platform, the Muniwin program can be run from the menu Start ‣ Programs ‣ C-Munipack 2.0 folder.

Using the main menu, select item Project ‣ New. A new dialog appears.

"New project" dialog

The dialog for making a new project.

Fill in a name that will be assigned to the project. Because the name of the file that keeps track of the data related to the project, the project file, is derived from the name, some characters cannot appear in the project name, do not use: / ? % * : | ” < and > In our example, let us use the designation of the variable star CR Cas.

The field Location shows a path to the directory where a new project will be created. Edit the path to change the location, you can also click the Browse button to select a directory in a separate dialog.

The dialog also displays a list of available project types. Project types were designed to limit the amount of control that are shown in application. Select the Variable star observation, please.

Confirm the dialog, yet another dialog appears.

"Load profile" dialog

The dialog for specifying an initial set of configuration parameters

Using the second dialog, you can load an intial set of configuration parameters into a new project. If this is a fresh installation, you have one choice only - use factory defaults. The choice Load factory defaults should be automatically selected and make sure that the options below are unchecked. Confirm the dialog.

You should be in the main window again now. The table of input files shown there is empty.

Main application window

The main application window with the table of input files, now empty.

Selecting source frames

Now, we’re going to populate the project with source files. Open the Frames menu and click on Add frames from folder. Go to the folder which contains the source CCD frames. The demo data is stored in the data/v subfolder. You should see the list of files in the center navigation pane. This dialog allows you to add all frames from folders and subfolders. If you need to specify only a subset of files from a particular folder, you the Add individual frames choice.

"Add folder" dialog

The dialog with the place selection box (left), the file selection box (middle) and the preview panel (right).

Push the Add button. If you want to process data taken in several nights at once, use the same procedure to add those files to the table. After inserting all the files you want to process, close the dialog by pushing the Close button.

Main application window

The main application window with the sample frames inserted.

Frame reduction

Reduction of CCD frames is a process that takes source CCD frames, performs their conversion and calibration, detects stars on each frame and mearures their intensity and finally finds correlation (match) between objects that were found in the data set. The process of reduction prepares the data that are necessary for making a light curve or a variable star.

The reduction consists of several steps - conversion, calibration, photometry and matching. They can be invoked step-by-step manually. The preferred way is to use the Express reduction dialog that allows to perform these steps in a batch. Using the menu, activate the Reduce ‣ Express reduction item. A new dialog appears. The dialog has several options aligned to the left, Each of them relates to an optional step in the reduction process.

"Express reduction" dialog

The dialog for setting parameters of the reduction process

Check the Fetch/convert files. In this step, the program makes copy of the source CCD frames. This is necessary, because the following calibration steps will modify them and we don’t want the program to change our precious source data.

"Express reduction" dialog

A raw CCD frame consists of several components. By the calibration process, we get rid of those which affect the result of the photometry. In some literature, the calibration is depicted as the peeling of an onion. There are three major components which a raw frame consists of - the current made by incident light, current made thermal drift of electrons (so-called dark current) and constant bias level. In standard calibration scheme, which we will demonstrate here, the dark-frame correction subtracts the dark current and the also the bias. Because of the nature of the dark current, it is necessary to use a correction frame of the same exposure duration as source files and it must be carried out on the same CCD temperature, too. Thus, the properly working temperature regulation on your CCD camera is vital. Our sample data needs to perform the dark-frame correction, so check the Dark-frame correction option. Click the Browse button and find the file with the dark frame. For the sample data, use the file dark / 20s / masterdark.fts.

"Express reduction" dialog

Then, we have to compensate the spatial non-uniformity of a detector and whole optical system. These non-uniformities are due to the fabrication process of a CCD chip and they are also natural properties of all real optical components, lenses in particular. The flat-frame correction uses a flat-frame to smooth them away. The flat-frame is a frame carried out while the telescope is pointed to uniformly luminous area. In practice, this condition is very difficult to achieve, the clear sky before dusk is usually used instead. Our sample data needs to perform the flat-frame correction too, so check the Flat-frame correction option. Click the Browse button and find the file with the flat frame. For the sample data, use the file flat / V / masterflat.fts.

"Express reduction" dialog

The photometry is a process that detects stars on a CCD frame and measures their brightness. Unlike the previous steps, the result is saved to a special file, so-called the photometry file. There are a lot of parameters which affect the star detection and also the brightness computation. In this example, the default values work fine, but I would suggest you to become familiar with at least two of them - FWHM and Threshold - before you start a real work. Check the Photometry option.

"Express reduction" dialog

The previous command treated all source files independently. As a result of this, a star #1 in one file is not necessarily the same as a star #1 in another file. The matching is a process which finds corresponding stars on source frames and assigns an unique identifier. Check the Matching option.

It is necessary to select one frame from the set of source frames that all other frames are matched to, this frame is called a reference frame. In my experience, the frame with the greatest number of stars works the best. Back to our example, let’s pick up the first one.

"Express reduction" dialog

In previous steps, we have configured parameters of the reduction process and we are ready to start it. Click the OK button. During the execution a new window appears displaying the state of the process; all the information is also presented there. This window will be automatically closed after finishing the process. Wait for the process to finish.

Progress dialog

The dialog displayed during time demanding operations.

After finishing, the icon in the file table changes; the information about the time of observation, the length of the exposition and the used filter is filled in. In case some of the frames could not be processed successfully, the entry is be marked with a special icon and in the Status column the error message is indicated.

Main application window

The main application window after the recution.

Making a light curve

The sample data is the observation of an eclipsing binary star. For most of such observers, the goal is to make a light curve. A light curve is usually represented as a table, which consists of at least two columns - time stamps expressed as Julian dates and differential instrumental brightness of a variable star in magnitudes. The magnitudes are called differential, because they are differences between two stars - a variable star and a comparison star. A variable star is a star that is subject of brightness variation and a comparison star is supposed to be constant. To check that the comparison star is really constant, it’s advisory to use one or two additional stars, so-called check stars. They are supposed to be constant too and thus the difference between any check star and the comparison star should be constant.

The Muniwin program is designed to guide you through the process of making a light curve. Open the Make menu and select the Light curve item. A new dialog appears, all fields in this dialog are optional, they allows you to include only subset of frames to the curve, apply the heliocentric correction or include the air mass coefficients to the output. Let all options unchecked and just confirm the dialog by the OK button.

Make light curve

The dialog for making a light curve.

Another dialog appears. The next dialog allows you to pick up a variable star, a comparison star and one or more check stars. In this dialog, the reference frame is displayed. Find a variable star and click on it using the left mouse button. A context menu appears. Select the Variable item. The star is drawn in red color now and the label var is placed near to it. Using the same procedure, select one comparison star and one or more check stars. I would recommend you to use two check stars. If you are using the sample data, use the stars according to the following screenshot. Confirm the selection by the OK button.

Choose stars

The dialog for selection of a variable star (red), a comparison star (green) and check stars (blue).

In the next dialog, we have to choose the aperture. You can image the aperture as a virtual circular pinhole, placed on each star on a frame to measure its brightness. All pixels that are inside the pinhole are included in computation leaving out the background pixels. The best aperture should be big enough to include most of the star’s light, on the other hand, the bigger aperture is used the more background is included and the more noisy the result is. Because of this, the photometry process computes the brightness of each star in a set of predefined apertures of radius in the range of 2 and 30 pixels.

The programs allows you to select an aperture in the following dialog, the program displays a graph of standard deviation of data for each aperture. The curve has U-like shape usually and the best aperture is in the minimum of the curve. For the sample data, select the aperture #2 and confirm the dialog by the OK button.

Choose aperture

The dialog for selection of an aperture.

Now the program has got enough information to make a light curve of the selected variable star. The light curve is presented in a new window. Please keep in mind that the magnitudes displayed in the light curve are differential with respect to the selected comparison star.

Light curve graph

The dialog with a light curve graph.

In the light curve window, open the File menu and select the Save item. A new dialog appears. Locate the folder where you want to save the results and fill in the name of the output file. Confirm the dialog by the Save.

The light curve is saved to a text-based file. On its first line, the names of the columns are stored. The second line shows the aperture and color filter used. The data are stored on the followin lines. Each line corresponds to a single source frame. In the first column, there is a time of observation (center of exposure) expressed as a Julian date. The second column consists of differential instrumental brightness of the variable stars with respect to the comparison star in magnitudes (V-C). The error estimation is stored in the next column. Following columns consist of differential magnitudes of comparison star and check stars and their error estimations.

Output file

The light curve of a variable from the sample data stored to a file.

Table Of Contents

Previous topic

Installation and uninstallation

Next topic

Using Muniwin