We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 62b88bb commit ba98428Copy full SHA for ba98428
workflow/rules/project_psf.smk
@@ -2,7 +2,12 @@
2
def dmcopy_selection_str_psf(wildcards, input):
3
irf_label = wildcards.irf_label
4
header = fits.getheader(input[0], "EVENTS")
5
- wcs = wcs_from_header_chandra(header, x_col=9)
+
6
+ instrument = header["INSTRUME"]
7
+ if "ACIS" in instrument:
8
+ wcs = wcs_from_header_chandra(header)
9
+ else:
10
+ wcs = wcs_from_header_chandra(header, x_col=9)
11
return config_obj.irfs[irf_label].psf.to_dm_copy_str(wcs=wcs)
12
13
rule project_psf:
0 commit comments