|
22 | 22 | namespace galsim { |
23 | 23 |
|
24 | 24 | template <typename T> |
25 | | - void ApplyCD(ImageView<T>& output, const BaseImage<T>& input, |
26 | | - const BaseImage<double>& aL, const BaseImage<double>& aR, |
27 | | - const BaseImage<double>& aB, const BaseImage<double>& aT, |
28 | | - const int dmax, const double gain_ratio) |
| 25 | + void ApplyCDModel(ImageView<T>& output, const BaseImage<T>& input, |
| 26 | + const BaseImage<double>& aL, const BaseImage<double>& aR, |
| 27 | + const BaseImage<double>& aB, const BaseImage<double>& aT, |
| 28 | + const int dmax, const double gain_ratio) |
29 | 29 | { |
30 | 30 | // images aL, aR, aB, aT contain shift coefficients for left, right, bottom and top border |
31 | 31 | // dmax is maximum separation considered |
@@ -87,12 +87,12 @@ namespace galsim { |
87 | 87 | } |
88 | 88 |
|
89 | 89 | // instantiate template functions for expected types: float and double currently |
90 | | - template void ApplyCD(ImageView<double>& output, const BaseImage<double>& input, |
91 | | - const BaseImage<double>& aL, const BaseImage<double>& aR, |
92 | | - const BaseImage<double>& aB, const BaseImage<double>& aT, |
93 | | - const int dmax, const double gain_ratio); |
94 | | - template void ApplyCD(ImageView<float>& output, const BaseImage<float>& input, |
95 | | - const BaseImage<double>& aL, const BaseImage<double>& aR, |
96 | | - const BaseImage<double>& aB, const BaseImage<double>& aT, |
97 | | - const int dmax, const double gain_ratio); |
| 90 | + template void ApplyCDModel(ImageView<double>& output, const BaseImage<double>& input, |
| 91 | + const BaseImage<double>& aL, const BaseImage<double>& aR, |
| 92 | + const BaseImage<double>& aB, const BaseImage<double>& aT, |
| 93 | + const int dmax, const double gain_ratio); |
| 94 | + template void ApplyCDModel(ImageView<float>& output, const BaseImage<float>& input, |
| 95 | + const BaseImage<double>& aL, const BaseImage<double>& aR, |
| 96 | + const BaseImage<double>& aB, const BaseImage<double>& aT, |
| 97 | + const int dmax, const double gain_ratio); |
98 | 98 | } |
0 commit comments