DataSpaceND

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

Bases: object

Class for representing arbitray N-Dimensional data domains

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

A tuple representing the independent axes.

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

Return type

DataSpaceND