os << "(" << i << ":" << coordNum << ":" << axisInCoord << ":" << cs.worldAxisToPixelAxis(i) << "P),direction:" << casacore::MDirection::showType(coordinate.directionType()) << ") " << names[i] << "/" << units[i];
#include <display/Utilities/ImageProperties.h>
#include <images/Images/ImageOpener.h>
#include <images/Images/PagedImage.h>
#include <images/Images/FITSImage.h>
#include <images/Images/FITSQualityImage.h>
#include <images/Images/FITSImgParser.h>
#include <images/Images/MIRIADImage.h>
#include <casa/Arrays/VectorSTLIterator.h>
#include <coordinates/Coordinates/DirectionCoordinate.h>
#include <coordinates/Coordinates/SpectralCoordinate.h>
#include <coordinates/Coordinates/TabularCoordinate.h>
#include <coordinates/Coordinates/StokesCoordinate.h>
#include <coordinates/Coordinates/LinearCoordinate.h>
#include <coordinates/Coordinates/QualityCoordinate.h>
using namespace casacore;
strip_chars( const char * ) { }
strip_chars(const strip_chars &other) : str(other.str) { }
operator std::string( ) const {
void operator( )( const char &c ) {
if ( c != '[' && c != ']' ) str += c;
ImageProperties::ImageProperties( ) : status_ok(false), has_direction_axis(false),
has_spectral_axis(false) { }
ImageProperties::ImageProperties( const std::string &path ) {
ImageProperties::ImageProperties(std::shared_ptr<ImageInterface<Float> > image ) {
ImageProperties::ImageProperties( std::shared_ptr<ImageInterface<std::complex<float> > > ) {
throw std::runtime_error("complex images are not supported");
const ImageProperties &ImageProperties::operator=( const std::string &path ) {
std::vector<double> ImageProperties::beam_as_vector( const GaussianBeam &beam ) const {
std::vector<double> result;
result.push_back( beam.getMajor("arcsec") );
result.push_back( beam.getMinor("arcsec") );