Source
378
378
casacore::Matrix<casacore::Double> getSumWeights(){return sumWeight;};
379
379
380
380
///Functions associated with Briggs weighting for cubes
381
381
void setBriggsCubeWeight(casacore::CountedPtr<refim::BriggsCubeWeightor> bwght){briggsWeightor_p=bwght;};
382
382
void getImagingWeight(casacore::Matrix<casacore::Float>& imwght, const vi::VisBuffer2& vb);
383
383
protected:
384
384
385
385
friend class VisModelData;
386
386
friend class MultiTermFT;
387
387
friend class MultiTermFTNew;
388
+
friend class BriggsCubeWeightor;
388
389
casacore::LogIO logIO_p;
389
390
390
391
casacore::LogIO& logIO();
391
392
392
393
casacore::ImageInterface<casacore::Complex>* image;
393
394
394
395
casacore::UVWMachine* uvwMachine_p;
395
396
casacore::CountedPtr<casacore::UVWMachine> phaseShifter_p;
396
397
397
398
casacore::MeasFrame mFrame_p;
475
476
casacore::Cube<casacore::Complex>& data,
476
477
FTMachine::Type type=FTMachine::MODEL );
477
478
478
479
//Interpolate visibilities to be degridded upon
479
480
480
481
virtual void getInterpolateArrays(const vi::VisBuffer2& vb,
481
482
casacore::Cube<casacore::Complex>& data, casacore::Cube<casacore::Int>& flag);
482
483
483
484
484
485
void setSpectralFlag(const vi::VisBuffer2& vb, casacore::Cube<casacore::Bool>& modflagcube);
486
+
//Save/Recover some elements of state of ftmachine in/from record
487
+
casacore::Bool storeMovingSourceState(casacore::String& error, casacore::RecordInterface& outRecord);
485
488
//helper to save Measures in a record
486
489
casacore::Bool saveMeasure(casacore::RecordInterface& rec, const casacore::String& name, casacore::String& error, const casacore::Measure& ms);
487
-
490
+
casacore::Bool recoverMovingSourceState(casacore::String& error, const casacore::RecordInterface& inRecord);
488
491
casacore::Matrix<casacore::Double> negateUV(const vi::VisBuffer2& vb);
489
492
490
493
// Private variables needed for spectral frame conversion
491
494
casacore::SpectralCoordinate spectralCoord_p;
492
495
//casacore::Vector<casacore::Bool> doConversion_p;
493
496
casacore::Bool freqFrameValid_p;
494
497
casacore::Vector<casacore::Double> imageFreq_p;
495
498
//casacore::Vector of float lsrfreq needed for regridding
496
499
casacore::Vector<casacore::Double> lsrFreq_p;
497
500
casacore::Vector<casacore::Double> interpVisFreq_p;