casa
5.7.0-16
|
A class to support FTMachines get their convolution casacore::Function. More...
Namespaces | |
avg | |
pd_cache | |
tavg | |
Typedefs | |
typedef std::vector < VbCacheItemBase * > | CacheRegistry |
typedef casacore::Vector < casacore::Vector < casacore::Slice > > | ChannelSlicer |
typedef std::vector< Element > | Elements |
typedef Elements::const_iterator | const_iterator |
Functions | |
Subchunk class Provides the ordered pair identifying the current subchunk The first component is the | chunk (goes from 0 to nChunks-1 during the outer loop iteration).The second component is the subchunk number which is zero after VisibilityIterator |
template<typename F > | |
casacore::CountedPtr < WeightScaling > | generateWeightScaling (F f) |
Class VisIterImpl2LayerFactory(Ideally, this should be in ViiLayerFactory.h, but it has include problems there)*/class VisIterImpl2LayerFactory void | setFrequencySelections (std::shared_ptr< FrequencySelections > selections) |
virtual | ~VisIterImpl2LayerFactory () |
virtual ViImplementation2 * | createInstance (ViImplementation2 *vii0) const |
VisibilityIteratorImpl2-specific layer-creater. More... | |
template<typename F , typename A = typename std::result_of<F()>::type> | |
Try< A > | try_ (F &&f) |
template<typename casacore::Data > | |
WriteData * | createWriteData (const Subchunk &subchunkPair, const casacore::Data &data, void(VisibilityIterator2::*setter)(const casacore::Data &)) |
template<typename casacore::Data > | |
WriteData * | createWriteData (const Subchunk &subchunkPair, const casacore::Data &data, VisibilityIterator2::DataColumn dataColumn, void(VisibilityIterator2::*setter)(const casacore::Data &, VisibilityIterator2::DataColumn)) |
const casacore::Unit | Hz (casacore::String("Hz")) |
Convenience methods *casacore::Float | weightToSigma (casacore::Float weight) |
casacore::Float | sigmaToWeight (casacore::Float sigma) |
void | accumulateWeightCube (const casacore::Cube< casacore::Float > &weightCube, const casacore::Cube< casacore::Bool > &flags, casacore::Matrix< casacore::Float > &result) |
void | accumulateWeightMatrix (const casacore::Matrix< casacore::Float > &weightMatrix, const casacore::Matrix< casacore::Bool > &flags, casacore::Vector< casacore::Float > &result) |
void | accumulateFlagCube (const casacore::Cube< casacore::Bool > &flagCube, casacore::Vector< casacore::Bool > &flagRow) |
template<typename F , typename A = typename std::result_of<F()>::type> | |
Future< A > | future (F &&f) |
each selection effectively specify the desired channel data in a specified spectral window If the user uses the FrequencySelectionChannel class then the selection simply selects a range of channels The other derived class is FrequencySelectionReferential which specifies a range of frequencies in a specified frame of | reference (e.g., LSRK).Unlike the other first method |
FrequencySelectionUsingChannels class Selects sets of channels from a single MS The selection is created by specifying a sequence of channels in a single MS By adding multiple selections the user can select any arbitrary collecton of channels The order of the add operations are unimportant Imaging finds it convenient to double specify the frequency ranges first using an MSSelection object and later with a series of frequency ranges The intent is that only channels which match up with both criteria should be a part of the VisBuffer To accomplish this first create a selection using a FrequencySelectionUsingChannels | object (using method"add"with either an MSSelection or a channel range).When that is complete build up a FrequencySelectionUsingFrequency object to represent the various frequency ranges desired.Then use FrequencySelectionUsingChannels |
casacore::Slice | getSlice () const |
FrequencySelectionUsingChannels () | |
FrequencySelectionUsingChannels (const FrequencySelectionUsingChannels &other) | |
void | add (casacore::Int spectralWindow, casacore::Int firstChannel, casacore::Int nChannels, casacore::Int increment=1) |
void | add (const casacore::MSSelection &msSelection, const casacore::MeasurementSet *ms) |
void | applyRefinement (std::function< casacore::Slice(int, double, double)>) const |
const_iterator | begin () const |
FrequencySelection * | clone () const |
casacore::Bool | empty () const |
const_iterator | end () const |
casacore::Int | getNChannels (casacore::Int spectralWindowId) const |
set< int > | getSelectedWindows () const |
void | refine (const FrequencySelectionUsingFrame &frequencySelection) |
bool | refinementNeeded () const |
size_t | size () const |
casacore::String | toString () const |
void | refineSelection (FrequencySelectionUsingChannels::Element &originalElement, int firstRefiningChannel, int lastRefiningChannel) const |
std::pair<int, int> getChannelRange (const SpectralWindowChannels & spwChannels, double beginFrequency, double endFrequency); More... | |
A class to support FTMachines get their convolution casacore::Function.
Public interface
"Simple" for cases that does not need parallactic angle and or frequency dependence...hence one convolution function per pointing "PB" for primary beam based convolution function
FTMachines like WProjection and MosaicFT need convolution functions to deal with directional dependent issues... this class and related ones provide and cache such functions for re-use
Forward declarations
Public interface
"HetArray" for Heterogeneous casacore::Array => different dish sizes "ConvFunc" for Convolution Functions appropriate convfunctions for each pair of antenna generated and cached
FTMachines like WProjection and MosaicFT need convolution functions to deal with directional dependent issues... this class and related ones provide and cache such functions for re-use
Forward declarations
typedef std::vector<VbCacheItemBase *> casa::vi::CacheRegistry |
Definition at line 106 of file VisBufferImpl2Internal.h.
Definition at line 56 of file PolAverageTVI.h.
typedef Elements::const_iterator casa::vi::const_iterator |
Definition at line 220 of file ViFrequencySelection.h.
typedef std::vector<Element> casa::vi::Elements |
Definition at line 217 of file ViFrequencySelection.h.
Enumerator | |
---|---|
nearestNeighbour |
nearest neighbour |
linear |
linear |
cubic |
cubic |
spline |
cubic spline |
fftshift |
fft shift |
Definition at line 52 of file RegriddingTVI.h.
Enumerator | |
---|---|
NoCheck | |
Nr | |
NfNr | |
NcNr | |
NcNfNr | |
NcNfNcatNr | |
I3Nr | |
N_ShapePatterns |
Definition at line 35 of file VisBufferImpl2Internal.h.
|
strong |
Definition at line 12 of file VisBufferComponents2.h.
enum casa::vi::VisBufferOptions : int |
These are options to be applied to a VisBuffer, usually when it's created.
The intent is that these form a bit mask so that they can be used as VbWritable | VbRekeyable, etc. So add the next one in as 2 * theLastOne.
Enumerator | |
---|---|
VbNoOptions | |
VbWritable | |
VbRekeyable |
Definition at line 80 of file VisBuffer2.h.
|
virtual |
Definition at line 191 of file LayeredVi2Factory.h.
void casa::vi::accumulateFlagCube | ( | const casacore::Cube< casacore::Bool > & | flagCube, |
casacore::Vector< casacore::Bool > & | flagRow | ||
) |
void casa::vi::accumulateWeightCube | ( | const casacore::Cube< casacore::Float > & | weightCube, |
const casacore::Cube< casacore::Bool > & | flags, | ||
casacore::Matrix< casacore::Float > & | result | ||
) |
void casa::vi::accumulateWeightMatrix | ( | const casacore::Matrix< casacore::Float > & | weightMatrix, |
const casacore::Matrix< casacore::Bool > & | flags, | ||
casacore::Vector< casacore::Float > & | result | ||
) |
void casa::vi::add | ( | casacore::Int | spectralWindow, |
casacore::Int | firstChannel, | ||
casacore::Int | nChannels, | ||
casacore::Int | increment = 1 |
||
) |
void casa::vi::add | ( | const casacore::MSSelection & | msSelection, |
const casacore::MeasurementSet * | ms | ||
) |
void casa::vi::applyRefinement | ( | std::function< casacore::Slice(int, double, double)> | ) | const |
const_iterator casa::vi::begin | ( | ) | const |
Referenced by casacore::String::begin(), and casa::utilj::join().
Subchunk class Provides the ordered pair identifying the current subchunk The first component is the casa::vi::chunk | ( | goes from 0 to nChunks-1 during the outer loop | iteration | ) |
First component is Chunk and second is Subchunk
Make a subchunk pair that is positioned to the first subchunk of the first chunk (i.e., 0,0)
Definition at line 137 of file VisibilityIterator2.h.
References first, casa::operator<(), casacore::operator==(), casacore::C::second, and toString().
Referenced by casa::PlotMSCacheBase::flag(), and casa::PlotMSCacheBase::flagrow().
FrequencySelection* casa::vi::clone | ( | ) | const |
|
protectedvirtual |
VisibilityIteratorImpl2-specific layer-creater.
WriteData* casa::vi::createWriteData | ( | const Subchunk & | subchunkPair, |
const casacore::Data & | data, | ||
void(VisibilityIterator2::*)(const casacore::Data &) | setter | ||
) |
Definition at line 496 of file AsynchronousInterface2.h.
References casa::data.
WriteData* casa::vi::createWriteData | ( | const Subchunk & | subchunkPair, |
const casacore::Data & | data, | ||
VisibilityIterator2::DataColumn | dataColumn, | ||
void(VisibilityIterator2::*)(const casacore::Data &, VisibilityIterator2::DataColumn) | setter | ||
) |
Definition at line 537 of file AsynchronousInterface2.h.
References casa::data.
casacore::Bool casa::vi::empty | ( | ) | const |
Referenced by casacore::String::empty(), casa::PlotMSCacheBase::getIntent(), casacore::TableExprAggrNodeArray::operand(), casacore::TableExprAggrNode::operand(), casa::SynthesisImagerMixin< T >::setup_imager(), and casacore::MArrayMath_global_functions_MArray_mathematical_operations::slidingArrayMath().
const_iterator casa::vi::end | ( | ) | const |
casa::vi::FrequencySelectionUsingChannels | ( | ) |
Definition at line 222 of file ViFrequencySelection.h.
casa::vi::FrequencySelectionUsingChannels | ( | const FrequencySelectionUsingChannels & | other | ) |
Future<A> casa::vi::future | ( | F && | f | ) |
Definition at line 344 of file Future.h.
References casa::vi::Future< A >::from().
casacore::CountedPtr<WeightScaling> casa::vi::generateWeightScaling | ( | F | f | ) |
Definition at line 228 of file VisibilityIterator2.h.
casacore::Int casa::vi::getNChannels | ( | casacore::Int | spectralWindowId | ) | const |
set<int> casa::vi::getSelectedWindows | ( | ) | const |
casacore::Slice casa::vi::getSlice | ( | ) | const |
Definition at line 211 of file ViFrequencySelection.h.
References firstChannel_p, increment_p, and nChannels_p.
const casacore::Unit casa::vi::Hz | ( | casacore:: | String"Hz" | ) |
FrequencySelectionUsingChannels class Selects sets of channels from a single MS The selection is created by specifying a sequence of channels in a single MS By adding multiple selections the user can select any arbitrary collecton of channels The order of the add operations are unimportant Imaging finds it convenient to double specify the frequency ranges first using an MSSelection object and later with a series of frequency ranges The intent is that only channels which match up with both criteria should be a part of the VisBuffer To accomplish this first create a selection using a FrequencySelectionUsingChannels casa::vi::object | ( | using method"add"with either an MSSelection or a channel | range | ) |
Definition at line 187 of file ViFrequencySelection.h.
References firstChannel_p, increment_p, nChannels_p, and spectralWindow_p.
each selection effectively specify the desired channel data in a specified spectral window If the user uses the FrequencySelectionChannel class then the selection simply selects a range of channels The other derived class is FrequencySelectionReferential which specifies a range of frequencies in a specified frame of casa::vi::reference | ( | e. | g., |
LSRK | |||
) |
void casa::vi::refine | ( | const FrequencySelectionUsingFrame & | frequencySelection | ) |
bool casa::vi::refinementNeeded | ( | ) | const |
|
private |
std::pair<int, int> getChannelRange (const SpectralWindowChannels & spwChannels, double beginFrequency, double endFrequency);
Class VisIterImpl2LayerFactory (Ideally, this should be in ViiLayerFactory.h, but it has include problems there) */ class VisIterImpl2LayerFactory void casa::vi::setFrequencySelections | ( | std::shared_ptr< FrequencySelections > | selections | ) |
|
inline |
Definition at line 265 of file UtilsTVI.h.
size_t casa::vi::size | ( | ) | const |
Referenced by casa::CubeView< casacore::Bool >::createIndex(), casa::VectorView< casacore::Bool >::createIndex(), casa::SynthesisImagerMixin< T >::getCFCacheList(), casa::PlotMSCacheBase::hasAnt2(), casa::PlotMSCacheBase::hasChan(), casa::PlotSingleDataImpl< T >::minMax(), option::PrintUsageImplementation::FunctionWriter< Function >::operator()(), option::PrintUsageImplementation::SyscallWriter< Syscall >::operator()(), option::PrintUsageImplementation::StreamWriter< Function, Stream >::operator()(), casa::PlotServerProxy::panel(), casa::FlagPlotServerProxy::panel(), casa::PlotSingleDataImpl< T >::recalculateMinMax(), casac::array< t >::resize(), casa::PixelatedConvFunc< T >::setSize(), casa::PeakIntensityFluxDensityConverter< T >::setSize(), casa::SDDoubleCircleGainCalImpl::setSmoothing(), and casacore::String::size().
casacore::String casa::vi::toString | ( | ) | const |
Referenced by chunk().
Try<A> casa::vi::try_ | ( | F && | f | ) |
Definition at line 415 of file Try.h.
References casa::vi::Try< A >::from().
Referenced by casa::vi::Future< A >::from().
|
inline |
Definition at line 260 of file UtilsTVI.h.
References casacore::sqrt().
ChannelAverageTransformEngine class template< class T > class casa::vi::ChannelAverageKernel |
Definition at line 139 of file ChannelAverageTVI.h.
ConvolutionTransformEngine class template< class T > class casa::vi::ConvolutionKernel |
Definition at line 86 of file ConvolutionTVI.h.
|
mutable |
Definition at line 246 of file ViFrequencySelection.h.
|
mutable |
Definition at line 247 of file ViFrequencySelection.h.
casacore::Int casa::vi::firstChannel_p |
Definition at line 213 of file ViFrequencySelection.h.
Referenced by getSlice(), and object().
FreqAxisTVI class template< class T > class casa::vi::FreqAxisTransformEngine |
Definition at line 47 of file FreqAxisTVI.h.
std::shared_ptr<FrequencySelections> casa::vi::frequencySelections_p |
Frequency selections to be applied to the generated visibility iterator.
Definition at line 214 of file LayeredVi2Factory.h.
casacore::Int casa::vi::increment_p |
Definition at line 214 of file ViFrequencySelection.h.
Referenced by getSlice(), and object().
casacore::MeasurementSet* casa::vi::ms_ |
Pointer to external ms (support only one, for now)
Definition at line 202 of file LayeredVi2Factory.h.
casacore::Int casa::vi::nChannels_p |
Definition at line 215 of file ViFrequencySelection.h.
Referenced by getSlice(), and object().
const vi::IteratingParameters casa::vi::pars_ |
Store a copy of the parameters.
Definition at line 205 of file LayeredVi2Factory.h.
|
mutable |
Definition at line 248 of file ViFrequencySelection.h.
RegriddingTransformEngine class template< class T > class casa::vi::RegriddingKernel |
Definition at line 192 of file RegriddingTVI.h.
casacore::Int casa::vi::spectralWindow_p |
Definition at line 216 of file ViFrequencySelection.h.
Referenced by object().
bool casa::vi::useMSIter2_ |
Control use of ~experimental MSIter2, which has smarter time iteration.
Definition at line 211 of file LayeredVi2Factory.h.
UVContSubTransformEngine class template< class T > class casa::vi::UVContSubKernel |
Definition at line 136 of file UVContSubTVI.h.
bool casa::vi::writable_ |
Should VisibilityIteratorImpl2 be generated w/ write-permission.
Definition at line 208 of file LayeredVi2Factory.h.