Observing with the MuSiCoS spectropolarimeter:

On-line data reduction with ESpRIT




ESpRIT (an acronym from `Echelle Spectra Reduction: an Interactive Tool') is a computer code dedicated for automatic on-line processing of unpolarised and polarised échelle spectra (such as those obtained with the MuSiCoS polarimeter). It performs rigorous optimal extraction of échelle spectra, even when the shape of orders is highly non-linear and when the slit projection onto the CCD detector is not parallel to CCD lines or columns.

Operating ESpRIT during a spectropolarimetric run is fairly easy. It consists in two main steps, the setup procedures to be carried out at the beginning of each night, and the reduction procedures per se to be launched throughout the night as soon as data are collected. Note that ESpRIT is operated from the main Valda workstation itself (keyboard and screen).


Setting ESpRIT up at the beginning of the night

This setup procedure includes the five following steps: You are now ready to begin processing your observations as they are obtained.


Operating ESpRIT during the night

You then need to process each new set of observations as soon as it is collected (either a sequence of four subexposures if one is interested in polarisation spectra, or individual exposures if one is only interesting in unpolarised spectra). Go to directory esprit/spec/date (by typing cd ~/ref/esprit/spec/date) if you are not here already. Processing a new set takes two steps:

If you want to process single exposures to obtain unpolarised spectra, use script file night_int instead of night_pol. Note that only one raw stellar frame at a time (rather than 4 as above) is needed in this case. The output spectrum and log file are now stored in subdirectory int.


Performing Least-Squares Deconvolution

You can also attempt cross-correlating some of your processed spectra (using the new technique of Least-Squares Deconvolution or LSD). When fed with polarisation spectra, the LSD code yields an average polarimetric line profile by extracting information from all available spectral lines in the wavelength domain. To achieve this, run command:

where date has the usual meaning, output is the root name you used in the previous step for this particular group of observations, and line_list is a list of spectral lines to be chosen from the numerous line lists available in directory /users/polarime/data/ech/atlas (type ls /users/polarime/data/ech/atlas to get a list of these files). Each line list is named by the spectral type to which it corresponds; your command thus might look like

The programme runs for some seconds, producing a prodigious amount of output on the screen (every line used is listed individually), and then gives you some useful summary data on the signal-to-noise ratio of your average line profile. At the end, the plot programme displays the mean line, the mean noise across the line, and the mean polarization signal (from bottom to top). Thus, a few minutes after you finish a set of observations, you can see their essential polarimetric content.

To run LSD on an intensity (rather than polarisation) spectrum, replace subdirectory pol in add line command by int, and proceed the same way as indicated above.

If you want to save the LSD spectrum created by add, all you have to do is add a filename (e.g. iipeg_lsd) at the end of the add command shown above, and the spectrum will be saved to this file.


Displaying results

To examine visually the reduced spectra extracted with ESpRIT (produced by scripts night_pol or night_int) or the LSD profiles (produced by script add), use the display command disp. To do this, type

You are then asked for the name of the file you want to display (including its pathname relative to the subdirectory you are presently in), and for the file column you want to display. The answer to this second question is

The programme then asks you what kind of display you want, and gives you a menu of choices. Answer by typing a single letter (in either upper or lower case) for the plot mode you want, for example f for Full spec[trum] (it is almost always best to type f when you are initally presented with the menu and command query). You may repeatedly change options from the window where you started disp. A summary of a few (not nearly all) disp commands: