XMM-Newton SAS Home Page
XMM-Newton Science Analysis System


eimsim (eimsim-2.4) [xmmsas_20190531_1155-18.0.0]


Transform the flux coordinate

This function may be performed alone by calling the script with entrystage and finalstage=`fluxtorand'.

The purpose of this function is to prepare for the matching stage (section 4.3.9). In section 4.3.1, it is described how, for each simulated source, the original random number which became transformed into the flux value for that source was retained in the column FLUXRAND. Actually this number can easily be recalculated from equation 2, if one has the flux value. (In this equation $x$ represents the flux, $I(x)$ the desired evenly-distributed random number and $P(x)$ is the differential logN-logS curve.) For purposes of matching detected and simulated sources it is desirable to apply the same transform to the detected source flux values. This is done by the present function, which calls eimsim task fluxlinearize. The result, and its uncertainty, are written respectively to 4-byte-real columns LINF and LINF_ERR in the list of detected sources.



XMM-Newton SOC/SSC -- 2019-06-02