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:

rmf (DataRMF or RMF1D) – The RMF instance.

Returns:

image – 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.

Return type:

DataIMG