Swift Data Analysis Software
For many purposes, the database of Swift standard products produced by the Swift Data Center (SDC)
will provide sufficient scientific information. For more detailed analysis, the Swift team has
created specific tools which are released to the community as a Swift software package. The list
below gives the tools currently available in the released Swift software. For details on
retrieving, installing, and using the software, see the Swift
Data Analysis page.
Swift General
The following tools are for general Swift analysis (ie., not specific to one instrument).
- swiftversion - Report overall version number and date of entire HEADAS/Swift package.
- swiftxform - Perform image tansformations on a multi-extension Swift image file.
Non Swift-Specific
The following generalized, mission-independent tools have been developed for Swift, but can and will be used by other missions when needed.
- barycorr - Generalized multi-mission barycenter correction tool.
- expomap - Generate an exposure map.
- makefilter - Create a filter file from housekeeping files.
- prefilter - Derive attitude and orbit-related quantities.
BAT
The following tools are for analysis of BAT data. These tools have been developed by the BAT
instrument team.
- batbinevt - Compute mask weighted light curves or spectra from BAT event data.
- batcelldetect - Perform source detection using the sliding cell method.
- batclean - Read in a DPI and clean out a fit to the diffuse background.
- batdph2dpi - Compress a 3-d image cube along the first (energy) dimension to create a 2-d image.
- batdph2pha - Read in a DPH and output a file containing a spectrum for each detector.
- batdrmgen - Compute BAT detector response matrix for a known source position.
- bateconvert - Read in an event file and apply energy conversions.
- baterebin - Read in a survey DPH and rebin the energy spectra using quadratic corrections.
- batfftimage - Make sky image from detector plane image by FFT deconvolution.
- bathotpix - Locate and mask out hot pixels in a BAT detector image.
- batid2xy - Convert between detector ID and x/y position in the BAT array.
- batmasktaglc - Derive light curves from mask tagged rate packets.
- batmaskwtevt - Compute mask weights for an event file.
- batmaskwtimg - Compute mask weights for the entire detector BAT plane.
- batsumdph - Add specified rows in a BAT_DPH table and generate a new, single-row BAT_DPH extension.
- battblocks - Estimate interesting GTIs for time-variable data.
XRT
The following tools are for analysis of XRT data. ISAC has primary responsibility for designing and
developing the XRT tools.
- xrtcalcpi - Fill or update PI column in XRT event files (PC, WT and PD modes).
- xrtcentroid - Calculate source centroid for a given area (box) using XIMAGE.
- xrtevtrec - Reconstruct events, calculate PHA and assign grade for WT and PD modes.
- xrtfilter - Run 'prefilter' and 'makefilter' to create a filter file from housekeeping data.
- xrtflagpix - Flag events for bad pixels and calibration source location.
- xrthkproc - Process XRT housekeeping header packets file.
- xrthotpix - Search for hot and flickering pixels for XRT Photon Counting mode.
- xrtimage - Subtract bias and clean bad pixels in XRT Imaging Mode data.
- xrtmkarf - Generate an ARF file for an input RMF file.
- xrtpcgrade - Calculate the PHA values and assign event grades.
- xrtpdcorr - Subtract the bias to the event PHA values taken in Photodiode mode.
- xrtpipeline - Run in sequence the tasks for XRT data processing.
- xrtproducts - Generate high level product data files from a cleaned event file.
- xrtscreen - Generate GTIs and use them (and other criteria) to perform event screening.
- xrttam - Perform attitude correction to detector coordinates using the TAM device.
- xrttdrss - Process XRT TDRSS messages.
- xrttimetag - Assign event arrival times and fill DETX/DETY columns for Windowed Timing and Photodiode modes.
- xrtversion - Prints the version and date of the Swift-XRT subpackage.
UVOT
The following tools are for analysis of UVOT data. The Swift Science Center (SSC) has primary
responsibility for designing and developing the UVOT tools. Where appropriate, these tools were
based on existing XMM SAS tasks for the analysis of XMM-Newton Optical Monitor (OM) data.
- uvot2pha - Create a pha file from a UVOT image and region files.
- uvotbadpix - Create pixel quality map from a bad pixel list.
- **uvotchain - Swift UVOT event list processing script.
- uvotdetect - Detect sources in an UVOT image using XIMAGE.
- uvotevgrism - Filter a UVOT grism event list and determine wavelength scale.
- uvotexpmap - Generate exposure maps for UVOT sky images.
- uvotflatfield - Perform flatfield correction for UVOT images.
- uvotimgrism - Extract UVOT grism spectra and calculate wavelength scale.
- uvotimsum - Sum UVOT sky images or exposure maps.
- uvotmag - Photometrically calibrate sources in a UVOT image.
- uvotmaghist - Generate magnitude history for UVOT image file.
- uvotmodmap - Correct a UVOT image for modulo-8 spatial fixed-pattern noise.
- uvotpict - Creat a finding chart image.
- uvotrmfgen - Create a UVOT response matrix.
- uvotscreen - Filter a UVOT event list.
- uvotstarid - Match a source list against a star catalog to identify sources.
- uvottfc - UVOT TDRSS finding chart processing.
NOTES:
**UVOTCHAIN is under construction and will return in a future release.
LAST MODIFIED: December 2004 - no tools added since that date