skip to content
 

HEASARC Staff Scientist Position - Applications are now being accepted for a Staff Scientist with significant experience and interest in the technical aspects of astrophysics research, to work in the High Energy Astrophysics Science Archive Research Center (HEASARC) at NASA Goddard Space Flight Center (GSFC) in Greenbelt, MD. Refer to the AAS Job register for full details.

BeppoSAX U.S. Coordination Facility

BeppoSAX : Software


  • Merge MECS Script
    The script mgmecs.pl 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 mgmecs.pl"

    If SAXDAS is not installed, a local addon to an existing HEASOFT installation, which provides the necessary meevelin task along with the mgmecs.pl 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 "mgmecs.pl -h" for help and usage info.

  • Usage Example
    • The following command generates a merged event and gti file for the MECS2, MECS3

      mgmecs.pl 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

      mgmecs.pl 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 Wednesday, 20-Oct-2021 11:09:51 EDT