IntegratedAxis
- class sherpa.models.regrid.IntegratedAxis(lo, hi)[source] [edit on github]
Bases:
AxisRepresent an integrated axis of a N-D object.
- Parameters:
- loarray_like or
None The starting point of the axis. If
loisNoneor[]then the data axis is said to be empty. The axis can be in ascending or descending order.- hiarray_like or
None The ending point of the axis. The number of elements must match
lo(eitherNoneor a sequence of the same size). Each element is expected to be larger than the corresponding element of theloaxis, even if theloarray is in descending order.
- loarray_like or
- Attributes:
endThe ending point of the data axis
- hi
is_ascendingIs the axis ascending?
is_emptyIs the axis empty?
is_integratedIs the axis integrated?
- lo
sizeThe size of the axis.
startThe starting point (lowest value) of the data axis.
Methods
overlaps(other)Check if this axis overlaps with another.
Attributes Summary
The ending point of the data axis
Is the axis ascending?
Is the axis empty?
Is the axis integrated?
The size of the axis.
The starting point (lowest value) of the data axis.
Methods Summary
overlaps(other)Check if this axis overlaps with another.
Attributes Documentation
- end
- hi
- is_ascending
Is the axis ascending?
The axis is ascending if the elements in
loare sorted in ascending order. Only the first and last elements are checked, and it is assumed that the elements are sorted.
- is_integrated
- lo
- size
- start
Methods Documentation
- overlaps(other) [edit on github]
Check if this axis overlaps with another.