Skip to content
Snippets Groups Projects
Select Git revision
  • bcda4b1d219a8fe8c68c9f3d058b1409c5608376
  • master default protected
  • L2SS-1914-fix_job_dispatch
  • TMSS-3170
  • TMSS-3167
  • TMSS-3161
  • TMSS-3158-Front-End-Only-Allow-Changing-Again
  • TMSS-3133
  • TMSS-3319-Fix-Templates
  • test-fix-deploy
  • TMSS-3134
  • TMSS-2872
  • defer-state
  • add-custom-monitoring-points
  • TMSS-3101-Front-End-Only
  • TMSS-984-choices
  • SDC-1400-Front-End-Only
  • TMSS-3079-PII
  • TMSS-2936
  • check-for-max-244-subbands
  • TMSS-2927---Front-End-Only-PXII
  • Before-Remove-TMSS
  • LOFAR-Release-4_4_318 protected
  • LOFAR-Release-4_4_317 protected
  • LOFAR-Release-4_4_316 protected
  • LOFAR-Release-4_4_315 protected
  • LOFAR-Release-4_4_314 protected
  • LOFAR-Release-4_4_313 protected
  • LOFAR-Release-4_4_312 protected
  • LOFAR-Release-4_4_311 protected
  • LOFAR-Release-4_4_310 protected
  • LOFAR-Release-4_4_309 protected
  • LOFAR-Release-4_4_308 protected
  • LOFAR-Release-4_4_307 protected
  • LOFAR-Release-4_4_306 protected
  • LOFAR-Release-4_4_304 protected
  • LOFAR-Release-4_4_303 protected
  • LOFAR-Release-4_4_302 protected
  • LOFAR-Release-4_4_301 protected
  • LOFAR-Release-4_4_300 protected
  • LOFAR-Release-4_4_299 protected
41 results

create_database.sql

Blame
  • Code owners
    Assign users and groups as approvers for specific file changes. Learn more.
    deconvolution_table_entry.h 1.97 KiB
    // Copyright (C) 2022 ASTRON (Netherlands Institute for Radio Astronomy)
    // SPDX-License-Identifier: GPL-3.0-or-later
    
    #ifndef RADLER_DECONVOLUTION_TABLE_ENTRY_H_
    #define RADLER_DECONVOLUTION_TABLE_ENTRY_H_
    
    #include <memory>
    #include <vector>
    
    #include <aocommon/imageaccessor.h>
    #include <aocommon/polarization.h>
    
    namespace radler {
    struct DeconvolutionTableEntry {
      double CentralFrequency() const {
        return 0.5 * (band_start_frequency + band_end_frequency);
      }
    
      /**
       * Index of the entry in its DeconvolutionTable.
       */
      size_t index = 0;
    
      /**
       * Note that mses might have overlapping frequencies.
       */
      double band_start_frequency = 0.0;
      double band_end_frequency = 0.0;
    
      aocommon::PolarizationEnum polarization = aocommon::PolarizationEnum::StokesI;
    
      /**
       * Entries with equal original channel indices are 'joinedly' deconvolved by
       * adding their squared flux density values together. Normally, all the
       * polarizations from a single channel / timestep form such a group.
       *
       * When the number of deconvolution channels is less than the number of
       * original channels, entries in multiple groups are 'joinedly' deconvolved.
       */
      size_t original_channel_index = 0;
      size_t original_interval_index = 0;
    
      /**
       * A number that scales with the estimated inverse-variance of the image. It
       * can be used when averaging images or fitting functions through the images
       * to get the optimal sensitivity. It is set after the first inversion.
       */
      double image_weight = 0.0;
    
      /**
       * Image accessor for the PSF image for this entry. This accessor is only used
       * for the first entry of each channel group.
       */
      std::unique_ptr<aocommon::ImageAccessor> psf_accessor;
    
      /**
       * Image accessor for the model image for this entry.
       */
      std::unique_ptr<aocommon::ImageAccessor> model_accessor;
    
      /**
       * Image accessor for the residual image for this entry.
       */
      std::unique_ptr<aocommon::ImageAccessor> residual_accessor;
    };
    }  // namespace radler
    #endif