5. File organisation
THELI places a number of files in different directories. Here is an overview of where you can find what, assuming that THELI has been installed in
/home/user/THELI/
5.1. Binaries
THELI’s main binaries and other useful command-line tools can be found in
/home/user/THELI/theli/bin/Linux[_64]/
5.2. Data reduction scripts and configuration files
Scripts and configuration files are stored in separate places
/home/user/THELI/gui/scripts/
/home/user/THELI/gui/reduction/
You do not have to edit configuration files manually. This is done by choosing the desired parameters from within the GUI.
You do not have to edit scripts either. Should this be necessary, then THELI creates them on the fly and stores them in
/home/user/.theli/scripts/*.log
5.3. Instrument configuration files
Pre-defined and user-defined instruments are kept in different places
/home/user/THELI/gui/scripts/instruments_professional/
/home/user/.theli/instruments_user/
5.4. Temporary files
Temporary files are mostly deleted when they are not needed anymore. However, a few of them are kept for trouble-shooting purposes. Files in the tmp directory can be deleted safely anytime does not perform any tasks
/home/user/.theli/tmp/
If you want THELI to keep temporary files in a different directory, then link to it from the nominal place
ln -s /home/user/.theli/tmp /preferred/path/to/tmp
5.5. Data reduction LOGs
The LOG files keep a memory of everything that happened during a task. They appear somewhat cryptic and can only be interpreted if you have some bash-scripting knowledge, but are invaluable for trouble-shooting
/home/user/.theli/scripts/*.log
Each data reduction section has its own LOG. They are overwritten when a new task is executed. You can also access them through View in THELI’s menu bar
theli_pre_comm.sh.log (Preparation)
theli_cal_comm.sh.log (Calibration)
theli_bg_comm.sh.log (Superflatting)
theli_w_comm.sh.log (Weighting)
theli_ap_comm.sh.log (Astrom/Photom)
theli_cc_comm.sh.log (Coaddition)
Other LOGs are
theli_color_convolve.sh.log
theli_color_correction_avgwhite.sh.log
theli_color_correction_photcat.sh.log
theli_color_getseeing.sh.log
theli_combima_comm.sh.log
theli_create_chisquare_image.sh.log
theli_create_privatestdcat.sh.log
theli_delete_comm.sh.log
theli_fits2tiff.sh.log
theli_get_coadd_zp.log
theli_getmaxoverlap.sh.log
theli_gettiffpreview.sh.log
theli_makemovie.sh.log
theli_psf_plot.sh.log
theli_psf_analysis.sh.log
theli_statistics.log