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

About the "file" field in the [time] part of the config file #76

Open
pmunar opened this issue Oct 22, 2015 · 1 comment
Open

About the "file" field in the [time] part of the config file #76

pmunar opened this issue Oct 22, 2015 · 1 comment

Comments

@pmunar
Copy link

pmunar commented Oct 22, 2015

This is not an issue, but a doubt on how does enrico manage this.

If I give a file name in this field, with some pairs of MET times, without giving a "tstart" and "tstop" values, and run enrico_lc, it produces a light-curve with the number of bins equal to the number of MET times pairs in the file. This is ok.

But if I want to produce a sed with enrico_sed only for the times given in the file, should I give the tstart and tstop values in the config file also?
I ask that because when I look in what enrico is telling, when running enrico_sed, it says (among other things):

tstart=239557418.0 tstop=239557418.0

while in the "tstart" and "tstop" fields I did not give anything (in fact I commented these lines in the config file), and both are the same value as the first value in the file with the MET pairs.

I just want to be sure that the program is selecting correctly the time values.

Thanks a lot!

Cheers,

Pere.

@davidsanchez
Copy link
Member

Hi,

for enrico_sed, the "tstart" and "tstop" fields are used in the gtselect tools and should be properly setup to start and end of the time window you want to consider.
if you use a file, the time values are use in gtmktime to 'mask' some time intervals.

cheers
david

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

No branches or pull requests

2 participants