[Previous]
[Next]
Name: which_hessi_version
Purpose: Function to return a string "Development Version" or "Release X" depending on
which version of the software is in the path.
Calling sequence: dev_or_rel = which_hessi_version(routine)
Input arguments:
routine - string name of routine to find. If none provided, looks for hsi_image__define.pro
Output Keywords:
date - returns the date of the release, if release, or the current date, if development
Written: Kim Tolbert, Nov 29, 2000
CALLS:
CALLED BY
hessi_version, hsi_widget_title
[Previous]
[Next]
NAME: wrt_photon_list
PURPOSE: write a file with histograms of photons binned in rotation angle
CALLING SEQUENCE:
INPUTS:
filename - name of photon angle bin file to write
photon_lists - photon histograms binned into equal angles
nominally a lonarr(max(rot_bins),12, number_energies, number_times)
rot_bins - number of angle bins used for each collimator
datacube
Up to four dimensional datacube in x, y, energy, and time.
x and y refer to the spatial dimensions in pixels, 1 arcsecond default.
The value of the datacube at each point is the counts
which would be measured by a detector unmodulated by the grids (rmc's).
The average transmission through the rmc's is 25% for perfect black grids.
The number of pixels in x and y must be equal.
collimator_pitches - 12 values, pitch of each collimator
x0 - offset from telescope axis to image field along first index in arcseconds
y0 - offset from telescope axis to image field along second index in arcseconds
OPTIONAL INPUTS:
secs_per_pix - number of arcseconds per pixel,
edges - 2 x number_energies energy bins (keV)
time - 2 x number_times time bins (seconds)
doc_out - text with even more information about the creation of the data file
PROCEDURE:
Reads in data file created by make_lists.pro
For each collimator pitch there is a histogram of events grouped
by their rotation angle. This histogram is returned
CALLS: ***
CHECKVAR [1], checkvar [2]
COMMON BLOCKS:
wrt_photon_list
RESTRICTIONS:
MODIFICATION HISTORY:
ras, 24-feb-95