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
original was the below
# Setting up the paths to the event file, GTI file, and diagnostic histogram - these will be checked
# for at the end to ensure that the process worked. Need to use 'alt_inst' here because the files
# produced have mos1 rather than M1, mos2 rather than M2 in their names. I don't want those files
# to remain named with the alt instrument though, so we also define paths to move them to.
# TODO Do I really need whatever the 'all events' file is?
og_evt_name = "{i}{exp_id}-allevc-{l}-{u}.fits".format(i=alt_inst, exp_id=exp_id, l=filter_lo_en,
u=filter_hi_en)
evt_name = "{i}{exp_id}-allevc-{l}-{u}.fits".format(i=inst, exp_id=exp_id, l=filter_lo_en,
u=filter_hi_en)
og_gti_name = "{i}{exp_id}-gti-{l}-{u}.fits".format(i=alt_inst, exp_id=exp_id, l=filter_lo_en,
u=filter_hi_en)
gti_name = "obsid{o}-inst{i}-subexp{se}-en{l}{u}keV-gti.fits".format(i=inst, se=exp_id, l=filter_lo_en,
u=filter_hi_en, o=obs_id)
og_hist_name = "{i}{exp_id}-hist-{l}-{u}.qdp".format(i=alt_inst, exp_id=exp_id, l=filter_lo_en,
u=filter_hi_en)
hist_name = "obsid{o}-inst{i}-subexp{se}-en{l}{u}keV-hist.qdp".format(i=inst, se=exp_id, l=filter_lo_en,
u=filter_hi_en, o=obs_id)
The text was updated successfully, but these errors were encountered:
I needed to make these changes in the code to make it run
original was the below
# Setting up the paths to the event file, GTI file, and diagnostic histogram - these will be checked
# for at the end to ensure that the process worked. Need to use 'alt_inst' here because the files
# produced have mos1 rather than M1, mos2 rather than M2 in their names. I don't want those files
# to remain named with the alt instrument though, so we also define paths to move them to.
# TODO Do I really need whatever the 'all events' file is?
og_evt_name = "{i}{exp_id}-allevc-{l}-{u}.fits".format(i=alt_inst, exp_id=exp_id, l=filter_lo_en,
u=filter_hi_en)
evt_name = "{i}{exp_id}-allevc-{l}-{u}.fits".format(i=inst, exp_id=exp_id, l=filter_lo_en,
u=filter_hi_en)
og_gti_name = "{i}{exp_id}-gti-{l}-{u}.fits".format(i=alt_inst, exp_id=exp_id, l=filter_lo_en,
u=filter_hi_en)
gti_name = "obsid{o}-inst{i}-subexp{se}-en{l}{u}keV-gti.fits".format(i=inst, se=exp_id, l=filter_lo_en,
u=filter_hi_en, o=obs_id)
og_hist_name = "{i}{exp_id}-hist-{l}-{u}.qdp".format(i=alt_inst, exp_id=exp_id, l=filter_lo_en,
u=filter_hi_en)
hist_name = "obsid{o}-inst{i}-subexp{se}-en{l}{u}keV-hist.qdp".format(i=inst, se=exp_id, l=filter_lo_en,
u=filter_hi_en, o=obs_id)
The text was updated successfully, but these errors were encountered: