Skip to content
Snippets Groups Projects
Select Git revision
  • a9cc636018c33e6556e51461e487620ebcf062e2
  • main default protected
  • SDC-1435-add-WEBB-collection
  • SDCP-132-connect-lta-to-ldvspec
  • SDC-1435-add-ALMA-collection
  • oracle_and_lta
  • SDC-890-activities
  • SDC-854__implement_python_package_template
  • SDC-926-add-focus-connectors
  • add-unittests-for-connectors
  • improve-test-coverage
  • toying_with_connectors
  • ancillary_dps
13 results

LotssDR2.py

Blame
  • Code owners
    Assign users and groups as approvers for specific file changes. Learn more.
    KernelFactories.cc 1.71 KiB
    //# KernelFactories.cc
    //#
    //# Copyright (C) 2012-2013  ASTRON (Netherlands Institute for Radio Astronomy)
    //# P.O. Box 2, 7990 AA Dwingeloo, The Netherlands
    //#
    //# This file is part of the LOFAR software suite.
    //# The LOFAR software suite is free software: you can redistribute it and/or
    //# modify it under the terms of the GNU General Public License as published
    //# by the Free Software Foundation, either version 3 of the License, or
    //# (at your option) any later version.
    //#
    //# The LOFAR software suite is distributed in the hope that it will be useful,
    //# but WITHOUT ANY WARRANTY; without even the implied warranty of
    //# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    //# GNU General Public License for more details.
    //#
    //# You should have received a copy of the GNU General Public License along
    //# with the LOFAR software suite. If not, see <http://www.gnu.org/licenses/>.
    //#
    //# $Id$
    
    #include <lofar_config.h>
    
    #include "KernelFactories.h"
    
    namespace LOFAR
    {
      namespace Cobalt
      {
        KernelFactories::KernelFactories(const Parset &ps,
                                                 size_t nrSubbandsPerSubbandProc) :
          correlator(ps.settings.correlator.enabled
            ? new CorrelatorStep::Factories(ps, nrSubbandsPerSubbandProc)
            : NULL),
    
          preprocessing(ps.settings.beamFormer.enabled
            ? new BeamFormerPreprocessingStep::Factories(ps)
            : NULL),
    
          coherentStokes(ps.settings.beamFormer.anyCoherentTABs()
            ? new BeamFormerCoherentStep::Factories(ps, nrSubbandsPerSubbandProc)
            : NULL),
    
          incoherentStokes(ps.settings.beamFormer.anyIncoherentTABs()
            ? new BeamFormerIncoherentStep::Factories(ps, nrSubbandsPerSubbandProc)
            : NULL)
        {
        }
      }
    }