Source
27
27
28
28
#include <imageanalysis/Regions/CasacRegionManager.h>
29
29
30
30
#include <casa/OS/EnvVar.h>
31
31
32
32
#include <images/Images/FITSImage.h>
33
33
34
34
#include <iostream>
35
35
#include <casa/namespace.h>
36
36
37
+
using namespace casa;
38
+
37
39
void writeTestString(const String& test) {
38
40
cout << "\n" << "*** " << test << " ***" << endl;
39
41
}
40
42
41
43
Vector<Double> recToVec(const Record& rec) {
42
44
uInt nfields = rec.nfields();
43
45
Vector<Double> vec(nfields);
44
46
vec[0] = rec.asRecord("*1").asDouble("value");
45
47
vec[1] = rec.asRecord("*2").asDouble("value");
46
48
if (nfields >= 3) {