Most of these routines require the idlaul library from idlastro.gsfc.nasa.gov.
I have segregated some routines off in "packages" (see below).
After copying the routines, type the name of the routine with no parameters
for instructions. Hopefully, they will run in okay but I may have left out some
auxillary routines. If so, all of my routines are available at
ftp://lheaftp.gsfc.nasa.gov/pub/ptak/idl
A set of routines to raytrace an ASCA SIS observation of a point source are available by request (email ptak@neutron.gsfc.nasa.gov).
All routines, some of which are probably useless to others, are avaiable at ftp://lheaftp.gsfc.nasa.gov/pub/ptak/idlA system of automating ASCA analysis is under development. Currently, this set of IDL routines will generate scripts to call XSELECT, ASCAARF, SISRMG, GRPPHA, and XSPEC along with other IDL routines to reduce data starting from raw, unscreened or screened events files, determine source and background regions, remove hot pixels and times of high background, extr source and background spectra, compute the appropriate arf (and rmf in the case of SIS) files, and start xspec fitting. These routines can be found at ftp://lheaftp.gsfc.nasa.gov/pub/ptak/idl/extraasca
| Name | Purpose | Last Updated |
| General Purpose | ||
|---|---|---|
| qreadasca | Quick-and-dirty set of routines for reading an ASCA fits event list for use with the routines below and with Tahir Yaqoob's IDL routines | Wednesday, 06-Nov-1996 01:14:12 EST |
| Image Analysis | ||
| adapt_smooth | Smooth an image with an adaptive kernal to produce a constant S/N image | Tuesday, 05-Nov-1996 22:13:28 EST |
| ascaprof | A set of routines for use in comparing an actual ASCA SIS radial profile to the XRT PSF, using an exposure map to account for chip boundaries. Uses ascapsf routines. | Friday, 17-Oct-1997 16:25:27 EDT |
| ascapsf | A set of routines to compute the ASCA XRT PSF approriate for a given spectrum and position, requires caldb_xrt | Wednesday, 06-Nov-1996 01:35:09 EST |
| aspect | A set of routines for deriving the transform between det and sky coordinates by fitting a simple rotation using the det and sky coords in an event list. This transform can then be used to rotate an exposure map into sky coordinates. | Tuesday, 05-Nov-1996 22:56:08 EST |
| bin_image_xy | Bin an image using arrays of x and y values | Friday, 17-Oct-1997 16:06:03 EDT |
| caldb_xrt | A set of FORTRAN routines (originally by H. Awaki) converted to IDL, for reading and interpolating CALDB XRT FITS files, used by ascaarf and radial profile routines listed below | Tuesday, 05-Nov-1996 22:54:47 EST |
| conv_reg | Remap a SAOIMAGE region from a sky image for use with another sky image. Requires read_reg.pro and write_reg.pro. | Tuesday, 05-Nov-1996 22:13:42 EST |
| display | Display an image centered in a window, useful for xray_contour | Tuesday, 05-Nov-1996 22:14:31 EST |
| gauss_smooth | Smooth an image with a gaussian kernal | Tuesday, 05-Nov-1996 22:14:46 EST |
| image_prof | Computes a radial profile for an events list taking an exposure map into account | Friday, 17-Oct-1997 16:19:12 EDT |
| make_fits_image | Creates a FITS image from a FITS event list, optionally matching astrometry from another image | Friday, 17-Oct-1997 16:19:30 EDT |
| readimg | Read all or only a specified area in arcminutes of a FITS image | Friday, 17-Oct-1997 16:19:00 EDT |
| xray_contour | Plots contours of one or two images, possibly over an image displayed with display | Tuesday, 05-Nov-1996 22:14:03 EST |
| Spectral Analysis | ||
| ascaarf | Produces an ancilliary response for an ASCA spectrum, equivalent to ftool of same name, very slow for GIS. Currently only works for GIS when used with a DEC Alpha running OSF/1. This set of routines will primarily be useful to allow a user to quickly to see how ascaarf works. | Wednesday, 17-Jan-1996 13:47:11 EST |
| read_arf | Reads in a FITS arf, as output by ascaarf | Tuesday, 05-Nov-1996 22:38:52 EST |
| read_ebounds | Reads the energy bounds from a FITS rmf file | Tuesday, 05-Nov-1996 22:41:35 EST |
| read_rmf | Reads in a FITS rmf file | Tuesday, 05-Nov-1996 22:39:10 EST |
| select_e | Extract events from an IDL events list within an energy range (uses read_ebounds) | Tuesday, 05-Nov-1996 22:41:30 EST |
| write_arf | Writes out a FITS arf, as output by ascaarf. Useful along with read_arf to quickly test the effects of arbitrary changes to arf. | Tuesday, 05-Nov-1996 22:38:55 EST |
See also Tahir Yaqoob's ASCA IDL Analysis System page.
Return to Andy Ptak's home page
This page was last modified on Monday, 23-Dec-2002 22:49:57 EST