You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have some simput files that I have made for SIMX that I tried on the new MARX. They are of the “photon list” variety, meaning that the file has a binary table of RA, Dec, and energy.
MARX seemed to load the photons ok and generate them, but the photon times are way off—the dt between photons is much smaller than expected. I should note that I do not have a time column in the simput file, so I expect the simput library to generate times on its own assuming a time-independent source.
I was poking around in marx/libsrc/s-simput.c to see what was going on and I noticed this line (line 265 in simput_create_photons):
at->arrival_time -=pt->start_time;
Why do we need to subtract the start time off here? If I comment this line out I get times between photons that seem more sensible (though I have not completely verified them yet).
The text was updated successfully, but these errors were encountered:
I should also point out that the RA and Dec of the source are 30, 45 in degrees so that's what I set the source and nominal RA and Dec to in marx.par.
(SIMPUT files received for debugging by email)
I have some simput files that I have made for SIMX that I tried on the new MARX. They are of the “photon list” variety, meaning that the file has a binary table of RA, Dec, and energy.
MARX seemed to load the photons ok and generate them, but the photon times are way off—the dt between photons is much smaller than expected. I should note that I do not have a time column in the simput file, so I expect the simput library to generate times on its own assuming a time-independent source.
I was poking around in marx/libsrc/s-simput.c to see what was going on and I noticed this line (line 265 in simput_create_photons):
at->arrival_time -=pt->start_time;
Why do we need to subtract the start time off here? If I comment this line out I get times between photons that seem more sensible (though I have not completely verified them yet).
The text was updated successfully, but these errors were encountered: