Beispiel #1
0
        public MCAInstrument(DetectionSystem parent, string name, uint id) : base(parent, name, id)
        {
            InstrumentType = "MCA";
            FileExtension  = FILE_EXTENSION;
            filePrefix     = "";
            spectrumParser = new CHNParser();

            numChannels          = NUM_CHANNELS;
            channels             = new Channel[numChannels];
            channels[COUNT_RATE] = new Channel(Name + "-Count_Rate", this, Channel.ChannelType.DURATION_VALUE, 0);
        }
Beispiel #2
0
 public void SetSpectrumParser(SpectrumParser specP)
 {
     spectrumParser = specP;
 }
Beispiel #3
0
 public SpectrumCompiler(string newName, SpectrumParser parser, SpectrumWriter writer) : base(newName)
 {
     spectrumParser = parser;
     spectrumWriter = writer;
 }