1 | //#---------------------------------------------------------------------------
|
---|
2 | //# Templates.cc: explicit templates for aips++
|
---|
3 | //#---------------------------------------------------------------------------
|
---|
4 | //# Copyright (C) 2004
|
---|
5 | //# ATNF
|
---|
6 | //#
|
---|
7 | //# This program is free software; you can redistribute it and/or modify it
|
---|
8 | //# under the terms of the GNU General Public License as published by the Free
|
---|
9 | //# Software Foundation; either version 2 of the License, or (at your option)
|
---|
10 | //# any later version.
|
---|
11 | //#
|
---|
12 | //# This program is distributed in the hope that it will be useful, but
|
---|
13 | //# WITHOUT ANY WARRANTY; without even the implied warranty of
|
---|
14 | //# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
|
---|
15 | //# Public License for more details.
|
---|
16 | //#
|
---|
17 | //# You should have received a copy of the GNU General Public License along
|
---|
18 | //# with this program; if not, write to the Free Software Foundation, Inc.,
|
---|
19 | //# 675 Massachusetts Ave, Cambridge, MA 02139, USA.
|
---|
20 | //#
|
---|
21 | //# Correspondence concerning this software should be addressed as follows:
|
---|
22 | //# Internet email: Malte.Marquarding@csiro.au
|
---|
23 | //# Postal address: Malte Marquarding,
|
---|
24 | //# Australia Telescope National Facility,
|
---|
25 | //# P.O. Box 76,
|
---|
26 | //# Epping, NSW, 2121,
|
---|
27 | //# AUSTRALIA
|
---|
28 | //#
|
---|
29 | //# $Id:
|
---|
30 | //#---------------------------------------------------------------------------
|
---|
31 | #include "Scantable.h"
|
---|
32 |
|
---|
33 | #include <casa/aips.h>
|
---|
34 | #include <casa/namespace.h>
|
---|
35 | #include <casa/Exceptions/Error.cc>
|
---|
36 | #include <casa/Utilities/CountedPtr.cc>
|
---|
37 |
|
---|
38 | namespace asap {
|
---|
39 | template class casa::CountedConstPtr<Scantable>;
|
---|
40 | template class casa::CountedPtr<Scantable>;
|
---|
41 | template class casa::PtrRep<Scantable>;
|
---|
42 | template class casa::SimpleCountedConstPtr<Scantable>;
|
---|
43 | template class casa::SimpleCountedPtr<Scantable>;
|
---|
44 | }
|
---|
45 |
|
---|
46 | #include <casa/Arrays/ArrayLogical.cc>
|
---|
47 | #include <casa/Arrays/ArrayMath.cc>
|
---|
48 | #include <casa/Arrays/MaskArrMath.cc>
|
---|
49 | #include <casa/Arrays/MaskedArray.cc>
|
---|
50 | #include <casa/Arrays/Array.h>
|
---|
51 | #include <casa/Arrays/Array.cc>
|
---|
52 | #include <casa/Arrays/Vector.h>
|
---|
53 | #include <casa/Utilities/BinarySearch.cc>
|
---|
54 | #include <coordinates/Coordinates/FrequencyAligner.cc>
|
---|
55 | #include <lattices/Lattices/Lattice.h>
|
---|
56 | #include <lattices/Lattices/LatticeUtilities.cc>
|
---|
57 | #include <scimath/Mathematics/InterpolateArray1D.cc>
|
---|
58 | #include <tables/Tables/BaseMappedArrayEngine.cc>
|
---|
59 | #include <tables/Tables/TableVector.h>
|
---|
60 | #include <tables/Tables/TVec.cc>
|
---|
61 | #include <tables/Tables/TableVector.cc>
|
---|
62 | #include <tables/Tables/TVecScaCol.cc>
|
---|
63 | #include <tables/Tables/TVecTemp.cc>
|
---|
64 |
|
---|
65 | template class ROTableVector<uInt>;
|
---|
66 | template class TableVector<uInt>;
|
---|
67 | template class TabVecScaCol<uInt>;
|
---|
68 | template class TabVecTemp<uInt>;
|
---|
69 | template class TabVecRep<uInt>;
|
---|
70 |
|
---|
71 | template class ROTableVector<Float>;
|
---|
72 | template class TabVecScaCol<Float>;
|
---|
73 | template class TabVecTemp<Float>;
|
---|
74 | template class TabVecRep<Float>;
|
---|
75 |
|
---|
76 | template void convertArray<Bool, uChar>(Array<Bool> &, Array<uChar> const &);
|
---|
77 | template void convertArray<uChar, Bool>(Array<uChar> &, Array<Bool> const &);
|
---|
78 |
|
---|
79 | template Array<Float>& operator/=<Float>(Array<Float>&, MaskedArray<Float> const&);
|
---|
80 | template MaskedArray<Float> const& operator*=<Float>(MaskedArray<Float> const&, Float const&);
|
---|
81 | template MaskedArray<Float> const& operator*=<Float>(MaskedArray<Float> const&, Array<Float> const&);
|
---|
82 | template MaskedArray<Float> const& operator/=<Float>(MaskedArray<Float> const&, Float const&);
|
---|
83 | template MaskedArray<Float> operator+<Float>(MaskedArray<Float> const&, MaskedArray<Float> const&);
|
---|
84 | template MaskedArray<Float> operator-<Float>(MaskedArray<Float> const&, MaskedArray<Float> const&);
|
---|
85 | template MaskedArray<Float> operator-<Float>(MaskedArray<Float> const&, Array<Float> const&);
|
---|
86 |
|
---|
87 | template MaskedArray<Float> operator/<Float>(MaskedArray<Float> const&, MaskedArray<Float> const&);
|
---|
88 |
|
---|
89 | template MaskedArray<Float> operator*<Float>(MaskedArray<Float> const&, MaskedArray<Float> const&);
|
---|
90 | template MaskedArray<Float> operator*<Float>(MaskedArray<Float> const&, Array<Float> const&);
|
---|
91 | template MaskedArray<Float> operator*<Float>(Array<Float> const&, MaskedArray<Float> const&);
|
---|
92 | template MaskedArray<Float> operator*<Float>(Float const&, MaskedArray<Float> const&);
|
---|
93 | template Float stddev<Float>(MaskedArray<Float> const&);
|
---|
94 | template Float median<Float>(MaskedArray<Float> const&, Bool, Bool);
|
---|
95 | template Float sumsquares<Float>(MaskedArray<Float> const&);
|
---|
96 | template Float avdev<Float>(MaskedArray<Float> const&);
|
---|
97 |
|
---|
98 | template void LatticeUtilities::bin(MaskedArray<float>&, MaskedArray<float> const&, uInt, uInt);
|
---|
99 |
|
---|
100 | template class FrequencyAligner<Float>;
|
---|
101 |
|
---|
102 | template class BaseMappedArrayEngine<Float, Float>;
|
---|
103 |
|
---|
104 | #include "MathUtils2.cc"
|
---|
105 | #include "SDPol2.cc"
|
---|
106 | namespace mathutil {
|
---|
107 | template void hanning(Vector<Float>&, Vector<Bool>&,
|
---|
108 | const Vector<Float>&,
|
---|
109 | const Vector<Bool>&,
|
---|
110 | Bool, Bool);
|
---|
111 | }
|
---|
112 | //template Array<Bool> SDPolUtil::stokesData (Array<Bool>& dataIn, Bool);
|
---|
113 | //template Array<Float> SDPolUtil::computeStokesDataForWriter(Array<Float>& dataIn, Bool);
|
---|
114 | //template Array<uChar> SDPolUtil::computeStokesDataForWriter(Array<uChar>& dataIn, Bool);
|
---|
115 |
|
---|