internal ComputedValues(FFTDependencyWrapper wrapper)
 {
     L = new ChannelValues {
         B = wrapper.BlueLight.Values[0], Y = wrapper.YellowLight.Values[0], isRightChannel = false
     };
     if (wrapper.TwoChannels)
     {
         twoChannels = true;
         R           = new ChannelValues {
             B = wrapper.BlueLight.Values[1], Y = wrapper.YellowLight.Values[1], isRightChannel = true
         };
     }
 }
        private ComputedValues getFinalValues(FFTDependencyWrapper wrapper)
        {
            wrapper.processFFT();
            ComputedValues vals = new ComputedValues(wrapper);

            if (Sunset_alm.IsEnabled_cb.IsChecked == true)
            {
                vals.ModifyValues_Alarm(Sunset_alm);
            }
            if (Log_cb.IsChecked == true)
            {
                vals.ModifyValues_toLog();
            }
            return(vals);
        }