|
static const QString & | ORGANIZATION () |
|
static const QString & | APPLICATION () |
|
static void | showUserMessage (QString &msg, QWidget *parent) |
|
static double | degMinSecToRadians (int degrees, int mins, float secs) |
|
static double | hrMinSecToRadians (int hours, int mins, float secs) |
|
static QString | toHTML (const QString &baseStr) |
|
static int | getCenter (const casacore::Vector< casacore::Double > &values, casacore::Double &mean) |
|
static void | getRa (double radians, int &raHour, int &raMin, double &raSec) |
|
static void | getDec (double radians, int &decDeg, int &decMin, double &decSec) |
|
static void | minMax (double &min, double &max, const casacore::Vector< casacore::Double > &values) |
|
static QString | toDegreeString (int hrs, int mins, double secs) |
|
static QString | toDecString (int hrs, int mins, double secs) |
|
static void | appendSign (double rad, QString °reeString) |
|
static QList< QString > | getTitleCaseVariations (QString source) |
|
static QString | toTitleCase (QString word) |
|
static casacore::String | mainImageName (casacore::String path) |
|
static QString | stripBrackets (QString unitStr) |
| Designed to take an input string of the format '[km/s]' and return 'km/s'. More...
|
|
static QString | stripFont (QString unitStr) |
| Designed to take an input string of the format <font color="black">km/s</font>' and return 'km/s'. More...
|
|
static int | getTabularFrequencyAxisIndex (std::shared_ptr< const casacore::ImageInterface< casacore::Float > > img) |
| Support for tabular axes that are frequency. More...
|
|
static casacore::Record | getRegionRecord (casacore::String shape, const DisplayCoordinateSystem &cSys, const casacore::Vector< casacore::Double > &x, const casacore::Vector< casacore::Double > &y) |
|
static std::pair
< casacore::Vector
< casacore::Float >
, casacore::Vector
< casacore::Float > > | getProfile (std::shared_ptr< const casacore::ImageInterface< casacore::Float > > &imagePtr, const casacore::Vector< casacore::Double > &x, const casacore::Vector< casacore::Double > &y, const casacore::String &shape, int tabularAxis, ImageCollapserData::AggregateType, casacore::String unit, const casacore::String &coordinateType, const casacore::Quantity *const restFreq=0, const casacore::String &frame="") |
|
static casacore::Record | getEllipticalRegion3D (const DisplayCoordinateSystem &cSys, const casacore::Vector< casacore::Double > &x, const casacore::Vector< casacore::Double > &y, int channelMin, int channelMax, int spectralAxisNumber) |
| Returns the record of a 3-dimension region with the base in the shape of an ellipse and height given by the channel range. More...
|
|
static casacore::Record | getPolygonalRegion3D (const DisplayCoordinateSystem &cSys, const casacore::Vector< casacore::Double > &x, const casacore::Vector< casacore::Double > &y, int channelMin, int channelMax, int spectralAxisNumber) |
| Returns the record of a 3-dimension region with the base in the shape of a polygon and height given by the channel range. More...
|
|
static casacore::ImageRegion * | getEllipsoid (const DisplayCoordinateSystem &cSys, const casacore::Vector< casacore::Double > &x, const casacore::Vector< casacore::Double > &y) |
| Return a 2D region in the shape of an ellipse. More...
|
|
static casacore::ImageRegion * | getPolygon (const DisplayCoordinateSystem &cSys, const casacore::Vector< casacore::Double > &x, const casacore::Vector< casacore::Double > &y) |
| Return a 2D region in the shape of a polygon. More...
|
|
static bool | arrayEquals (const casacore::Vector< casacore::Double > &a, const casacore::Vector< casacore::Double > &b) |
| Tests whether the contents of the two arrays are the same. More...
|
|
Definition at line 45 of file Util.h.