Line data Source code
1 : /* -*- mode: c++ -*- */ 2 : //# ParallelImagerParams.h: Parameters for parallel imaging 3 : //# Copyright (C) 2016 4 : //# Associated Universities, Inc. Washington DC, USA. 5 : //# 6 : //# This library is free software; you can redistribute it and/or modify it 7 : //# under the terms of the GNU Library General Public License as published by 8 : //# the Free Software Foundation; either version 2 of the License, or (at your 9 : //# option) any later version. 10 : //# 11 : //# This library is distributed in the hope that it will be useful, but WITHOUT 12 : //# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 13 : //# FITNESS FOR A PARTICULAR PURPOSE. See the GNU Library General Public 14 : //# License for more details. 15 : //# 16 : //# You should have received a copy of the GNU Library General Public License 17 : //# along with this library; if not, write to the Free Software Foundation, 18 : //# Inc., 675 Massachusetts Ave, Cambridge, MA 02139, USA. 19 : //# 20 : //# Correspondence concerning AIPS++ should be addressed as follows: 21 : //# Internet email: casa-feedback@nrao.edu. 22 : //# Postal address: AIPS++ Project Office 23 : //# National Radio Astronomy Observatory 24 : //# 520 Edgemont Road 25 : //# Charlottesville, VA 22903-2475 USA 26 : //# 27 : #ifndef PARALLEL_IMAGER_PARAMS_H_ 28 : #define PARALLEL_IMAGER_PARAMS_H_ 29 : 30 : #include <casacore/casa/Containers/Record.h> 31 : 32 : namespace casa { 33 : 34 : /** 35 : * Collection of parameters for parallel imaging, categorized roughly by imaging 36 : * component. 37 : */ 38 : struct ParallelImagerParams { 39 0 : ParallelImagerParams(casacore::Record sl, casacore::Record im, casacore::Record gr, casacore::Record wt, casacore::Record nm, 40 : casacore::Record dc, casacore::Record it) 41 0 : : selection(sl) 42 0 : , image(im) 43 0 : , grid(gr) 44 0 : , weight(wt) 45 0 : , normalization(nm) 46 0 : , deconvolution(dc) 47 0 : , iteration(it) {}; 48 : 49 0 : ParallelImagerParams() 50 0 : : selection(casacore::Record()) 51 0 : , image(casacore::Record()) 52 0 : , grid(casacore::Record()) 53 0 : , weight(casacore::Record()) 54 0 : , normalization(casacore::Record()) 55 0 : , deconvolution(casacore::Record()) 56 0 : , iteration(casacore::Record()) {}; 57 : 58 : casacore::Record selection; 59 : casacore::Record image; 60 : casacore::Record grid; 61 : casacore::Record weight; 62 : casacore::Record normalization; 63 : casacore::Record deconvolution; 64 : casacore::Record iteration; 65 : }; 66 : 67 : } // namespace casa 68 : 69 : #endif // PARALLEL_IMAGER_PARAMS_H_