This returns true EITHER if the specified component contains no filter on the specified axis OR all of the filters of this component and on this axis pass the specified value.
NOTE: In the original version, it calls dssFilterName(filter), which may cause Segmenation Fault at the time of writing (Apr 2011). Therefore it is rewritten with dssHasFilter(). The algorithm is not completely identical, however, in the practical cases it should not cause any trouble, especially if the FITS files do not contain multiple DSS in the same dssComp with the same axis name and filterName (which should not be the case in any FITS file). Note that the original and revised algorithms are switched via a parameter isUsed_dssFilterName.
The revised algorithm is as follows:
logical(bool) function allFiltersPassValue(dssComp, axisName, axisValue, filterType) type(DScompT), intent(in) :: dssComp character(*), intent(in) :: axisName real(single), intent(in) :: axisValue integer, intent(in), optional :: filterType end function allFiltersPassValue
XMM-Newton SOC -- 2023-04-16