get_dims¶
-
sherpa.ui.get_dims(id=None, filter=False)¶ Return the dimensions of the data set.
Parameters: - id (int or str, optional) – The data set. If not given then the default identifier is used, as returned by get_default_id.
- filter (bool, optional) – If
Truethen apply any filter to the data set before returning the dimensions. The default isFalse.
Returns: dims
Return type: a tuple of int
See also
ignore()- Exclude data from the fit.
sherpa.astro.ui.ignore2d()- Exclude a spatial region from an image.
notice()- Include data in the fit.
sherpa.astro.ui.notice2d()- Include a spatial region of an image.