| 1 |
/*=========================================================================== |
| 2 |
Copyright (C) 1995-2005 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 |
#include <ftoc.h> |
| 29 |
|
| 30 |
|
| 31 |
|
| 32 |
static int savdsp, *pin1, *pin2, *pin3, *pin4; |
| 33 |
|
| 34 |
ROUTINE IIM1(dsplay,in1,in2,in3,in4) |
| 35 |
fint2c *dsplay; |
| 36 |
fint2c *in1; |
| 37 |
fint2c *in2; |
| 38 |
fint2c *in3; |
| 39 |
fint2c *in4; |
| 40 |
|
| 41 |
{ |
| 42 |
savdsp = *dsplay; |
| 43 |
pin1 = in1; |
| 44 |
pin2 = in2; |
| 45 |
pin3 = in3; |
| 46 |
pin4 = in4; |
| 47 |
return 0; |
| 48 |
} |
| 49 |
|
| 50 |
|
| 51 |
ROUTINE IIMCMY(dsplay,chan,nochan,value,idst) |
| 52 |
fint2c *dsplay; |
| 53 |
fint2c *chan; |
| 54 |
fint2c *nochan; |
| 55 |
fint2c *value; |
| 56 |
fint2c *idst; |
| 57 |
{ |
| 58 |
int IIMCMY_C(); |
| 59 |
|
| 60 |
*idst = IIMCMY_C(*dsplay,chan,*nochan,*value); |
| 61 |
return 0; |
| 62 |
} |
| 63 |
|
| 64 |
|
| 65 |
ROUTINE IIM2(depth,xbeg,ybeg,idst) |
| 66 |
fint2c *depth; |
| 67 |
fint2c *idst; |
| 68 |
fint2c *xbeg; |
| 69 |
fint2c *ybeg; |
| 70 |
|
| 71 |
{ |
| 72 |
int IIMSTW_C(); |
| 73 |
|
| 74 |
*idst = IIMSTW_C(savdsp,*pin1,*pin2,*pin3,*pin4,*depth,*xbeg,*ybeg); |
| 75 |
return 0; |
| 76 |
} |
| 77 |
|
| 78 |
|
| 79 |
ROUTINE IIM3(depth,pack,xbeg,ybeg,idst) |
| 80 |
fint2c *depth; |
| 81 |
fint2c *pack; |
| 82 |
fint2c *xbeg; |
| 83 |
fint2c *ybeg; |
| 84 |
fint2c *idst; |
| 85 |
|
| 86 |
{ |
| 87 |
int IIMWMY_C(); |
| 88 |
|
| 89 |
*idst = IIMWMY_C(savdsp,*pin1,pin2,*pin3,*depth,*pack,*xbeg,*ybeg); |
| 90 |
return 0; |
| 91 |
} |
| 92 |
|
| 93 |
ROUTINE IIM4(depth,pack,ittflg,pix,idst) |
| 94 |
fint2c *depth; |
| 95 |
fint2c *pack; |
| 96 |
fint2c *ittflg; |
| 97 |
fint2c *idst; |
| 98 |
fint2c *pix; |
| 99 |
|
| 100 |
{ |
| 101 |
int IIMRMY_C(); |
| 102 |
|
| 103 |
*idst = IIMRMY_C(savdsp,*pin1,*pin2,*pin3,*pin4,*depth,*pack,*ittflg,pix); |
| 104 |
return 0; |
| 105 |
} |
| 106 |
|
| 107 |
ROUTINE IIMSMV(dsplay,chan,nochan,vis,idst) |
| 108 |
fint2c *dsplay; |
| 109 |
fint2c *chan; |
| 110 |
fint2c *nochan; |
| 111 |
fint2c *vis; |
| 112 |
fint2c *idst; |
| 113 |
|
| 114 |
{ |
| 115 |
int IIMSMV_C(); |
| 116 |
|
| 117 |
*idst = IIMSMV_C(*dsplay,chan,*nochan,*vis); |
| 118 |
return 0; |
| 119 |
} |
| 120 |
|
| 121 |
ROUTINE IIMSLT(dsplay,chan,lut,itt,idst) |
| 122 |
fint2c *dsplay; |
| 123 |
fint2c *chan; |
| 124 |
fint2c *itt; |
| 125 |
fint2c *lut; |
| 126 |
fint2c *idst; |
| 127 |
|
| 128 |
{ |
| 129 |
int IIMSLT_C(); |
| 130 |
|
| 131 |
*idst = IIMSLT_C(*dsplay,*chan,*lut,*itt); |
| 132 |
return 0; |
| 133 |
} |
| 134 |
|
| 135 |
ROUTINE IIMBLM(dsplay,memids,memlim,delay,idst) |
| 136 |
fint2c *dsplay; |
| 137 |
fint2c *memids; |
| 138 |
fint2c *memlim; |
| 139 |
fint2c *idst; |
| 140 |
float *delay; |
| 141 |
|
| 142 |
{ |
| 143 |
int IIMBLM_C(); |
| 144 |
|
| 145 |
*idst = IIMBLM_C(*dsplay,memids,*memlim,delay); |
| 146 |
return 0; |
| 147 |
} |
| 148 |
|