Filter

class sherpa.data.Filter[source] [edit on github]

Bases: object

A class for representing filters of N-Dimentional datasets.

Attributes Summary

mask

Mask array for dependent variable

Methods Summary

apply(array)

Apply this filter to an array

notice(mins, maxes, axislist[, ignore])

Attributes Documentation

mask

Mask array for dependent variable

Returns

mask

Return type

bool or numpy.ndarray

Methods Documentation

apply(array)[source] [edit on github]

Apply this filter to an array

Parameters

array (array_like) – Array to be filtered

Returns

array_like

Return type

filtered array

notice(mins, maxes, axislist, ignore=False)[source] [edit on github]