source: trunk/src/STTemplates.cpp@ 828

Last change on this file since 828 was 816, checked in by mar637, 19 years ago

File renaming to reflect major changes in asap2.

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