[2] | 1 | //#--------------------------------------------------------------------------- |
---|
| 2 | //# SDTemplates.cc: explicit templates for aips++ |
---|
| 3 | //#--------------------------------------------------------------------------- |
---|
| 4 | //# Copyright (C) 2004 |
---|
[125] | 5 | //# ATNF |
---|
[2] | 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 | //#--------------------------------------------------------------------------- |
---|
[125] | 31 | #include "SDMemTable.h" |
---|
| 32 | |
---|
| 33 | #include <casa/aips.h> |
---|
| 34 | #include <casa/namespace.h> |
---|
[81] | 35 | #include <casa/Exceptions/Error.cc> |
---|
[789] | 36 | //#include <casa/Exceptions/Error2.cc> |
---|
[81] | 37 | #include <casa/Utilities/CountedPtr.cc> |
---|
[789] | 38 | //#include <casa/Utilities/CountedPtr2.cc> |
---|
[2] | 39 | |
---|
[83] | 40 | namespace asap { |
---|
[125] | 41 | template class casa::CountedConstPtr<SDMemTable>; |
---|
| 42 | template class casa::CountedPtr<SDMemTable>; |
---|
| 43 | template class casa::PtrRep<SDMemTable>; |
---|
| 44 | template class casa::SimpleCountedConstPtr<SDMemTable>; |
---|
| 45 | template class casa::SimpleCountedPtr<SDMemTable>; |
---|
[2] | 46 | } |
---|
| 47 | |
---|
[81] | 48 | #include <casa/Arrays/ArrayLogical.cc> |
---|
| 49 | #include <casa/Arrays/ArrayMath.cc> |
---|
| 50 | #include <casa/Arrays/MaskArrMath.cc> |
---|
[454] | 51 | #include <casa/Arrays/MaskedArray.cc> |
---|
[81] | 52 | #include <casa/Arrays/Array.h> |
---|
[454] | 53 | #include <casa/Arrays/Array.cc> |
---|
[261] | 54 | #include <casa/Arrays/Vector.h> |
---|
| 55 | #include <casa/Utilities/BinarySearch.cc> |
---|
[310] | 56 | #include <coordinates/Coordinates/FrequencyAligner.cc> |
---|
[261] | 57 | #include <lattices/Lattices/Lattice.h> |
---|
| 58 | #include <lattices/Lattices/LatticeUtilities.cc> |
---|
| 59 | #include <scimath/Mathematics/InterpolateArray1D.cc> |
---|
[422] | 60 | #include <tables/Tables/BaseMappedArrayEngine.cc> |
---|
[2] | 61 | |
---|
[125] | 62 | template void convertArray<Bool, uChar>(Array<Bool> &, Array<uChar> const &); |
---|
| 63 | template void convertArray<uChar, Bool>(Array<uChar> &, Array<Bool> const &); |
---|
[789] | 64 | |
---|
[125] | 65 | template Array<Float>& operator/=<Float>(Array<Float>&, MaskedArray<Float> const&); |
---|
| 66 | template MaskedArray<Float> const& operator*=<Float>(MaskedArray<Float> const&, Float const&); |
---|
[701] | 67 | template MaskedArray<Float> const& operator*=<Float>(MaskedArray<Float> const&, Array<Float> const&); |
---|
| 68 | template MaskedArray<Float> const& operator/=<Float>(MaskedArray<Float> const&, Float const&); |
---|
[239] | 69 | template MaskedArray<Float> operator+<Float>(MaskedArray<Float> const&, MaskedArray<Float> const&); |
---|
[125] | 70 | template MaskedArray<Float> operator-<Float>(MaskedArray<Float> const&, MaskedArray<Float> const&); |
---|
[701] | 71 | template MaskedArray<Float> operator-<Float>(MaskedArray<Float> const&, Array<Float> const&); |
---|
| 72 | |
---|
| 73 | template MaskedArray<Float> operator/<Float>(MaskedArray<Float> const&, MaskedArray<Float> const&); |
---|
| 74 | |
---|
[239] | 75 | template MaskedArray<Float> operator*<Float>(MaskedArray<Float> const&, MaskedArray<Float> const&); |
---|
[701] | 76 | template MaskedArray<Float> operator*<Float>(MaskedArray<Float> const&, Array<Float> const&); |
---|
[243] | 77 | template MaskedArray<Float> operator*<Float>(Array<Float> const&, MaskedArray<Float> const&); |
---|
[125] | 78 | template Float stddev<Float>(MaskedArray<Float> const&); |
---|
[617] | 79 | template Float median<Float>(MaskedArray<Float> const&, Bool, Bool); |
---|
[132] | 80 | template Float sumsquares<Float>(MaskedArray<Float> const&); |
---|
| 81 | template Float avdev<Float>(MaskedArray<Float> const&); |
---|
[454] | 82 | |
---|
[132] | 83 | template void LatticeUtilities::bin(MaskedArray<float>&, MaskedArray<float> const&, uInt, uInt); |
---|
[789] | 84 | |
---|
[310] | 85 | template class FrequencyAligner<Float>; |
---|
[789] | 86 | |
---|
[422] | 87 | template class BaseMappedArrayEngine<Float, Float>; |
---|
| 88 | |
---|
[137] | 89 | #include "MathUtils2.cc" |
---|
[461] | 90 | #include "SDPol2.cc" |
---|
[125] | 91 | namespace mathutil { |
---|
| 92 | template void hanning(Vector<Float>&, Vector<Bool>&, |
---|
| 93 | const Vector<Float>&, |
---|
| 94 | const Vector<Bool>&, |
---|
| 95 | Bool, Bool); |
---|
[366] | 96 | template uInt addEntry(Vector<uInt>&, uInt); |
---|
[454] | 97 | template void extendLastArrayAxis(Array<Int>&, const Array<Int>&, |
---|
| 98 | const Int& initVal); |
---|
[125] | 99 | } |
---|
[461] | 100 | template Array<Bool> SDPolUtil::stokesData (Array<Bool>& dataIn, Bool); |
---|
[654] | 101 | template Array<Float> SDPolUtil::computeStokesDataForWriter(Array<Float>& dataIn, Bool); |
---|
| 102 | template Array<uChar> SDPolUtil::computeStokesDataForWriter(Array<uChar>& dataIn, Bool); |
---|
[461] | 103 | |
---|