Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MARX PSF wrong for off-axis sources #21

merged 1 commit into from Apr 7, 2016


None yet
1 participant
Copy link

commented Feb 11, 2016

Comparing an observation of a bright, off-axis source (ObsID 1068), I discovered a major problem in the simulated PSF in MARX.


Only MARX has that obvious big hole in the lower part op the PSF.
The image shows the Chandra observation, a MARX only simulation and a SAOTrace ray-trace with MARX as the instrument model. The fact that this shows up only in MARX indicates that something is wrong with the MARX mirror.

Further investigation shows that this affects only off-axis sources (the source in the image is 25 arcmin off-axis) and only using the MARX HRMA mirror module.


This comment has been minimized.

Copy link
Member Author

commented Feb 10, 2016

It turns out that this is due to a bug introduced in Marx 5.0 (i.e. it affects Marx 5.0, 5.1 and 5.2).

When a photon generated, it is placed randomly on the entrance aperture. In the MARX HRMA model, that entrance aperture is a ring with the inner and outer radius given by the maximum and minimum radius of the parabolic part of the Chandra mirror shells. This works well for rays parallel to the pointing direction, but for rays from an off-axis source, which come in at an angle, this laves some parts of the mirror unexposed (and a certain fraction of photons misses the mirror entirely), hence there is a hole in the simulated PSF.


This comment has been minimized.

Copy link
Member Author

commented Apr 1, 2016

This fix increases the effective area of the Chandra mirrors, making the aperture big enough to to fill the aperture for all input angles. However, that also means that not all the photons will hit a mirror. The number of photons missed reduces the efficiency almost by a factor of 2 for an on-axis source.

@hamogu hamogu merged commit 380e9dd into Chandra-MARX:master Apr 7, 2016

@hamogu hamogu deleted the hamogu:fix_hole branch Apr 7, 2016

@hamogu hamogu added this to the 5.3 milestone Apr 7, 2016

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.