HXMT Data Anslysis Software V2

Zhao Haisheng zhaohs@ihep.ac.cn

Introduction

The HXMT Data Analysis Software V2 (HXMTDAS) is to achieve the HXMT data analysis processing and extract scientific products.

The purpose of HXMTDAS is to achieve scientific products, such as energy spectra, light curves, Ancillary Response Files (ARF), Redistribution Matrix Files (RMF) and background files.

This software provides processing modules and their pipelines (for HE,ME and LE), but not includes rsp and background generation modules.

The software is only for Scientific Linux (32/64).

Download HXMTDAS source code (20180427 update)

(1) Download HXMTDAS source code (new installation)

Download HXMT SOURCE CODE
gunzip hxmtsoft.tar.gz
tar vxf hxmtsoft.tar;
cd hxmtsoft;
cd BUILD_DIR;
./configure --prefix=DIR (DIR, install path) --with-components="heacore attitude hxmt"
make
make install

(2) If you have installed HXMTDAS on your computer

Make sure 'attitude' comopnent and 'mpfit' module have installed on your computer.
Source your HEADAS environment, eg, source install/x86_64-apple-darwin13.4.0/headas-init.sh
Download the Only HXMT SOURCE CODE at any directory, and then use commands below in sequence:
gunzip hxmt.tar.gz
tar vxf hxmt.tar
cd hxmt
hmake
hmake install

(3) If you want to download the latest HEASoft on your computer with hxmt component

Download the HEAsoft from https://heasarc.gsfc.nasa.gov/docs/software/lheasoft/download.html
And then gunzip xxx.tar.gz, tar vxf xxx.tar
Download the HXMTDAS gunzip hxmtsoft.tar.gz, tar vxf hxmtsoft.tar
cp hxmtsoft/hxmt xxx/. (Thus, HEAsoft includes hxmt component)
cd xxx/BUILD_DIR
modify configure file (set the line of "mpfit_required=no" to "mpfit_required=yes" in configure file). ./configure --prefix=DIR (DIR, install path) --with-components="heacore attitude hxmt"
make
make install
Initialization and Setup
for tcsh
setenv HEADAS DIR/PLATFORM
alias hxmtinit 'source $HEADAS/headas-init.csh'
for bash
export HEADAS=DIR/PLATFORM
alias hxmtinit=". $HEADAS/headas-init.sh"

In the examples above, (PLATFORM) is a placeholder for the platform- specific string denoting your machine's architecture, for example: i686-pc-linux-gnu-libc2.12

User Guide

Please see Zhao Haisheng'poster(a brief introduction of HXMTDAS)!

Other download

A old version of CALDB; If you want to use latest version, please see Li Xiaobo's report.
A SAA File, which can be used for hxmtehkgen module. Thanks to Guan Ju
If you want to get background modules, please see Ge Minyu or Liao Jinyun's report.

LAST MODIFIED

20180428