XMDV - the core of "MIA"
After becoming familiar with the data structure, the I/O routines, the basic tools, the photometry, the spectroscopy, and the concept of "MIA" we will continue with the analysis of the interferometric data of the calibrator HD 10380.
Getting startedAs a first step start "Gorgonzola" by typing
where <path> is the directory where the interferometric and photometric data are stored. Now select the data set for the fringe trackimg (OBS_FRINGE_TRACK_FOURIER) and the two photometric measurements (OBS_PHOTOMETRY_CHOP) by marking the first column and pressing the button "SELECT". Then the names of the files are stored for this example in the array calfile. It is important that the data set containing the fringes is stored as the first entry in this array. If the photometric observations have been performed before the fringe-tracking was done, please rearrange the array by typing
Now the main routine of the MIA software package xmdv can be started with
The MasksFirstly, for both AOPEN and BOPEN the mask for each of the two windows (I1&I2) is created with the chop_nod_disp routine. After calculating the mean, i.e.
Mean [ Mask(AOPEN,I1), Mask(BOPEN,I1) ] = Mask(NEW,I1)
the NEW masks can be used to extract the fringes and the photometry. The postscript files '<path>/traces_win1.ps' (I1) and '<path>/traces_win2.ps' (I2) shown below visualize this averaging process. To access the parameters of the input masks (AOPEN, BOPEN) you can use the command
tr = cal -> get_trace(i)
after the next steps will have been finished. The index i selects the dataset: 0 = AOPEN or 1 = BOPEN. If the option /WIN2 is set, the trace of window 2 will be returned, else that of window 1. The available parameters of the traces are
To load or create other masks please use the options described above.
Now OirGetMeanRMS is used to calculate the root mean square of the fringe-tracking data. After weighting the resulting images with the averaged masks from the photometric datasets (see above) the user can decide, whether the masks are well fitting for the fringe-tracking data too.
If the user confirms that the masks are satisfying, the routine starts to calculate all the required informations.