How to exclude regions when filtering
Posted: Wed Jun 08, 2022 5:51 pm
Hello everyone,
I am trying to filter the eFEDS event files using the following basic expression:
The ds9.reg file is a simple circle:
And the task works. However, I would like to exclude the `ds9.reg` instead of excluding everything outside it. Basically, I want a hole in the region position. In DS9 this is done by simply adding a minus before the expression, like:
But this does not work with `evtool`, and the final product is a black fits file when opened with DS9.
Any suggestion?
I am trying to filter the eFEDS event files using the following basic expression:
Code: Select all
evtool eventfiles="fm00_300007_020_EventList_c001.fits" outfile="fm00_300007_020_EventList_c001_filtered.fits"
region="ds9.reg"
Code: Select all
# Region file format: DS9 version 4.1
global color=green dashlist=8 3 width=1 font="helvetica 10 normal roman" select=1 highlite=1 dash=0 fixed=0 edit=1 move=1 delete=1 include=1 source=1
fk5
circle(8:41:45.8382,+2:36:36.253,2570.572")
Code: Select all
-circle(8:41:45.8382,+2:36:36.253,2570.572")
Any suggestion?