Welcome

The purposes of this software are:

1.	To start DMVL stellar and galactic spectrum fitting

2.	To plot one or tow tables and compare them

3.	To create your own calibration.

    Spectroscopy Team

Faculty of Physics

Department of Astrophysics Astronomy & Mechanics

UNIVERSITY OF ATHENS

http://www.cc.uoa.gr/fasma/english/index.htm

Programmer’s web site: http://users.hol.gr/~dimnik/d2.htm

You can read or download a better help on the web site: http://users.hol.gr/~dimnik/dmvl/h1.html


What data can be opened

Data structure

The data table may have tow or three columns separated with blanks.

For example

     1018.548000       31.500000

     1019.355000       31.500000

     1020.161000       31.500000

     1020.968000       31.500000

     1021.774000       31.500000

OR

     6205.000000    4.641661E-31    8.377531E-31

     6210.000000    1.109323E-29    2.002168E-29

     6215.000000    2.450222E-28    4.422298E-28

     6220.000000    5.002283E-27    9.028400E-27

The user can choose between

•	only tow columns

•	three columns and Y is the second

•	three columns and Y is the third.

Instead of blanks, tabs or commas "," or semicolon ";" can separate columns too. Then the user has to use the following Checkboxes to accept them as blanks.


Open a new spectrum in text table

Open a file with tow columns, the wavelength and the flux (or intensity)

Steps:

1.	file

2.	open

Use the buttons

1.	create a new calibration

2.	gives the maximum and minimum of the data for X and Y axis

3.	Plots

4.	prepare the data to be plotted with the existing calibration

5.	the loaded data.


Cut off the spectrum (Left Right)

Click left mouse button to point a position on the graph, the next button works

1.	Declare the left side that the user is going to cut

2.	Cut the graph

3.	Declare the right side that the user are going to cut

4.	Load the data to the windows notepad.


Manual calibration

	Those tools are available in order that the user creates or modifies a calibration. For any change the user has to press the corresponding "OK" button. For the Text fields. The Checkbox "Texts on" adds them on the graph. The user can modify the calibration. any time
The decimal separator is comma or point.


General plot review


Import and plot data

This is software for plotting mathematical data that are given in tables. In fact it is created in order to compare experimental data or data from observation, together with a mathematical – physical model that fit them.

Insert data (table)

FIRST DATA

1.	Use the normal "Open" dialogs, the data are text files.

2.	Use "preplot" button to calibrate the data

3.	Use "Plot" button to plot the data.

4.	Use then normal "Save as" dialogs to save the result as BMP.

SECOND DATA

1.	Use the button "STORE" (1) to store old data.

2.	Use the normal "Open" dialogs, the data are text files.

3.	Use "recognize" button prepare data with old calibration. (Uses "preplot" for new calibration.)

4.	Click Checkbox "Plot on" to plot both data together.

5.	 Click Checkbox "Red" for red line of old data.

6.	Use "Plot" button to plot the data.

5.	Use then normal "Save as" dialogs to save the result as BMP.

(1) When the button "STORE" is hidden you can use the button "Show STORE" (The programmer thinks that it is not useful in this occasion).

REMARKS

If the user wants only to see the minimum and maximum of the data he can use the button "max-min", the user can calibrate the data manually.

The Checkbox square fit closes the whole plot in a rectangle.

The Checkbox "Dot plot 1" forces this software to plot first data as points.

The Checkbox "Dot plot 2" forces this software to plot second data as points.

Data simulation

	The user can plot together data as points (Dots) and a theoretical line. The Checkbox "points" makes the data points bigger and more obvious. The Checkbox "Dot plot 1" forces software to plot first data as points. The Checkbox "Dot plot 2" forces software to plot second data as points.


Red shift

The filed 1 takes the

The correction is

.

The button 2 calculate the new wavelength

The table 4 contains the original data and the table 3 load the corrected data.

The arrows 5 copy data between tables.


Calibrate & slope of spectrum

Follow the next step:

1.	Click on the graph and mark tow or more points on it. The K-fit 5 show the number of points (If you like to delete all points and start from the beginning use the button 3 "new")

2.	Chose between division and abstraction with radio buttons 2. The division calibrate the spectrum by the next way: Fi,new=Fi/(a?wavelength+b) , i=1,2,3….The abstraction  : Fi,new=Fi-(a?wavelength+b) , i=1,2,3….

3.	Use the button 1 "FIT" to calculate a line that corresponds to points (Least square method) the result is loaded on table 8

4.	Click on 7 to plots the line with the spectrum, and click on 6 to be red.

5.	If the result is in the area that the current calibration can show, click on 4 to plot the new spectrum with the old.

6.	Mark 11 to plot the new spectrum.

7.	The arrows 9 transfer data between tables 9, 10


Calibrate Continuum (no slope)

Click on graph to marl a point

Click on button 1 to calibrate. Fi,new=Fi/Fpoint , i=1,2,3….

The result is loaded on table 2

Mark 3 to plot the new spectrum.

The arrows 4 transfer data between tables 2, 5


Go to DMVL