Ejemplo n.º 1
0
 private void SetCurrent()
 {
     if (comboBox_epochs.SelectedValue != null)
     {
         var currentEpoch = (Time)comboBox_epochs.SelectedValue;
         CurrentHarmanicsData = IonoHarmonicFile[currentEpoch];
         calculater           = new SphericalHarmonicsCalculater(CurrentHarmanicsData);
         log.Info(CurrentHarmanicsData.ToString());
     }
 }
Ejemplo n.º 2
0
        private void button_read_Click(object sender, EventArgs e)
        {
            UiToInitParams();

            var      path  = this.fileOpenControl1.FilePath;
            DateTime start = DateTime.Now;

            var reader = new SphericalHarmonicsReader(path);

            file = reader.Read(maxOrder + 2);

            var span = DateTime.Now - start;

            log.Info("数据 " + file.Count + " ,读取时间 " + span + " ");

            calculater = new SphericalHarmonicsCalculater(file);
            log.Info(file.ToString());
        }