| 1 |
/*=========================================================================== |
| 2 |
Copyright (C) 1995-2007 European Southern Observatory (ESO) |
| 3 |
|
| 4 |
This program is free software; you can redistribute it and/or |
| 5 |
modify it under the terms of the GNU General Public License as |
| 6 |
published by the Free Software Foundation; either version 2 of |
| 7 |
the License, or (at your option) any later version. |
| 8 |
|
| 9 |
This program is distributed in the hope that it will be useful, |
| 10 |
but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 11 |
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 12 |
GNU General Public License for more details. |
| 13 |
|
| 14 |
You should have received a copy of the GNU General Public |
| 15 |
License along with this program; if not, write to the Free |
| 16 |
Software Foundation, Inc., 675 Massachusetts Ave, Cambridge, |
| 17 |
MA 02139, USA. |
| 18 |
|
| 19 |
Correspondence concerning ESO-MIDAS should be addressed as follows: |
| 20 |
Internet e-mail: [email protected] |
| 21 |
Postal address: European Southern Observatory |
| 22 |
Data Management Division |
| 23 |
Karl-Schwarzschild-Strasse 2 |
| 24 |
D 85748 Garching bei Muenchen |
| 25 |
GERMANY |
| 26 |
===========================================================================*/ |
| 27 |
|
| 28 |
/* |
| 29 |
|
| 30 |
070523 last modif |
| 31 |
|
| 32 |
*/ |
| 33 |
|
| 34 |
|
| 35 |
|
| 36 |
#include <ftoc.h> |
| 37 |
|
| 38 |
|
| 39 |
static int savdsp, *pin1, *pin2, *pin3, *pin4; |
| 40 |
|
| 41 |
ROUTINE IIR1(dsplay,in1,in2,in3,in4) |
| 42 |
fint2c *dsplay; |
| 43 |
fint2c *in1; |
| 44 |
fint2c *in2; |
| 45 |
fint2c *in3; |
| 46 |
fint2c *in4; |
| 47 |
|
| 48 |
{ |
| 49 |
savdsp = *dsplay; |
| 50 |
pin1 = in1; |
| 51 |
pin2 = in2; |
| 52 |
pin3 = in3; |
| 53 |
pin4 = in4; |
| 54 |
return 0; |
| 55 |
} |
| 56 |
|
| 57 |
|
| 58 |
|
| 59 |
ROUTINE IIR2(xb,yb,roid,idst) |
| 60 |
fint2c *xb; |
| 61 |
fint2c *yb; |
| 62 |
fint2c *roid; |
| 63 |
fint2c *idst; |
| 64 |
|
| 65 |
{ |
| 66 |
int IIRINR_C(); |
| 67 |
|
| 68 |
*idst = IIRINR_C(savdsp,*pin1,*pin2,*pin3,*pin4,*xb,*yb,roid); |
| 69 |
return 0; |
| 70 |
} |
| 71 |
|
| 72 |
|
| 73 |
ROUTINE IIR3(xb,yb,memo,idst) |
| 74 |
fint2c *xb; |
| 75 |
fint2c *yb; |
| 76 |
fint2c *memo; |
| 77 |
fint2c *idst; |
| 78 |
|
| 79 |
{ |
| 80 |
int IIRRRI_C(); |
| 81 |
|
| 82 |
*idst = IIRRRI_C(savdsp,*pin1,*pin2,pin3,pin4,xb,yb,memo); |
| 83 |
return 0; |
| 84 |
} |
| 85 |
|
| 86 |
|
| 87 |
ROUTINE IIR4(xb,yb,idst) |
| 88 |
fint2c *xb; |
| 89 |
fint2c *yb; |
| 90 |
fint2c *idst; |
| 91 |
|
| 92 |
{ |
| 93 |
int IIRWRI_C(); |
| 94 |
|
| 95 |
*idst = IIRWRI_C(savdsp,*pin1,*pin2,*pin3,*pin4,*xb,*yb); |
| 96 |
|
| 97 |
return 0; |
| 98 |
} |
| 99 |
|
| 100 |
ROUTINE IIRSRV(dsplay,roid,vis,idst) |
| 101 |
fint2c *dsplay; |
| 102 |
fint2c *roid; |
| 103 |
fint2c *vis; |
| 104 |
fint2c *idst; |
| 105 |
|
| 106 |
{ |
| 107 |
int IIRSRV_C(); |
| 108 |
|
| 109 |
*idst = IIRSRV_C(*dsplay,*roid,*vis); |
| 110 |
return 0; |
| 111 |
} |
| 112 |
|
| 113 |
|
| 114 |
ROUTINE IIR5(rad1,rad2,rad3,roid,idst) |
| 115 |
fint2c *rad1; |
| 116 |
fint2c *rad2; |
| 117 |
fint2c *rad3; |
| 118 |
fint2c *roid; |
| 119 |
fint2c *idst; |
| 120 |
|
| 121 |
{ |
| 122 |
int IICINR_C(); |
| 123 |
|
| 124 |
*idst = IICINR_C(savdsp,*pin1,*pin2,*pin3,*pin4,*rad1,*rad2,*rad3,roid); |
| 125 |
return 0; |
| 126 |
} |
| 127 |
|
| 128 |
ROUTINE IIR6(rad1,rad2,rad3,memo,idst) |
| 129 |
fint2c *rad1; |
| 130 |
fint2c *rad2; |
| 131 |
fint2c *rad3; |
| 132 |
fint2c *memo; |
| 133 |
fint2c *idst; |
| 134 |
|
| 135 |
{ |
| 136 |
int IICRRI_C(); |
| 137 |
|
| 138 |
*idst = IICRRI_C(savdsp,*pin1,*pin2,pin3,pin4,rad1,rad2,rad3,memo); |
| 139 |
return 0; |
| 140 |
} |
| 141 |
|
| 142 |
|
| 143 |
ROUTINE IIR7(rad1,rad2,rad3,idst) |
| 144 |
fint2c *rad1; |
| 145 |
fint2c *rad2; |
| 146 |
fint2c *rad3; |
| 147 |
fint2c *idst; |
| 148 |
|
| 149 |
{ |
| 150 |
int IICWRI_C(); |
| 151 |
|
| 152 |
*idst = IICWRI_C(savdsp,*pin1,*pin2,*pin3,*pin4,*rad1,*rad2,*rad3); |
| 153 |
return 0; |
| 154 |
} |