********************************************************************************
--------------------
doptomog version 2.0
--------------------
Copyright (C) 2015 Enrico J. Kotze ejk@saao.ac.za
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see .
********************************************************************************
The code was written in Fortran 90/95/2003, IDL, Gnuplot and bash on a Linux
operating system with the following configuration:
- gfortran 4.8.4
- IDL 7.1
- Gnuplot 4.6 patchlevel 4
- bash 4.3.11(1)
This is the minimum configuration needed for the doptomog package to work as
described below.
********************************************************************************
There are 8 bash scripts in the doptomog/ folder, prefixed 0 to 7 for a logical
stepped process to obtain science grade results.
The scripts may be launched from a file browser (choose "Run in Terminal") or a
terminal command line (use "source ***.sh" where *** signifies the script name).
Prompts for the necessary user input are displayed in the terminal.
See below the sections on the input and output data structures for the input
needed and the output produced by steps 1 to 7.
Step 0:
0-make.clean.sh
- remove all previously compiled code and/or compile all code in the code
folder
Step 1:
1-exec.pspectra.prepare.sh
- prepare the input spectra to facilitate the extraction of spectral lines
Step 2:
2-exec.pspectra.extract.sh
- extract a specified spectral line
Step 3:
3-exec.pdoptomog.sh
- perform Doppler tomography using a fast maximum entropy algorithm on an
extracted spectral line
- perform consecutive half-phase Doppler tomography for a specified number of
half phases
(see input file doptomog.in in the relevant folder described below)
- perform flux modulation mapping based on the consecutive half-phase Doppler
tomography
Step 4:
4-idl.doptomog.pre.sh
- perform a visualisation (IDL) of the Doppler tomography results
Step 5:
5-exec.pbinarymodel.sh
- calculate a model 2d velocity overlay and a model 3d spatial construct
Step 6:
6-idl.doptomog.sh
- perform a visualisation (IDL) of the Doppler tomogram without and with the
model 2d velocity overlay
Step 7:
7-gnu.binarymodel.sh
- perform a visualisation (Gnuplot) of the model 3d spatial construct
NOTE: Each script in the stepped process will compile its code if necessary.
********************************************************************************
The code is organised in the following folders:
code/
- makefile
- Fortran 90/95/2003 code for
-- pspectra: program to prepare and extract input spectra
mspectra: module holding all declared program variables
-- pbinarymodel: program to calculate a model 2d velocity overlay and a
model 3d spatial construct for the source
mbinarymodel: module holding all declared program variables
-- pdoptomog: program to perform Doppler tomography using a fast maximum
entropy algorithm on an extracted spectral line
mdoptomog: module holding all declared program variables
scripts/gnu/
- scripts for Gnuplot visualisation of the model 3d spatial construct
scripts/idl/
- scripts for IDL visualisation of Doppler tomography results
scripts/shell/
- scripts for folder and file management
********************************************************************************
The input data are organised in the following folder:
sources/