EvaluationSpace2D

class sherpa.models.regrid.EvaluationSpace2D(x=None, y=None, xhi=None, yhi=None)[source]

Bases: object

Attributes Summary

end
grid
is_ascending Is the grid in ascending (True) or descending (False) order? Return a tuple with (is_ascending(self.x), is_ascending(self.y))
is_empty
is_integrated Is the grid integrated (True) or point (False)?
start

Methods Summary

overlaps(other) Check if this evaluation space overlaps with another Note that this is more stringent for 2D, as the boundaries need to coincide in this case.
zeros_like()

Attributes Documentation

end
grid
is_ascending

Is the grid in ascending (True) or descending (False) order? Return a tuple with (is_ascending(self.x), is_ascending(self.y))

is_empty
is_integrated

Is the grid integrated (True) or point (False)?

start

Methods Documentation

overlaps(other)[source]

Check if this evaluation space overlaps with another Note that this is more stringent for 2D, as the boundaries need to coincide in this case.

Parameters:other (EvaluationSpace2D) –
Returns:overlaps – True if they overlap, False if not
Return type:bool
zeros_like()[source]