ess.sans.io.read_xml_detector_masking#
- ess.sans.io.read_xml_detector_masking(filename)[source]#
Read a pixel mask from an ISIS XML file.
The format is as follows, where the detids are inclusive ranges of detector IDs:
<?xml version="1.0"?> <detector-masking> <group> <detids>1400203-1400218,1401199,1402190-1402223</detids> </group> </detector-masking>
- Parameters:
filename (
types.PixelMaskFilename
(str
)) – Path to the XML file.- Return type: