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

DumpToRayFile runs photons through detector #30

Closed
hamogu opened this issue Sep 13, 2016 · 1 comment
Closed

DumpToRayFile runs photons through detector #30

hamogu opened this issue Sep 13, 2016 · 1 comment
Labels
Milestone

Comments

@hamogu
Copy link
Member

hamogu commented Sep 13, 2016

According to the docs, the source properties shall be fixed in a ray file, but all the spacecraft stuff (dither, grating, detector) should only happen when the ray file is used with SourceType=RAYFILE. However, that's currently not the case:

Starting simulation.  Exposure Time set to 1.000000e+04 seconds
Collecting 100000 photons...
    68266 collected.
Reflecting from HRMA
Detecting with ACIS-S

Dumping to RayFile marx.output...

When I then use marx.output as input, I get always the same results, independent of the detector I use in that run.

Probably related: sky_ra.dat and sky_dec.datare not written, so the output cannot be used withmarx2fits.

@hamogu hamogu added the bug label Sep 13, 2016
@hamogu hamogu added this to the 5.4 milestone Sep 16, 2016
@hamogu
Copy link
Member Author

hamogu commented Dec 16, 2016

I have a RAYFILE test in the marxtest in source.py but that can only be activated after the two problems mentioned above are fixed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant