-
Notifications
You must be signed in to change notification settings - Fork 8
Description
Use case A.1.3 is introduced this way
Identify all event lists and their associated IRFs of the region of Cygnus loop
(3 ◦ diameter) taken with SWGO. Only data of the event type ‘very-good’ are
selected, in order to limit the amount of downloaded data.
1 ) if we want to really find response functions associated to a given event list the spatial constraint
(i) s_region position intersects with the source modeled by a circle of 1.5
deg around (312.775, 30.683)
is not sufficient. Datasets related to the same observation should share the same obs_id.
2 ) But anyway my main concern as explained in my recent email to the list is to expose the IRF in ObsCore in the same way we do for event-lists, images of the sky, spectra of the sky. This overloads the ObsCore table with material we generally don't include in other spectral domains. And many of the characterisation parameters do not describe the response dataset itself but are borrowed from the event list. And I don't think the fact that response functions in high energy are generally used in inverse calibration methods instead of direct calibration methods makes a significant difference between all the response functions according to their discovery/access mode
3 ) of course one solution to avoid that is to use the standard datalink process as in use case A.1.6
4 ) but I understand that a drawback of this process is that there are two steps before accessing the response functions instead of one.
5 ) To avoid this issue we can install the DataLink response for all the datasets in a TAP service (single table) in the same TAP server than the ObsTAP one. Let's call this schema/table datalink.response. The semantics would be #calibration for response functions (or #irf if you prefer) and the response function class will be given in content_qualifier (as in A.1.6)
6 ) in that case the ADQL query proposed for this use case :
SELECT * FROM ivoa.obscore
NATURAL JOIN ivoa.obscore_hea
WHERE (INTERSECTS(s_region, CIRCLE(312.775, 30.683, 1.5)) = 6)
AND (dataproduct_type = ’event-list’ OR dataproduct_type = ’aeff’
OR dataproduct_type = ’edisp’ OR dataproduct_type = ’psf’
OR dataproduct_type = ’bkgrate’)
AND (obs_collection = ’SWGO-DR1’)
AND (event_type = ’very-good’)
will be modified this way :
SELECT * FROM ivoa.obscore
NATURAL JOIN ivoa.obscore_hea
JOIN datalink.response ON ivoa.obscore.obs_publisher_did = datalink.response.ID
WHERE (INTERSECTS(s_region, CIRCLE(312.775, 30.683, 1.5)) = 6)
AND (dataproduct_type = ’event-list’ )
AND (obs_collection = ’SWGO-DR1’)
AND (event_type = ’very-good’)
AND ( semantics = '#this'
OR (semantics = '#calibration'
AND (content_qualifier = ’aeff’
OR content_qualifier = ’edisp’
OR content_qualifier = ’psf’
OR content_qualifier = ’bkgrate’)
)
)