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: Templates.cpp 1091 2006-07-28 03:25:32Z mar637 $
|
---|
30 | //#---------------------------------------------------------------------------
|
---|
31 | #include "Scantable.h"
|
---|
32 |
|
---|
33 | #include <casa/aips.h>
|
---|
34 | #include <casa/namespace.h>
|
---|
35 | #include <casa/Exceptions/Error.h>
|
---|
36 | #include <casa/Utilities/CountedPtr.h>
|
---|
37 |
|
---|
38 | //template class casa::CountedConstPtr<asap::Scantable>;
|
---|
39 | template class casa::CountedPtr<asap::Scantable>;
|
---|
40 | template class casa::CountedPtr<asap::STPol>;
|
---|
41 |
|
---|
42 | #include <casa/Arrays/ArrayLogical.h>
|
---|
43 | #include <casa/Arrays/ArrayMath.h>
|
---|
44 | #include <casa/Arrays/MaskArrMath.h>
|
---|
45 | #include <casa/Arrays/MaskedArray.h>
|
---|
46 | #include <casa/Arrays/Array.h>
|
---|
47 | #include <casa/Arrays/Vector.h>
|
---|
48 | #include <casa/Utilities/BinarySearch.h>
|
---|
49 | #include <coordinates/Coordinates/FrequencyAligner.h>
|
---|
50 | #include <lattices/Lattices/Lattice.h>
|
---|
51 | #include <lattices/Lattices/LatticeUtilities.h>
|
---|
52 | #include <scimath/Mathematics/InterpolateArray1D.h>
|
---|
53 | #include <tables/Tables/BaseMappedArrayEngine.h>
|
---|
54 | #include <tables/Tables/TableVector.h>
|
---|
55 | #include <tables/Tables/TVec.h>
|
---|
56 | #include <tables/Tables/TVecScaCol.h>
|
---|
57 | #include <tables/Tables/TVecTemp.h>
|
---|
58 | //#include <tables/Tables/TVecMath.h>
|
---|
59 |
|
---|
60 | template class ROTableVector<uInt>;
|
---|
61 | template class TableVector<uInt>;
|
---|
62 | template class TabVecScaCol<uInt>;
|
---|
63 | template class TabVecTemp<uInt>;
|
---|
64 | template class TabVecRep<uInt>;
|
---|
65 |
|
---|
66 | template class ROTableVector<Float>;
|
---|
67 | template class TabVecScaCol<Float>;
|
---|
68 | template class TabVecTemp<Float>;
|
---|
69 | template class TabVecRep<Float>;
|
---|
70 |
|
---|
71 | template class ROTableVector<uChar>;
|
---|
72 | template class TableVector<uChar>;
|
---|
73 | template class TabVecScaCol<uChar>;
|
---|
74 | template class TabVecTemp<uChar>;
|
---|
75 | template class TabVecRep<uChar>;
|
---|
76 |
|
---|
77 | //template void convertArray<Bool, uChar>(Array<Bool> &, Array<uChar> const &);
|
---|
78 | template void casa::convertArray<uChar, Bool>(Array<uChar> &, Array<Bool> const &);
|
---|
79 |
|
---|
80 | template Array<Float>& casa::operator/=<Float>(Array<Float>&, MaskedArray<Float> const&);
|
---|
81 | template MaskedArray<Float> const& casa::operator*=<Float>(MaskedArray<Float> const&, Float const&);
|
---|
82 | template MaskedArray<Float> const& casa::operator*=<Float>(MaskedArray<Float> const&, Array<Float> const&);
|
---|
83 | template MaskedArray<Float> const& casa::operator/=<Float>(MaskedArray<Float> const&, Float const&);
|
---|
84 | template MaskedArray<Float> casa::operator+<Float>(MaskedArray<Float> const&, MaskedArray<Float> const&);
|
---|
85 | template MaskedArray<Float> casa::operator-<Float>(MaskedArray<Float> const&, MaskedArray<Float> const&);
|
---|
86 | template MaskedArray<Float> casa::operator-<Float>(MaskedArray<Float> const&, Array<Float> const&);
|
---|
87 |
|
---|
88 | template MaskedArray<Float> casa::operator/<Float>(MaskedArray<Float> const&, MaskedArray<Float> const&);
|
---|
89 |
|
---|
90 | template MaskedArray<Float> casa::operator*<Float>(MaskedArray<Float> const&, MaskedArray<Float> const&);
|
---|
91 | template MaskedArray<Float> casa::operator*<Float>(MaskedArray<Float> const&, Array<Float> const&);
|
---|
92 | template MaskedArray<Float> casa::operator*<Float>(Array<Float> const&, MaskedArray<Float> const&);
|
---|
93 | template MaskedArray<Float> casa::operator*<Float>(Float const&, MaskedArray<Float> const&);
|
---|
94 | template Float casa::stddev<Float>(MaskedArray<Float> const&);
|
---|
95 | template Float casa::median<Float>(MaskedArray<Float> const&, Bool, Bool);
|
---|
96 | template Float casa::sumsquares<Float>(MaskedArray<Float> const&);
|
---|
97 | template Float casa::avdev<Float>(MaskedArray<Float> const&);
|
---|
98 |
|
---|
99 | template void LatticeUtilities::bin(MaskedArray<float>&, MaskedArray<float> const&, uInt, uInt);
|
---|
100 |
|
---|
101 | template class FrequencyAligner<Float>;
|
---|
102 |
|
---|
103 | template class BaseMappedArrayEngine<Float, Float>;
|
---|
104 |
|
---|
105 | //#include "MathUtils2.cpp"
|
---|
106 | //namespace mathutil {
|
---|
107 | // template void hanning(Vector<Float>&, Vector<Bool>&,
|
---|
108 | // const Vector<Float>&,
|
---|
109 | // const Vector<Bool>&,
|
---|
110 | // Bool, Bool);
|
---|
111 | //}
|
---|
112 |
|
---|