skip to content
BeppoSAX U.S. Coordination Facility

BeppoSAX : Software

  • Merge MECS Script
    The script provides a simple way to merge MECS event files from individual units of the ME instrument of BeppoSAX into a single event file. This is accomplished through the meevelin task, a part of the SAXDAS package.

    If SAXDAS is already installed, the script, written assuming Perl 5, may be used directly.

    Upon downloading, edit the first line to contain the path to the perl executable. Use the command "which perl" to find perl on your system. Then, add executable permission to the file with "chmod u+x"

    If SAXDAS is not installed, a local addon to an existing HEASOFT installation, which provides the necessary meevelin task along with the script, may be downloaded and built.

    Download and unpack using the command "gunzip -c SAXmgmecs.src.tar.gz | tar xvf -" and follow the instructions contained in the README in the new SAXmgmecs directory.

    Run " -h" for help and usage info.

  • Usage Example
    • The following command generates a merged event and gti file for the MECS2, MECS3 MECS2_obsid.evt MECS3_obsid.evt
      => output MECS23_obsid.fits, MECS23_obsid.gti

    • The following command generates a merged event and gti file for the MECS1, MECS2, MECS3 MECS1_obsid.evt MECS2_obsid.evt MECS3_obsid.evt
      => output MECS_obsid.fits, MECS_obsid.gti

If you have any questions concerning BeppoSAX go to the Feedback form.

This file was last modified on Monday, 19-Mar-2001 16:19:25 EST