DataSpaceND

class sherpa.data.DataSpaceND(filter, indep)[source] [edit on github]

Bases: object

Class for representing arbitrary N-Dimensional data domains

Parameters:
filterFilter

A filter object that initialized this data space.

indeptuple of array_like

The tuple of independent axes. The arrays are copied rather than storing a reference.

Attributes:
grid

Return the grid representation of this dataset.

Methods

get([filter])

Get a filtered representation of this data set.

Attributes Summary

grid

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 independent arrays are returned unchanged, i.e. unlike the DataSpace2D class they are not meshed

Returns:
tuple

A tuple representing the independent axes.

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:
filterbool

whether the data set should be filtered before being returned

Returns:
DataSpaceND