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.
phaII()
phaII(const phaII& a)
phaII(const string filename, const Integer PHAnumber = 1,
const IntegerVector& SpectrumNumber = IntegerVector())
Constructors. First is the default constructor, other two
are constructor versions of the copy and read methods
described below.
~phaII()
Default destructor.
Integer read(const string filename, const Integer PHAnumber = 1,
const IntegerVector& SpectrumNumber = IntegerVector())
Read a PHA type II file into an object. If PHAnumber is
given then read from the SPECTRUM extension with EXTVER=PHAnumber.
If the SpectrumNumber array is given then read those rows
in the extension otherwise read all spectra.
phaII& copy(const phaII&)
phaII& operator= (const phaII&)
Deep copy.
pha get(Integer number) const
Get pha object (counts from zero).
pha push(pha sp)
Push pha object into phaII object
string disp() const
Display information about the spectra - return as a string.
void clear()
Clear information about the spectra
string check() const
Check completeness and consistency of information in spectrum,
if there is a problem then return diagnostic in string.
Integer write(const string filename, const
string sourceFilename="")
Write spectra as type II file. Note that if the output
filename exists and already has a SPECTRUM extension then
this method will write an additional SPECTRUM extension. If
sourceFilename is given then the primary HDU and any other
extra HDUs are copied into the output file as well as any
extra keywords or columns in the spectrum extension.
Integer NumberSpectra()
Integer getNumberSpectra()
Return the number of spectra in the object.
HEASARC Home |
Observatories |
Archive |
Calibration |
Software |
Tools |
Students/Teachers/Public
Last modified: Wednesday, 28-Aug-2024 16:49:29 EDT
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.
|