void GetNeuroData()
 {
     Form frm = new Form();
     ProgressBar pb = new ProgressBar();
     frm.Controls.Add(pb);
     frm.Width = 300;
     frm.Height = 50;
     frm.TopMost = true;
     frm.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedToolWindow;
     pb.Visible = true;
     pb.Maximum = NNH.Signes.Count;
     pb.Value = 0;
     pb.Height = 50;
     pb.Dock = DockStyle.Fill;
     pb.Invalidate();
     Application.DoEvents();
     frm.Show();
     int n = 0;
     for (int i = 0; i < NNH.Signes.Count ; i++)
     {
         if (i%5==0)
         {
             pb.Value = n;
             pb.Refresh();
             frm.Invalidate();
             Application.DoEvents();
         }
         if (NNH.Signes[i].Spectr == null)
         {
             NNH.Signes[i].Spectr = (GetDoubAr(SpecA.GetRawSpectrData(NNH.Signes[i].filepath, BassGetSpectrum.Spectrum.FFTSize.FFT1024, 30, 10000)));
         }
         var item = NNH.Signes[i];
         NNH.GetNeuroData(ref item);
         NNH.Signes[i].NeuroDays = item.NeuroDays;
         NNH.Signes[i].NeuroHours = item.NeuroHours;
         n++;
     }
     frm.Close();
 }