Background
Instances of Background are objects representing model backgrounds.
- class xpsi.Background.Background(*args, **kwargs)[source]
Bases:
ParameterSubspaceBase class for astronomical photon X-ray background.
- abstractmethod __call__(energy_edges, phases)[source]
Evaluate the background and store it as an attribute.
- Parameters:
energy_edges – The
numpy.ndarrayof energy edges the photon events span.phases – The
numpy.ndarrayof phases (in cycles) the pulse was evaluated at.
Note
Notice that the background can be phase-dependent, and that the cached background must be a two-dimensional matrix equal in shape to that of the pulse signal incident on the telescope.
- property incident_background
Return the incident background specifc photon flux.
Note that the area units need to be consistent with the units the effective area is expressed in within the response matrix of the instrument object.
- property registered_background
Return the registered background count rate signal.