We'd like to create a simulated XRISM observation of a power law plus the iron line model using SpectralFitting.jl.
Create a line profile model
Read in the XRISM response matrices (RMF and ARF)
Simulate a XRISM observation
Here's some more information about each step:
Create line profile model
We need to create a model in SpectralFitting.jl that, in the first instance, consists of the sum of the three lines. Perhaps the easiest way to do this is to create a new model in Julia following the example of one of the additive models. This might be quite slow because we're not setting up a grid of transfer functions, but it will work for the purposes of creating a "fake" dataset.
Read in the XRISM responses
If we're going to simulate XRISM data we'll need to use the appropriate RMF and ARF files. You already have these from, e.g., the Perseus cluster data.
Simulate a XRISM observation
Given a model and set of instrument responses you can simulate an observation of a particular duration (exposure_time), for now ignoring the background, using the simulate function in simulate.jl.
We'd like to create a simulated XRISM observation of a power law plus the iron line model using SpectralFitting.jl.
Here's some more information about each step:
Create line profile model
We need to create a model in SpectralFitting.jl that, in the first instance, consists of the sum of the three lines. Perhaps the easiest way to do this is to create a new model in Julia following the example of one of the additive models. This might be quite slow because we're not setting up a grid of transfer functions, but it will work for the purposes of creating a "fake" dataset.
Read in the XRISM responses
If we're going to simulate XRISM data we'll need to use the appropriate RMF and ARF files. You already have these from, e.g., the Perseus cluster data.
Simulate a XRISM observation
Given a model and set of instrument responses you can simulate an observation of a particular duration (
exposure_time
), for now ignoring the background, using thesimulate
function in simulate.jl.