Differences between revisions 26 and 27
Revision 26 as of 2017-07-27 08:27:04
Size: 4867
Comment:
Revision 27 as of 2017-07-27 08:29:32
Size: 4897
Comment:
Deletions are marked like this. Additions are marked like this.
Line 41: Line 41:
For the conversion of count rates to fluxes conversion factors are supplied to ERMLDET. These are estimated for a power-law X-ray spectrum with Gamma=1.4, i.e. the same as that of the input sources. The adopted [[attachment:erosita_iv_1telonaxis_ff.arf|ARF]] and [[attachment:erosita_iv_1telonaxis_ff.rmf|RMF]] files are the same as those provided to SIXTE via the input XML files. {{{XSPEC}}} is used to fake a power-law spectrum with Gamma=1.4 and estimate the corresponding count rate and flux in the spectral bands of interest. For the 0.5-2keV band the conversion from counts to flux is 1.76051*10^11^. For the conversion of count rates to fluxes conversion factors are supplied to ERMLDET. These are estimated for a power-law X-ray spectrum with Gamma=1.4, i.e. the same as that of the input sources. The adopted [[attachment:erosita_iv_1telonaxis_ff.arf|ARF]] and [[attachment:erosita_iv_1telonaxis_ff.rmf|RMF]] files are the same as those provided to SIXTE via the input [[attachment:erositaXML.tar|XML files]]. {{{XSPEC}}} is used to fake a power-law spectrum with Gamma=1.4 and estimate the corresponding count rate and flux in the spectral bands of interest. For the 0.5-2keV band the conversion from counts to flux is 1.76051*10^11^.

Description of performance tests and simulations relevant to the APETOOL and SHAPELIB libraries.

Simulations are underway to test the following aspects relevant to apetool and shapelib:

  1. How well/accurate can the shapelet-PSF model determine the flux of point-sources: simulate fields (both survey-mode and pointed) with a grid of point sources of fixed flux and spectral. Run ermldetect to detect the sources and measure their flux and compare with the input one.
  2. How well can APETOOL reconstruct the selection function of eROSITA observations: simulate fields (both survey-mode and pointed) with a point-sources with fluxes drawn from a logN-logS distribution and fixed spectral shape. Run ERLDETECT and ptoduce a source list, APETOOL to threshold at a given false detection probability and estimate field sensitivities. Reconstruct input logN-logS and compare.

The relevant simulations are based on modified versions of Nicolas Clerc's python scripts described here. The main modifications are: (i) functions to generate attitude files for both survey and pointed observations (ii) place sources in a grid of fixed spacing within the survey field, (iii) use of simple power-law X-ray spectra with a choice of Gammas for the point sources, (iv) functionality to produce sources of fixed flux. A tarball with the relevant python scripts can be found [[|here(to be added soon)]].

Progress so far

Simulations of sources with flux fX(0.5-2)=10-12cgs in grid. Pointed observations and survey fields have been simulated. The latter use the attitude file: oneyearsurvey_att.fits. The SIXTE and Simput versions 2.2.0 have been used. The EROSIM task with the XML files and the Panter PSF (256M!) was run followed by the ERO_CALEVENTS task. The input spectrum are assigned a power-law spectrum with index Gamma=1.4. The input flux is fX(0.5-2)=10-12cgs.

The table below lists links to the input simput file, the event files for each telescope separately and the merged one (via call to evtool):

simput_test.fits

simput file

ccd1_new_events.fits

Event file for CCD1

ccd2_new_events.fits

Event file for CCD2

ccd3_new_events.fits

Event file for CCD3

ccd4_new_events.fits

Event file for CCD4

ccd5_new_events.fits

Event file for CCD5

ccd6_new_events.fits

Event file for CCD6

ccd7_new_events.fits

Event file for CCD7

sm04_183156_020_EventList_001_t001.fits

Merged Event file

Issues with simulations (to be addressed in the future):

  • the event files produced by ERO_CALEVENTS have columns RA and DEC of type 'J' (integer) in the 'EVENTS' extension. Should be 'E' or 'D'
  • the event files produced by EROSIM include events with negative energies.

Results:

The demoscript.py was used to analyse the data. The ERMLDET task was called with the "shapelet_flag=yes". The table below lists the Source Map in the 0.5-2keV band produced by the ERMLDET task, the corresponding SIXTE-simulated image and the source list produced by the the ERMLDET task:

sm04_183156_022_SourceMap_001_t001.fits

Source Map

comp.png

Comparison of Source Map with SIXTE simulated image in the 0.5-2keV

sm04_183156_020_MaxLikSourceList_001_t001.fits

Source list produce by ERMLDET

For the conversion of count rates to fluxes conversion factors are supplied to ERMLDET. These are estimated for a power-law X-ray spectrum with Gamma=1.4, i.e. the same as that of the input sources. The adopted ARF and RMF files are the same as those provided to SIXTE via the input XML files. XSPEC is used to fake a power-law spectrum with Gamma=1.4 and estimate the corresponding count rate and flux in the spectral bands of interest. For the 0.5-2keV band the conversion from counts to flux is 1.76051*1011.

Issues:

  • the event files produced by ERO_CALEVENTS have colsixte

EROSITAwiki: EroCat/eSASSdevel/APETOOL (last edited 2017-07-27 10:43:22 by AntonisGeorgakakis)