DataSpace2D¶
- class sherpa.data.DataSpace2D(filter, x0, x1)[source] [edit on github]¶
Bases:
object
Class for representing 2-D Data Spaces. Data Spaces are spaces that describe the data domain.
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 x0 and x1 axes. The tuple will contain two arrays.
- Return type
Methods Documentation