Did I find the right examples for you? yes no

All Samples(1)  |  Call(1)  |  Derive(0)  |  Import(0)

src/p/y/pyHMSA-0.1/pyhmsa/fileformat/xmlhandler/condition/test_detector.py   pyHMSA(Download)
        self.obj = DetectorSpectrometerXEDS(4096, calibration, COLLECTION_MODE_PARALLEL,
                                            XEDS_TECHNOLOGY_SILI, 180000.0, 11.1, 2000.0)
        self.obj.window.append_layer('Al', 1.0)
 
        source = '<Detector Class="Spectrometer/XEDS"><ChannelCount DataType="uint32">4096</ChannelCount><Calibration Class="Constant"><Quantity>Energy</Quantity><Unit>eV</Unit><Value DataType="float">-237.098251</Value></Calibration><Technology>SiLi</Technology><NominalThroughput Unit="counts" DataType="float">180000.</NominalThroughput><TimeConstant Unit="us" DataType="float">11.1</TimeConstant><StrobeRate Unit="Hz" DataType="float">2000</StrobeRate><Window><Layer Material="Al" Unit="um" DataType="float">1.</Layer></Window></Detector>'