source: trunk/src/Templates.cpp@ 2134

Last change on this file since 2134 was 1819, checked in by Kana Sugimoto, 14 years ago

New Development: No

JIRA Issue: No (merge alma branch to trunk)

Ready for Test: Yes

Interface Changes: No

Test Programs: regressions may work

Module(s): all single dish modules

Description:

Merged all changes in alma (r1386:1818) and newfiller (r1774:1818) branch.


File size: 5.0 KB
Line 
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
38template class casa::CountedConstPtr<asap::Scantable>;
39template class casa::CountedPtr<asap::Scantable>;
40template class casa::CountedPtr<asap::STPol>;
41template class casa::PtrRep<asap::Scantable>;
42template class casa::SimpleCountedConstPtr<asap::Scantable>;
43template class casa::SimpleCountedConstPtr<asap::STPol>;
44template class casa::SimpleCountedPtr<asap::Scantable>;
45template class casa::SimpleCountedPtr<asap::STPol>;
46
47#include <casa/Arrays/ArrayLogical.h>
48#include <casa/Arrays/ArrayMath.h>
49#include <casa/Arrays/MaskArrMath.h>
50#include <casa/Arrays/MaskedArray.h>
51#include <casa/Arrays/Array.h>
52#include <casa/Arrays/Vector.h>
53#include <casa/Utilities/BinarySearch.h>
54#include <coordinates/Coordinates/FrequencyAligner.h>
55#include <lattices/Lattices/Lattice.h>
56#include <lattices/Lattices/LatticeUtilities.h>
57#include <scimath/Mathematics/InterpolateArray1D.h>
58#include <tables/Tables/BaseMappedArrayEngine.h>
59#include <tables/Tables/TableVector.h>
60#include <tables/Tables/TVec.h>
61#include <tables/Tables/TVecScaCol.h>
62#include <tables/Tables/TVecTemp.h>
63//#include <tables/Tables/TVecMath.h>
64
65template class ROTableVector<uInt>;
66template class TableVector<uInt>;
67template class TabVecScaCol<uInt>;
68template class TabVecTemp<uInt>;
69template class TabVecRep<uInt>;
70
71template class ROTableVector<Float>;
72template class TabVecScaCol<Float>;
73template class TabVecTemp<Float>;
74template class TabVecRep<Float>;
75
76template class ROTableVector<uChar>;
77template class TableVector<uChar>;
78template class TabVecScaCol<uChar>;
79template class TabVecTemp<uChar>;
80template class TabVecRep<uChar>;
81
82//template void convertArray<Bool, uChar>(Array<Bool> &, Array<uChar> const &);
83template void convertArray<uChar, Bool>(Array<uChar> &, Array<Bool> const &);
84
85template Array<Float>& operator/=<Float>(Array<Float>&, MaskedArray<Float> const&);
86template MaskedArray<Float> const& operator*=<Float>(MaskedArray<Float> const&, Float const&);
87template MaskedArray<Float> const& operator*=<Float>(MaskedArray<Float> const&, Array<Float> const&);
88template MaskedArray<Float> const& operator/=<Float>(MaskedArray<Float> const&, Float const&);
89template MaskedArray<Float> operator+<Float>(MaskedArray<Float> const&, MaskedArray<Float> const&);
90template MaskedArray<Float> operator-<Float>(MaskedArray<Float> const&, MaskedArray<Float> const&);
91template MaskedArray<Float> operator-<Float>(MaskedArray<Float> const&, Array<Float> const&);
92
93template MaskedArray<Float> operator/<Float>(MaskedArray<Float> const&, MaskedArray<Float> const&);
94
95template MaskedArray<Float> operator*<Float>(MaskedArray<Float> const&, MaskedArray<Float> const&);
96template MaskedArray<Float> operator*<Float>(MaskedArray<Float> const&, Array<Float> const&);
97template MaskedArray<Float> operator*<Float>(Array<Float> const&, MaskedArray<Float> const&);
98template MaskedArray<Float> operator*<Float>(Float const&, MaskedArray<Float> const&);
99template Float stddev<Float>(MaskedArray<Float> const&);
100template Float median<Float>(MaskedArray<Float> const&, Bool, Bool);
101template Float sumsquares<Float>(MaskedArray<Float> const&);
102template Float avdev<Float>(MaskedArray<Float> const&);
103
104template void LatticeUtilities::bin(MaskedArray<float>&, MaskedArray<float> const&, uInt, uInt);
105
106template class FrequencyAligner<Float>;
107
108template class BaseMappedArrayEngine<Float, Float>;
109
110//#include "MathUtils2.cpp"
111//namespace mathutil {
112// template void hanning(Vector<Float>&, Vector<Bool>&,
113// const Vector<Float>&,
114// const Vector<Bool>&,
115// Bool, Bool);
116//}
117
Note: See TracBrowser for help on using the repository browser.