Ftools and Heasp

The following table lists ftools that operate on spectra or responses and the related HEASP routines. The read and write routines apply in all cases so are not included in the table. In some, relatively simple, cases the ftool equivalent could be performed by directly getting and setting class members.


Ftool corresponding HEASP C++ routines
addarf / ftaddarf arf::operator+=, arf::operator+
addrmf / ftaddrmf rmf::operator+=, rmf::operator+
arf2arf1 arfII:get
ascii2pha directly set pha class members
chkarf arf::check, arfII::check
chkpha / ftchkpha pha::check, phaII::check
chkrmf / ftchkrmf rmf::check
ftcmparf arfII::get
cmppha / ftcmppha phaII::get
cmprmf / ftcmprmf rmf::compress
ftdcmprmf rmf::uncompress
dmprmf / ftdmprmf directly access rmf class members
flx2tab / ftflx2tab directly set table class members
flx2xsp / ftflx2xsp directly set pha and rmf class members
gcorpha / ftgcorpha pha::shiftChannels
gcorrmf / ftgcorrmf rmf::shiftChannels
ftgenrsp directly set rmf class members
ftgroupha pha::getMinCountsGrouping
  pha::getMinSNGrouping
  pha::getMinSNOptimalGrouping
  pha::setGrouping, grouping::loadOptimal
  rmf::estimatedFWHMperChannel
grppha grouping::load, pha::setGrouping
grppha2 phaII::get, grouping::load
  pha::setGrouping, phaII::push
marfrmf / ftmarfrmf rmf::operator*=, rmf::operator*
mathpha pha::operator+=, pha::operator+, pha::operator*=
mkfiltrsp / ftmkfiltrsp directly set rmf class members
ftrbnarf grouping::load, GroupBin
rbnpha / ftrbnpha grouping::load, pha::setGrouping, pha::rebinChannels
rbnrmf / ftrbnrmf grouping::load, grouping::loadOptimalEnergy
  rmf::rebinChannels, rmf::rebinEnergies
  rmf::estimatedFWHM
rsp2rmfarf / ftrsp2rmfarf directly get and set rmf and arf class members
sdss2xsp / ftsdss2xsp directly set pha and rmf class members
ftstripnegchan rmf::addRow
ftVOtable2xsp directly set pha and rmf class members