Sunday, July 13, 2008

(Tying to) build an exposure map (converting the counts image into an image in flux units for chips 2,3,5,6,7,8 of j0931+3622, in our case, which supposedly helps account for dither motion, especially near the edge of the detector) in several steps- using "asphist" function and the asol1.fits file to compute aspect histograms and map aspect information during the event; then using "mkinstmap" and the msk1.fits and pkb0.fits files to make an instrument map during the event (for simplicity assuming a monoenergetic distribution of source photons at an energy level or ***** found from using dmextract to make a histogram of count-rate as a function of energy, not sure if this is an ok assumption...), then with mkexpmap and aspect info, projecting the instrument map onto the sky....

first had to learn basic for loops in the bash shell. The basic syntax is:
for var in list
do;
commands;
done

In the process of doing this I have found the Calibration Database is not properly accessible, so I am currently (and slowly, stupid internet) attempting to download and reinstall it to continue..
Not sure if having an exposure map will even help because I'm not sure if dithering edge effects are what are causing spurious detection, but thought I would try to go through the process...

No comments: