Ejemplo n.º 1
0
 public void Register()
 {
     CorrectorConfigurations.Register(_corrector);
     GeneralConfigurations.Register(_general);
     SamplingConfigurations.Register(_sampling);
     SliceConfigurations.Register(_slice);
     MiscellaneousConfigurations.Register(_miscellaneous);
 }
Ejemplo n.º 2
0
 public static void Initialize(int zeroFillFactor, int centerSpanLength, CorrectorType correctorType,
                               ApodizerType apodizerType, PhaseType phaseType, double rangeStart, double rangeEnd,
                               bool realPhase, bool lockDip, double lockDipFreqInMHz)
 {
     if (_singleton != null)
     {
         throw new Exception("environment already init");
     }
     _singleton = new CorrectorConfigurations(zeroFillFactor, centerSpanLength, correctorType, apodizerType,
                                              phaseType, rangeStart, rangeEnd, realPhase, lockDip, lockDipFreqInMHz);
 }
Ejemplo n.º 3
0
 public static void Register(CorrectorConfigurations configuration)
 {
     if (_singleton == null)
     {
         _singleton = configuration;
     }
     else
     {
         ConfigsHolder.CopyTo(configuration, _singleton);
     }
 }