{"id":754,"date":"2026-05-18T15:00:57","date_gmt":"2026-05-18T15:00:57","guid":{"rendered":"https:\/\/www.sternwarte.uni-erlangen.de\/sixte\/?page_id=754"},"modified":"2026-05-18T15:00:57","modified_gmt":"2026-05-18T15:00:57","slug":"faq","status":"publish","type":"page","link":"https:\/\/www.sternwarte.uni-erlangen.de\/sixte\/faq\/","title":{"rendered":"FAQ"},"content":{"rendered":"\n<div class=\"sixte-faq\">\n\n  <p>\n    Common questions about SIXTE setup, SIMPUT source models, running simulations,\n    and analysing simulation products.\n  <\/p>\n\n  <h2>Setup &amp; Installation<\/h2>\n\n  <details>\n    <summary>Where does one set <code>XMLDIR<\/code>?<\/summary>\n    <p>Shell variables can be set depending on your shell. In bash, for WFI simulations:<\/p>\n    <pre><code>export XMLDIR=$SIXTE\/share\/sixte\/instruments\/athena-wfi\/wfi_wo_filter\/<\/code><\/pre>\n    <p>\n      The examples in this repository usually use <code>SIXTE_INSTRUMENTS<\/code>\n      as the root directory for instrument files. <code>setup.sh<\/code> then sets\n      <code>INSTRUMENT_PATH<\/code> to the relevant instrument subdirectory and\n      <code>XML<\/code> to the specific XML file used for the simulation.\n    <\/p>\n  <\/details>\n\n  <details>\n    <summary>I\u2019m using Docker. How can I connect to a display for <code>fv<\/code>, similar to <code>ssh -Y<\/code>?<\/summary>\n    <p>\n      You can try to follow the instructions here:\n      <a href=\"https:\/\/heasarc.gsfc.nasa.gov\/docs\/software\/lheasoft\/docker.html\">\n        https:\/\/heasarc.gsfc.nasa.gov\/docs\/software\/lheasoft\/docker.html\n      <\/a>.\n    <\/p>\n    <p>\n      For a quick check, use command-line tools such as <code>fstruct<\/code> or\n      <code>fdump<\/code>.\n    <\/p>\n  <\/details>\n\n  <details>\n    <summary>How do I change the instrument setup used for the examples?<\/summary>\n    <p>\n      Most examples use the <code>SIXTE_INSTRUMENTS<\/code> environment variable as\n      the root directory for instrument files.\n    <\/p>\n    <p>\n      In <code>setup.sh<\/code>, <code>INSTRUMENT_PATH<\/code> is set to the relevant\n      subdirectory, and <code>XML<\/code> points to the specific XML file used for\n      the simulation.\n    <\/p>\n    <p>\n      To change the setup, adjust <code>INSTRUMENT_PATH<\/code> if you want to use a\n      different instrument file directory, and adjust <code>XML<\/code> if you only\n      want to switch to another XML file in the same directory.\n    <\/p>\n    <p>\n      Alternatively, you can pass the desired XML file directly to\n      <code>sixtesim<\/code>:\n    <\/p>\n    <pre><code>XMLFile=\/path\/to\/instrument.xml<\/code><\/pre>\n    <p>\n      When changing the XML, also check how many event files the detector setup will\n      produce. For example, switching WFI from the single-chip setup to\n      <code>ld_wfi_ff_all_chips.xml<\/code> uses the full four-chip geometry.\n    <\/p>\n    <p>\n      In that case, <code>sixtesim<\/code> writes one event file per chip. With\n      <code>Prefix=sim_<\/code> and <code>EvtFile=evt.fits<\/code>, the output files are:\n    <\/p>\n    <pre><code>sim_chip0_evt.fits\nsim_chip1_evt.fits\nsim_chip2_evt.fits\nsim_chip3_evt.fits<\/code><\/pre>\n    <p>These files can then be merged for later analysis.<\/p>\n  <\/details>\n\n  <details>\n    <summary>Are there plans to provide XMLs for Einstein Probe?<\/summary>\n    <p>\n      There are currently no plans to implement Einstein Probe from our side.\n      We are not part of the Einstein Probe consortium.\n    <\/p>\n    <p>\n      The simulator at\n      <a href=\"https:\/\/epfxt.ihep.ac.cn\/simulation\">https:\/\/epfxt.ihep.ac.cn\/simulation<\/a>\n      uses SIXTE in the background. However, we do not have detailed information\n      about how the setup, XML files, and related configuration are implemented.\n    <\/p>\n  <\/details>\n\n  <h2>SIMPUT Source Models<\/h2>\n\n  <details>\n    <summary>When simulating a target, should we set RA and Dec to zero or use the target position?<\/summary>\n    <p>\n      For the SIMPUT file, RA and Dec define the source position on the sky.\n      Therefore, <code>RA=Dec=0<\/code> places the source at those coordinates.\n    <\/p>\n    <p>\n      For the simulation, RA and Dec specify the telescope pointing. If the SIMPUT\n      file does not contain a source in the pointing direction, no flux will be\n      measured.\n    <\/p>\n  <\/details>\n\n  <details>\n    <summary>If I care about extinction and background effects, should I define the coordinates of a real source?<\/summary>\n    <p>\n      It depends. SIXTE does not simulate extinction and astrophysical background\n      by itself. You need to define these effects as part of your SIMPUT file.\n    <\/p>\n  <\/details>\n\n  <details>\n    <summary>How can I include eROSITA sources or the X-ray background in my SIXTE simulation?<\/summary>\n    <p>\n      We are working on putting the eROSITA sources in a single SIMPUT file,\n      which you will then be able to add to a simulation. That will take a little\n      while, though.\n    <\/p>\n    <p>\n      There are large AGN catalogues available at\n      <a href=\"http:\/\/www.bo.astro.it\/~gilli\/mock.html\">http:\/\/www.bo.astro.it\/~gilli\/mock.html<\/a>.\n      If the X-ray background matters to you, you may want to put your source in\n      the area covered by these catalogues.\n    <\/p>\n  <\/details>\n\n  <details>\n    <summary>Are <code>Emin<\/code> and <code>Emax<\/code> instrument-specific?<\/summary>\n    <p>\n      No. <code>Emin<\/code> and <code>Emax<\/code> set the energy band in which the\n      flux is defined.\n    <\/p>\n    <p>\n      <code>Elow<\/code> and <code>Eup<\/code> are somewhat instrument-dependent,\n      because they give the energy range over which the source spectrum is defined.\n      If <code>Elow<\/code> to <code>Eup<\/code> does not completely cover the\n      instrument energy range, SIXTE will throw a warning.\n    <\/p>\n  <\/details>\n\n  <details>\n    <summary>Are output files like <code>mcrab.fits<\/code> or <code>plaw.simput<\/code> the source catalogs?<\/summary>\n    <p>\n      Yes. More precisely, the <code>SRC_CAT<\/code> extension inside the SIMPUT\n      FITS file is the source catalog.\n    <\/p>\n    <p>\n      The whole <code>.fits<\/code> or <code>.simput<\/code> file is commonly referred\n      to as the SIMPUT source catalog.\n    <\/p>\n  <\/details>\n\n  <details>\n    <summary>Is the <code>srcFlux<\/code> parameter the total flux in the whole image?<\/summary>\n    <p>\n      Yes, in the band defined by <code>Emin<\/code> and <code>Emax<\/code>.\n    <\/p>\n    <p>\n      The total normalization of the XSPEC spectrum is overridden, while the\n      relative normalizations of multiple components are preserved.\n    <\/p>\n    <p>\n      If you provide an XSPEC file and no <code>srcFlux<\/code>,\n      <code>simputfile<\/code> tries to calculate the source flux for you in the\n      given flux band. However, we recommend always setting <code>srcFlux<\/code>\n      manually to make sure the correct flux is simulated.\n    <\/p>\n  <\/details>\n\n  <details>\n    <summary>Does the simulated observation have to be conducted in the same energy band as the input image?<\/summary>\n    <p>\n      Not necessarily. The energy band of the simulation is whatever the mission\n      can do.\n    <\/p>\n    <p>\n      The SIMPUT file should cover this instrument range. It does not hurt to have\n      broader coverage.\n    <\/p>\n  <\/details>\n\n  <details>\n    <summary>Can different extended sources with different model spectra be combined?<\/summary>\n    <p>\n      Yes. See the\n      <a href=\"extended_sources\/mixing\">extended_sources\/mixing<\/a>\n      example.\n    <\/p>\n    <p>\n      In particular,\n      <a href=\"extended_sources\/mixing\/02_build_simputs\">02_build_simputs<\/a>\n      creates two extended SIMPUTs with different spectra, and\n      <a href=\"extended_sources\/mixing\/03_run_sim\">03_run_sim<\/a>\n      passes both files to <code>sixtesim<\/code> as a comma-separated\n      <code>Simput<\/code> list.\n    <\/p>\n  <\/details>\n\n  <details>\n    <summary>Can additional maps such as line-of-sight velocity or turbulence be added?<\/summary>\n    <p>\n      Yes. For a small number of spatially varying spectral parameters,\n      <code>simputmultispec<\/code> is the relevant approach.\n    <\/p>\n    <p>\n      See:\n      <a href=\"extended_sources\/multispec\">extended_sources\/multispec<\/a>.\n    <\/p>\n    <p>\n      For many free spectral parameters, <code>simputmultispec<\/code> becomes\n      cumbersome, so photon-list SIMPUTs or 3D grids can be more suitable.\n    <\/p>\n    <p>\n      See:\n      <a href=\"extended_sources\/photon_lists\">extended_sources\/photon_lists<\/a>\n      and\n      <a href=\"extended_sources\/data_cube\">extended_sources\/data_cube<\/a>.\n    <\/p>\n  <\/details>\n\n  <details>\n    <summary>Can I simulate an extended source without temperature or abundance maps?<\/summary>\n    <p>\n      Yes. This is demonstrated in\n      <a href=\"extended_sources\/data_cube\">extended_sources\/data_cube<\/a>,\n      for example with a cube of RA, Dec, and Energy.\n    <\/p>\n  <\/details>\n\n  <details>\n    <summary>Does SIXTE read idealized 3D photon lists in HDF5 format produced by pyXSIM?<\/summary>\n    <p>\n      SIXTE does not read pyXSIM HDF5 photon or event-list files directly.\n      The robust interface is a SIMPUT source catalog.\n    <\/p>\n    <p>\n      The direct pyXSIM workflow is to first project the 3D photon list to the\n      desired line of sight:\n    <\/p>\n    <pre><code>pyxsim.project_photons(...)<\/code><\/pre>\n    <p>\n      Then load the projected event list as an <code>EventList<\/code> and export it\n      to SIMPUT:\n    <\/p>\n    <pre><code>write_to_simput(...)<\/code><\/pre>\n    <p>\n      Pass the resulting SIMPUT catalog file to SIXTE:\n    <\/p>\n    <pre><code>Simput=...<\/code><\/pre>\n    <p>\n      SOXS can also be used to construct photon-list SIMPUT catalogs directly.\n      See\n      <a href=\"extended_sources\/photon_lists\">extended_sources\/photon_lists<\/a>,\n      especially\n      <a href=\"extended_sources\/photon_lists\/create_photlist_simput.py\">create_photlist_simput.py<\/a>\n      and\n      <a href=\"extended_sources\/photon_lists\/02_run_xifu\">02_run_xifu<\/a>.\n    <\/p>\n  <\/details>\n\n  <details>\n    <summary>How can we introduce the cosmic X-ray background in simulations?<\/summary>\n    <p>\n      By adding many background AGN, clusters, and similar sources to your SIMPUT\n      file.\n    <\/p>\n    <p>\n      A set of background SIMPUTs has been created by Marchesi et al. here:\n      <a href=\"http:\/\/www.bo.astro.it\/~gilli\/mock.html\">http:\/\/www.bo.astro.it\/~gilli\/mock.html<\/a>.\n    <\/p>\n  <\/details>\n\n  <details>\n    <summary>Is the length parameter connected to the <code>example_lightcurve.dat<\/code> time range?<\/summary>\n    <p>\n      It is the length of the generated light curves in seconds. A shorter value\n      covers only part of the values in <code>example_lightcurve.dat<\/code>.\n    <\/p>\n  <\/details>\n\n  <details>\n    <summary>Are the flux units in <code>example_lightcurve.dat<\/code> calibrated by the spectrum file?<\/summary>\n    <p>\n      This is the flux as a fraction of the value given in the <code>FLUX<\/code>\n      column of the source.\n    <\/p>\n  <\/details>\n\n  <h2>Running SIXTE<\/h2>\n\n  <details>\n    <summary>Do we expect the warning that the spectrum does not cover the full energy range of the ARF?<\/summary>\n    <p>\n      The warning is given if the spectrum in the SIMPUT file has an energy\n      range, given by <code>Elow<\/code> and <code>Eup<\/code>, that does not contain\n      the nominal energy range of the instrument.\n    <\/p>\n    <pre><code>*** The spectrum 'mcrab.fits[SPECTRUM,1]' does not cover the full energy range of the ARF! ***<\/code><\/pre>\n  <\/details>\n\n  <details>\n    <summary>Why are some WFI simulation results 18&times;18 arcmin instead of the nominal 40&times;40 arcmin?<\/summary>\n    <p>\n      For some examples, the single-chip setup is used. In this setup, one chip is\n      centered on the optical axis.\n    <\/p>\n    <p>\n      This is useful for quick tests or compact-source simulations where the full\n      four-chip geometry and chip gaps are not relevant for the analysis.\n    <\/p>\n  <\/details>\n\n  <details>\n    <summary>Are the PSFs for the simulation at mirror level or detector level? Can I provide my own PSF?<\/summary>\n    <p>\n      They are based on the mirror PSFs, but sensor effects are taken into account\n      in the simulation.\n    <\/p>\n    <p>\n      The simulation is done with the full PSF resolution. One can output an impact\n      file containing the locations where photons hit the chip. When reconstructing\n      images, the position is spread over the pixel where the charge was registered.\n    <\/p>\n    <p>\n      Providing a custom PSF is possible. More information is given in Section 4.1\n      on PSF randomization and Appendix C.1 on telescope XML configuration in the\n      manual.\n    <\/p>\n    <p>\n      The provided PSFs are used to trace photons from the sky and map them onto\n      the detector. Afterwards, detector effects are applied.\n    <\/p>\n  <\/details>\n\n  <details>\n    <summary>Are grading or crosstalk effects included in XMLs other than X-IFU, for example WFI?<\/summary>\n    <p>\n      The physics of bright-source events in WFI is different from that in X-IFU.\n    <\/p>\n    <p>\n      In WFI, bright sources are mainly affected by pile-up, as shown in:\n      <a href=\"bright_sources\/pileup\">bright_sources\/pileup<\/a>.\n    <\/p>\n    <p>\n      Crosstalk is not really an issue for WFI.\n    <\/p>\n  <\/details>\n\n  <details>\n    <summary>What is the difference between <code>sixtesim<\/code> and <code>xifupipeline<\/code>?<\/summary>\n    <p>\n      <code>xifupipeline<\/code> is deprecated. It was used before\n      <code>sixtesim<\/code> was created.\n    <\/p>\n    <p>\n      <code>sixtesim<\/code> can now simulate all instruments supported by SIXTE.\n      The same applies to tools such as <code>erosim<\/code> and\n      <code>athenawfisim<\/code>.\n    <\/p>\n  <\/details>\n\n  <h2>Analysis<\/h2>\n\n  <details>\n    <summary>In an event file row with <code>PILEUP=1<\/code>, are multiple events already merged?<\/summary>\n    <p>\n      Yes. They are already merged.\n    <\/p>\n    <p>\n      Have a look at the <code>PH_ID<\/code> column, which should have two entries\n      for this event. This column contains the unique IDs of the photons that were\n      merged into the event.\n    <\/p>\n  <\/details>\n\n  <details>\n    <summary>What are use cases where <code>CRVAL1<\/code> or <code>CRVAL2<\/code> will be non-zero?<\/summary>\n    <p>\n      Whenever you are not pointing at <code>RA=Dec=0<\/code>.\n    <\/p>\n    <p>\n      Essentially, <code>CRVAL1<\/code> defines the sky coordinate corresponding\n      to the pixel value <code>CRPIX1<\/code>. The same applies to\n      <code>CRVAL2<\/code> and <code>CRPIX2<\/code>.\n    <\/p>\n  <\/details>\n\n  <details>\n    <summary>What exactly does <code>EventFilter<\/code> mean?<\/summary>\n    <p>\n      <code>EventFilter<\/code> is a filtering expression using the FITS extended\n      filename syntax.\n    <\/p>\n    <p>\n      It is described in more detail in the manual and by:\n    <\/p>\n    <pre><code>fhelp rowfilter\nfhelp colfilter<\/code><\/pre>\n  <\/details>\n\n  <details>\n    <summary>Can a DS9 region file be used as a filter?<\/summary>\n    <p>\n      Yes. There is a <code>regfile<\/code> option that takes the path to a region\n      file.\n    <\/p>\n    <p>\n      To use region files, you first need to define a WCS in the event file.\n      This can be done with the <code>radec2xy<\/code> tool.\n    <\/p>\n    <p>\n      An example is given in\n      <a href=\"extended_sources\/simple_extsource\/02_run_sim\">extended_sources\/simple_extsource\/02_run_sim<\/a>,\n      which adds WCS coordinates with <code>radec2xy<\/code>.\n    <\/p>\n    <p>\n      Another example is\n      <a href=\"extended_sources\/simple_extsource\/04_extract_spec\">extended_sources\/simple_extsource\/04_extract_spec<\/a>,\n      which uses:\n    <\/p>\n    <pre><code>regfile=input\/${reg}.reg<\/code><\/pre>\n  <\/details>\n\n  <details>\n    <summary>Does the extracted light curve differ from the input SIMPUT light curve only because of instrumental noise?<\/summary>\n    <p>\n      No. The SIMPUT light curve changes the source photon rate itself.\n    <\/p>\n    <p>\n      The light curve extracted with <code>makelc<\/code> contains the simulated\n      source variability plus counting statistics, detector effects, optional\n      background, and any other sources included in the selected event region.\n    <\/p>\n  <\/details>\n\n  <details>\n    <summary>If a variable source is in a crowded field, does the light curve simulation account for nearby sources?<\/summary>\n    <p>\n      All variable sources in your catalog should be simulated at the same time.\n    <\/p>\n    <p>\n      If your extraction region contains flux from any variable or non-variable\n      source, you would see it in your light curve.\n    <\/p>\n    <p>\n      SIXTE traces the origin of each photon, and this is collected in the\n      <code>SRC_ID<\/code> column in the event list. This means you can check the\n      contribution from other sources by selecting all photons in the source region\n      and counting how many come from a source with a <code>SRC_ID<\/code> different\n      from yours.\n    <\/p>\n  <\/details>\n\n  <details>\n    <summary>Can I load the region file while generating the spectrum, as in NuSTAR, instead of typing it manually?<\/summary>\n    <p>\n      Yes. See the <code>regfile<\/code> option, which exists in\n      <code>makespec<\/code>, <code>makelc<\/code>, and other tools.\n    <\/p>\n    <p>\n      You also need a WCS system defined in the event file. You can use the\n      <code>radec2xy<\/code> tool for this.\n    <\/p>\n    <p>\n      An example is given in\n      <a href=\"extended_sources\/simple_extsource\/02_run_sim\">extended_sources\/simple_extsource\/02_run_sim<\/a>,\n      which adds WCS coordinates with <code>radec2xy<\/code>.\n    <\/p>\n    <p>\n      Another example is\n      <a href=\"extended_sources\/simple_extsource\/04_extract_spec\">extended_sources\/simple_extsource\/04_extract_spec<\/a>,\n      which uses:\n    <\/p>\n    <pre><code>regfile=input\/${reg}.reg<\/code><\/pre>\n  <\/details>\n\n  <details>\n    <summary>For realistic X-IFU observations of bright sources, is throughput deterioration modeled in ARF generation?<\/summary>\n    <p>\n      No. The ARF generation does not consider this effect. This is believed to\n      also be the case for real XRISM data, where the general approach is very\n      similar.\n    <\/p>\n    <p>\n      You can estimate the recovered flux using quantities such as the\n      <code>GRADING<\/code> columns or the <code>NGRAD1<\/code> and related header\n      keywords.\n    <\/p>\n  <\/details>\n\n  <details>\n    <summary>For realistic X-IFU\/XRISM observations, are crosstalk broadening effects considered when generating the RMF?<\/summary>\n    <p>\n      No. We currently do not perform RMF generation.\n    <\/p>\n    <p>\n      To account for grading effects, you could in principle extract one spectrum\n      per grade and fit them simultaneously, although you would need to take care\n      of normalizations.\n    <\/p>\n    <p>\n      Crosstalk is best handled through the choice of observation strategy and\n      filtering.\n    <\/p>\n  <\/details>\n\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>Common questions about SIXTE setup, SIMPUT source models, running simulations, and analysing simulation products. Setup &amp; Installation Where does one set XMLDIR? Shell variables can be set depending on your shell. In bash, for WFI simulations: export XMLDIR=$SIXTE\/share\/sixte\/instruments\/athena-wfi\/wfi_wo_filter\/ The examples in this repository usually use SIXTE_INSTRUMENTS as the root directory&#8230;<\/p>\n","protected":false},"author":1008,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":[],"categories":[],"tags":[],"_links":{"self":[{"href":"https:\/\/www.sternwarte.uni-erlangen.de\/sixte\/wp-json\/wp\/v2\/pages\/754"}],"collection":[{"href":"https:\/\/www.sternwarte.uni-erlangen.de\/sixte\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/www.sternwarte.uni-erlangen.de\/sixte\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/www.sternwarte.uni-erlangen.de\/sixte\/wp-json\/wp\/v2\/users\/1008"}],"replies":[{"embeddable":true,"href":"https:\/\/www.sternwarte.uni-erlangen.de\/sixte\/wp-json\/wp\/v2\/comments?post=754"}],"version-history":[{"count":5,"href":"https:\/\/www.sternwarte.uni-erlangen.de\/sixte\/wp-json\/wp\/v2\/pages\/754\/revisions"}],"predecessor-version":[{"id":759,"href":"https:\/\/www.sternwarte.uni-erlangen.de\/sixte\/wp-json\/wp\/v2\/pages\/754\/revisions\/759"}],"wp:attachment":[{"href":"https:\/\/www.sternwarte.uni-erlangen.de\/sixte\/wp-json\/wp\/v2\/media?parent=754"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.sternwarte.uni-erlangen.de\/sixte\/wp-json\/wp\/v2\/categories?post=754"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.sternwarte.uni-erlangen.de\/sixte\/wp-json\/wp\/v2\/tags?post=754"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}