casa
5.7.0-16
|
Forward declaration. More...
#include <Feather.h>
Public Member Functions | |
Feather () | |
default constructor More... | |
Feather (const casacore::ImageInterface< casacore::Float > &SDImage, const casacore::ImageInterface< casacore::Float > &INTImage, casacore::Float sdScale=1.0) | |
Constructor. More... | |
virtual | ~Feather () |
Destructor. More... | |
void | clearWeightFlags () |
Clear the weight flags. More... | |
void | setSDScale (casacore::Float sdscale=1.0) |
set the SDimage and casacore::Int images More... | |
void | setSDImage (const casacore::ImageInterface< casacore::Float > &SDImage) |
void | setINTImage (const casacore::ImageInterface< casacore::Float > &IntImage) |
casacore::Bool | setEffectiveDishDiam (const casacore::Float xdiam, const casacore::Float ydiam=-1.0) |
set and get effective dish diameter to be used in feathering function setEffectiveDishDiam will return false if you are trying to assign a finer resolution than what the original data came with More... | |
void | getEffectiveDishDiam (casacore::Float &xdiam, casacore::Float &ydiam) |
void | getFTCutSDImage (casacore::Vector< casacore::Float > &ux, casacore::Vector< casacore::Float > &xamp, casacore::Vector< casacore::Float > &uy, casacore::Vector< casacore::Float > &yamp, const casacore::Bool radial=false) |
Get the 1-D slices of amplitude along the x and y axis of the FFT of images if radial is set to true then the 1D slice is the the circular average rather that X and Y cuts...only the x-values are valid then Note the SD image is already feathered by its beam..you cannot get unfeathered SD data as it implies deconvolution. More... | |
void | getFTCutIntImage (casacore::Vector< casacore::Float > &ux, casacore::Vector< casacore::Float > &xamp, casacore::Vector< casacore::Float > &uy, casacore::Vector< casacore::Float > &yamp, casacore::Bool radial=false) |
void | getFeatherSD (casacore::Vector< casacore::Float > &ux, casacore::Vector< casacore::Float > &xamp, casacore::Vector< casacore::Float > &uy, casacore::Vector< casacore::Float > &yamp, casacore::Bool radial=false, casacore::Bool normalize=true) |
Get the 1-D slices of the feathering function that will be applied on SD and INTerf data If normalize=false for the SD then the value for Jy/beam correction to final beam size is multiplied to the function. More... | |
void | getFeatherINT (casacore::Vector< casacore::Float > &ux, casacore::Vector< casacore::Float > &xamp, casacore::Vector< casacore::Float > &uy, casacore::Vector< casacore::Float > &yamp, casacore::Bool radial=false) |
void | getFeatheredCutSD (casacore::Vector< casacore::Float > &ux, casacore::Vector< casacore::Float > &xamp, casacore::Vector< casacore::Float > &uy, casacore::Vector< casacore::Float > &yamp, casacore::Bool radial=false) |
Get 1-D slices of the feathered data... More... | |
void | getFeatheredCutINT (casacore::Vector< casacore::Float > &ux, casacore::Vector< casacore::Float > &xamp, casacore::Vector< casacore::Float > &uy, casacore::Vector< casacore::Float > &yamp, casacore::Bool radial=false) |
void | convolveINT (const casacore::GaussianBeam &newHighBeam) |
This function convolves the INT image to the new GaussianBeam So the INT image stored in this object is going to be replaced by the new convolved image. More... | |
casacore::Bool | saveFeatheredImage (const casacore::String &imagename) |
write the feathered image to disk More... | |
Static Public Member Functions | |
static void | getCutXY (casacore::Vector< casacore::Float > &ux, casacore::Vector< casacore::Float > &xamp, casacore::Vector< casacore::Float > &uy, casacore::Vector< casacore::Float > &yamp, const casacore::ImageInterface< casacore::Float > &image) |
static void | getRadialCut (casacore::Vector< casacore::Float > &radius, casacore::Vector< casacore::Float > &radialAmp, const casacore::ImageInterface< casacore::Float > &image) |
static void | feather (const casacore::String &image, const casacore::ImageInterface< casacore::Float > &high, const casacore::ImageInterface< casacore::Float > &low, const casacore::Float &sdScale=1.0, const casacore::String &lowPSF="", const casacore::Bool useDefault=true, const casacore::String &vpTable="", casacore::Float effSDDiam=-1.0, const casacore::Bool lowpassfiltersd=false) |
static casacore::Double | worldFreq (const casacore::CoordinateSystem &cs, casacore::Int spectralpix=0) |
Private Member Functions | |
void | fillXVectors (casacore::Vector< casacore::Float > &ux, casacore::Vector< casacore::Float > &uy) const |
void | calcCWeightImage () |
void | applyFeather () |
casa::Feather::Feather | ( | ) |
default constructor
casa::Feather::Feather | ( | const casacore::ImageInterface< casacore::Float > & | SDImage, |
const casacore::ImageInterface< casacore::Float > & | INTImage, | ||
casacore::Float | sdScale = 1.0 |
||
) |
Constructor.
|
virtual |
Destructor.
|
staticprivate |
|
private |
|
private |
void casa::Feather::clearWeightFlags | ( | ) |
Clear the weight flags.
Used when changing between the SDimage and the dirty image.
void casa::Feather::convolveINT | ( | const casacore::GaussianBeam & | newHighBeam | ) |
This function convolves the INT image to the new GaussianBeam So the INT image stored in this object is going to be replaced by the new convolved image.
|
static |
|
private |
|
static |
|
staticprivate |
void casa::Feather::getEffectiveDishDiam | ( | casacore::Float & | xdiam, |
casacore::Float & | ydiam | ||
) |
void casa::Feather::getFeatheredCutINT | ( | casacore::Vector< casacore::Float > & | ux, |
casacore::Vector< casacore::Float > & | xamp, | ||
casacore::Vector< casacore::Float > & | uy, | ||
casacore::Vector< casacore::Float > & | yamp, | ||
casacore::Bool | radial = false |
||
) |
void casa::Feather::getFeatheredCutSD | ( | casacore::Vector< casacore::Float > & | ux, |
casacore::Vector< casacore::Float > & | xamp, | ||
casacore::Vector< casacore::Float > & | uy, | ||
casacore::Vector< casacore::Float > & | yamp, | ||
casacore::Bool | radial = false |
||
) |
Get 1-D slices of the feathered data...
note for SD this should return the same values as getFTCutSDImage
void casa::Feather::getFeatherINT | ( | casacore::Vector< casacore::Float > & | ux, |
casacore::Vector< casacore::Float > & | xamp, | ||
casacore::Vector< casacore::Float > & | uy, | ||
casacore::Vector< casacore::Float > & | yamp, | ||
casacore::Bool | radial = false |
||
) |
void casa::Feather::getFeatherSD | ( | casacore::Vector< casacore::Float > & | ux, |
casacore::Vector< casacore::Float > & | xamp, | ||
casacore::Vector< casacore::Float > & | uy, | ||
casacore::Vector< casacore::Float > & | yamp, | ||
casacore::Bool | radial = false , |
||
casacore::Bool | normalize = true |
||
) |
Get the 1-D slices of the feathering function that will be applied on SD and INTerf data If normalize=false for the SD then the value for Jy/beam correction to final beam size is multiplied to the function.
void casa::Feather::getFTCutIntImage | ( | casacore::Vector< casacore::Float > & | ux, |
casacore::Vector< casacore::Float > & | xamp, | ||
casacore::Vector< casacore::Float > & | uy, | ||
casacore::Vector< casacore::Float > & | yamp, | ||
casacore::Bool | radial = false |
||
) |
void casa::Feather::getFTCutSDImage | ( | casacore::Vector< casacore::Float > & | ux, |
casacore::Vector< casacore::Float > & | xamp, | ||
casacore::Vector< casacore::Float > & | uy, | ||
casacore::Vector< casacore::Float > & | yamp, | ||
const casacore::Bool | radial = false |
||
) |
Get the 1-D slices of amplitude along the x and y axis of the FFT of images if radial is set to true then the 1D slice is the the circular average rather that X and Y cuts...only the x-values are valid then Note the SD image is already feathered by its beam..you cannot get unfeathered SD data as it implies deconvolution.
|
staticprivate |
calculate the complex weight image to apply on the interf image
|
static |
|
staticprivate |
|
staticprivate |
casacore::Bool casa::Feather::saveFeatheredImage | ( | const casacore::String & | imagename | ) |
write the feathered image to disk
casacore::Bool casa::Feather::setEffectiveDishDiam | ( | const casacore::Float | xdiam, |
const casacore::Float | ydiam = -1.0 |
||
) |
set and get effective dish diameter to be used in feathering function setEffectiveDishDiam will return false if you are trying to assign a finer resolution than what the original data came with
void casa::Feather::setINTImage | ( | const casacore::ImageInterface< casacore::Float > & | IntImage | ) |
void casa::Feather::setSDImage | ( | const casacore::ImageInterface< casacore::Float > & | SDImage | ) |
void casa::Feather::setSDScale | ( | casacore::Float | sdscale = 1.0 | ) |
set the SDimage and casacore::Int images
|
static |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |