next up previous contents
Next: Downloading Your Data Up: Cookbook for JEM-X analysis Previous: Cookbook for JEM-X analysis   Contents


Setting Up the Analysis Data

In order to set up a proper environment, you first have to create an analysis directory (e.g jmx_data_rep) and ``cd'' into it:

mkdir jmx_data_rep
cd jmx_data_rep
setenv REP_BASE_PROD $PWD

This working directory will be referred to as the REP_BASE_PROD directory in the following. All the data required in your analysis should then be available from this ``top'' directory, and they should be organized as follows:

The JEM-X example presented below is based on observations of the Crab from Revolution 102.

Part of the required data may already be available on your system[*]. In that case, you can either copy these data to the relevant working directory, or better, create soft links as follows

ln -s directory_of_ic_files_installation__/ic ic 
ln -s directory_of_idx_files_installation__/idx idx 
ln -s directory_of_cat_installation__/cat cat 
ln -s directory_of_local_archive__/scw scw 
ln -s directory_of_local_archive__/aux aux

JEM-X calibration files are continuously produced by the JEM-X Team for new revolutions. To be sure to have all the latest calibrations, update your copy of the Instrument Characteristics each time you want to analyse new data, using the rsync command:

rsync -Lzrtv isdcarc.unige.ch::arc/FTP/arc_distr/ic_tree/prod/  directory_of_ic_files_installation__

This command will download the Instrument Characteristics files (ic and idx directories) to your
directory_of_ic_files_installation__.

Then, just create a file 'jmx.lst' containing the 2 lines:

scw/0102/010200210010.001/swg.fits[1]
scw/0102/010200220010.001/swg.fits[1]
which is the list of ScWs you want to analyse (technically, we call them DOLs - Data Object Locators -, i.e. a specified extension in a given FITS file). [*]

This file name `jmx.lst' will be used later as an argument for the og_create program (see section 6.5).

Alternatively, if you do not have any of the above data on your local system, or if you do not have a local archive with the scw/ and the aux/ branch available, follow the next section instructions to download data from the ISDC WWW site.


next up previous contents
Next: Downloading Your Data Up: Cookbook for JEM-X analysis Previous: Cookbook for JEM-X analysis   Contents
inthelp@sciops.esa.int