|
MOPEX Online Manual |
||||||||||
Getting Started and Running MOPEXFor information on how to get started with the GUI, please refer to the GUI help system. For instructions on how to start the GUI, please see the MOPEX Download page. All information on this page refers to the command-line version of MOPEX. We assume that you have downloaded MOPEX and installed it as per the instructions on the download page. Setting up MOPEX to run on the command lineAfter completing the installation instructions, the MOPEX environment variables must be set up as follows:
Getting your dataAll Spitzer data are downloaded from the SSC archive using the archive software Leopard. You will be given a choice of data products to download. MOPEX expects the Basic Calibrated Data (BCD) products as input, but the Post-BCD (PBCD) products are useful for quick-look images/spectra. Users are warned not to use Post-BCD products for science. Once you have downloaded your data, unpack the zip files into a data directory of your choice - we will call this <data_dir>. Setting up the MOPEX directory structureOnce MOPEX has been set up for the command line, you need to create the expected directory structure. We will call the directory containing your data <data_dir>, the directory containing the mopex software <mopex_dir>, and the directory from which you are planning to run MOPEX <working_dir>. Your <working_dir> does not have to be the same as <mopex_dir>. In order to run MOPEX, the software expects 4 basic input types:
In order to run MOPEX, your FITS images should be in <data_dir>, your lists containing the input images can be stored anywhere (default is in <working_dir> but can be changed by specifying the full path) and your namelist must be in a subdirectory called <working_dir>/cdf/. The calibration files must be in the subdirectory <working_dir>/cal/. Once this directory structure has been set up, you are ready to run MOPEX. Please see the pages on MOPEX Input for details on how to set up the input files. Running MOPEX
Once your directory structure is set up and you have created your input files and stored them in the correct place, you are ready to run MOPEX from <working_dir>. MOPEX is run on the command line by calling a set of Perl wrapper scripts (stored in <mopex_dir>/bin) to perform the basic reduction tasks (e.g. background matching, mosaicking of the input images, point source extraction). Each of these wrapper scripts runs a series of individual "modules" in sequence to read in the data, carry out the reduction and write the output. Depending on how you wish to process your data, some of these individual modules need to be turned on or off within the processing flow. The choice of modules, along with various other options, is controlled from within an ASCII parameter file called the "namelist". Not all of the input and output options have to be specified on the command line - most can be specified from within the namelist. The only option that cannot is the name of the namelist itself. The simplest possible (and recommended) way to run MOPEX would therefore be to specify all of the options in the namelist. This option would look something like:
|
help@spitzer.caltech.edu