rmf_to_image

sherpa.astro.instrument.rmf_to_image(rmf: DataRMF | RMF1D) → DataIMG[source] [edit on github]

Convert a RMF to DataIMG.

Added in version 4.16.0.

Parameters:
rmfDataRMF or RMF1D

The RMF instance.

Returns:
imageDataIMG

The axis units are pixel based (both x0 and x1 start at 1) and do not reflect the channel or energy ranges of the RMF. No WCS information is added to represent this mapping.