phajy / XRISMproject

XRISM project looking at high resolution X-ray spectra
MIT License
0 stars 0 forks source link

Simulated XRISM spectra #4

Open phajy opened 1 week ago

phajy commented 1 week ago

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 the simulate function in simulate.jl.