DataSpace2D
- class sherpa.data.DataSpace2D(filter, x0, x1)[source] [edit on github]
Bases:
objectClass for representing 2-D Data Spaces.
Data Spaces are spaces that describe the data domain.
- Parameters:
- filter
Filter A filter object that initialized this data space.
- x0, x1array_like
The first and second axes of this data space. The arrays are copied.
- filter
- Attributes:
Methods
get([filter])Get a filtered representation of this data set.
Attributes Summary
The grid representation of this dataset.
Return the first axis.
Return the second axis.
Methods Summary
get([filter])Get a filtered representation of this data set.
Attributes Documentation
- grid
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()
- x0
Return the first axis.
- x1
Return the second axis.
Methods Documentation