Exemple #1
0
 public void addWavelength(double wavelengthmeters, double intensity)
 {
     //Console.WriteLine("wl:"+wavelengthmeters+" int:"+intensity+" added");
     this.total_intensity = this.total_intensity+intensity;
     SpectralUnit aSpectralUnit = new SpectralUnit(wavelengthmeters, intensity);
     this.spectralUnits.Add(aSpectralUnit);
 }
Exemple #2
0
        public void addWavelength(double wavelengthmeters, double intensity)
        {
            //Console.WriteLine("wl:"+wavelengthmeters+" int:"+intensity+" added");
            this.total_intensity = this.total_intensity + intensity;
            SpectralUnit aSpectralUnit = new SpectralUnit(wavelengthmeters, intensity);

            this.spectralUnits.Add(aSpectralUnit);
        }