LBC-1.1 (LBC Image Simulator v1.1) 14th May 2002 Installation: 1 - Put the LBC package in your favourite directory (e.g. /usr/local/AstroSW) and unpack it: % mv LBC-1.1.tar.gz /usr/local/AstroSW/ % cd /usr/local/AstroSW % tar -zxvf LBC-1.1.tar.gz 2 - Change to your home and edit the shell start-up file (.tcshrc for tcsh or .bashrc for bash). Set as environment variables LBC_BASE (LBC-1.1 directory) and LBC_DB (LBC efficiency curves database, e.g. /usr/local/AstroSW/LBC_DB): a - (.tcshrc) setenv LBC_BASE /usr/local/AstroSW/LBC-1.1 setenv LBC_DB /usr/local/AstroSW/LBC_DB b - (.bashrc) LBC_BASE=/usr/local/AstroSW/LBC-1.1 LBC_DB=/usr/local/AstroSW/LBC_DB export LBC_BASE LBC_DB and add $LBC_BASE/bin to your PATH environment variable. 3 - Add the bin directory of the WCSTOOLS (e.g. /usr/local/AstroSW/wcstools/bin) package to your PATH. Set as environment variable UA2_PATH (USNO A2 catalog directory, e.g. /usr/local/astroUSNO_A2) and make an alias configuring scat for the USNO A2 catalog: a - (.tcshrc) setenv UA2_PATH /usr/local/AstroSW/USNO_A2 alias sua2 'scat -c ua2' b - (.bashrc) UA2_PATH=/usr/local/AstroSW/USNO_A2 export UA2_PATH alias sua2='scat -c ua2' 4 - Finally, save and execute the shell start-up file: % source .tcshrc (%source .bashrc) 5 - Move in the LBC-1.1 directory and compile the applications: % cd /usr/local/AstroSW/LBC-1.1 % make all 6 - Create flat and overscan images used by lbcsim. Move in LBC/util directory and execute the shell script mkconfig.sh: % cd /usr/local/AstroSW/LBC-1.1/util % ./mkconfig.sh 7 - Edit the lbcimsim default configuration file default.dat in LBC-1.1/config and write the names of the default efficiency curve files in the LBC database. See the Appendix A of the User's Manual for a detailed description of the file formats. 8 - To use LBC the package move in a directory (e.g /home/john/TEST) and use the command mklbc to create a IRAF login file that loads all IRAF tasks and packages used by LBC applications. % cd /home/john/TEST % mklbc