IntegratedDataSpace2D¶
-
class
sherpa.data.
IntegratedDataSpace2D
(filter, x0lo, x1lo, x0hi, x1hi)[source] [edit on github]¶ Bases:
object
Same as DataSpace2D, but for supporting integrated data sets.
Attributes Summary
Return the grid representation of this dataset.
Methods Summary
get
([filter])Get a filtered representation of this data set.
Attributes Documentation
-
grid
¶ Return the grid representation of this dataset.
The x0 and x1 arrays in the grid are one-dimensional representations of the meshgrid obtained from the x and y axis arrays, as in numpy.meshgrid(x, y)[0].ravel()
- Returns
A tuple representing the x and y axes. The tuple will contain four arrays.
- Return type
tuple
Methods Documentation
-
get
(filter=False)[source] [edit on github]¶ Get a filtered representation of this data set. If filter is False this object is returned.
- Parameters
filter (bool) – whether the data set should be filtered before being returned
- Returns
- Return type
-