Response Model class.
Response models are functions which act upon the detector RMF. XSPEC
currently has just one response model: 'gain', which is a built-in attribute
of the Response class. RModel objects are not intended for stand-alone
creation: its __init__ function should be considered private.
Public instance attributes.
<parameters> -- When RModel is ON, it contains an attribute of type
Parameter for every parameter in the model. An
RModel is turned ON by a 'set' operation on ANY
of its parameters. For example with the 'gain'
resp.gain.offset = .03
automatically creates 'offset' AND 'slope'
parameters if they don't already exist ('slope'
would be initialized to its default value of 1.0).
The shift is then applied immediately to the
Response object 'resp'.
When RModel is OFF (see the RModel.off() method),
the parameters are not accessible and any stored
references to them become invalid.
isOn -- Boolean flag showing the On/Off status of the RModel
parameterNames -- List of the response model's parameter names