~ubuntu-branches/debian/jessie/eso-midas/jessie

« back to all changes in this revision

Viewing changes to incl/proto_gen.h

  • Committer: Package Import Robot
  • Author(s): Ole Streicher
  • Date: 2014-04-22 14:44:58 UTC
  • Revision ID: package-import@ubuntu.com-20140422144458-okiwi1assxkkiz39
Tags: upstream-13.09pl1.2+dfsg
ImportĀ upstreamĀ versionĀ 13.09pl1.2+dfsg

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 
2
.COPYRIGHT   (c) 1993-2009 European Southern Observatory
 
3
.IDENTifer   proto_gen.h
 
4
.AUTHOR      R.M. van Hees IPG-ESO Garching
 
5
.KEYWORDS    prototypes
 
6
.LANGUAGE    C & ANSI-C
 
7
.PURPOSE     prototypes for General interfaces.
 
8
.VERSION     1.0     20-May-1994   Creation by RvH
 
9
090416          last modif
 
10
------------------------------------------------------------*/
 
11
 
 
12
#ifndef PROTO_GEN
 
13
#define PROTO_GEN
 
14
 
 
15
#ifdef  __cplusplus
 
16
extern "C" {
 
17
#endif
 
18
 
 
19
 
 
20
#ifdef __STDC__
 
21
extern int  Cjmagn ( int jmeth, float *p_img, int *npix, int ni, int nb, 
 
22
                     float *fac,
 
23
                     float *xycen, float *mag, float *dmag, 
 
24
                     float *sky, float *dsky, float *nrpix, float *flux );
 
25
extern int  Cstacen( char *meth, float *p_img, int *npix, int *image, 
 
26
                     float *xypos, float *xyerr, float *xysig, float *xyval );
 
27
extern void Czima  ( float *p_in, int *npix, float *xindx, float *yindx, 
 
28
                     int ndim, float *p_out, float *fmin, float *fmax );
 
29
extern int  Cpixlin( float xa, float ya, float xb, float yb,
 
30
                     double step, int ndim, float *xindx, float *yindx );
 
31
extern int  Cstvals( char *action, float *data, int naxis, int *npix, 
 
32
                     int *sublo, int *subhi, float *cutvls, float *results,
 
33
                     int *respix, int *nopix );
 
34
extern void  Chistvals( float *, int, int *, int *, int *, 
 
35
                                     float *, float, int, int *);
 
36
extern int  Convcoo(int intval, int imno,char *string,int pixdim,
 
37
                    int *subdim,int *sublo,int *subhi);
 
38
 
 
39
/*
 
40
 * module LUTTBL
 
41
 */
 
42
extern void OPNTBL (char *table,int *tid,int *ncols,int *nrows);
 
43
extern void CRELUT (char *table,float *rlut,int lutlen,int format,int *range);
 
44
extern void CREITT (char *table,float *ritt);
 
45
 
 
46
/*
 
47
 * module CALC
 
48
 */
 
49
extern void Cdspnul( int ncc, float usrNaN );
 
50
extern void Cfun1c( char *cfunc, float usrNaN, float aval, 
 
51
                                 float *result, int *ncount );
 
52
extern void Cfun2c( char *cfunc, float usrNaN, float *aval, 
 
53
                                 float *result, int *ncount );
 
54
extern void Copcc ( char *opcode, float scalA, float scalB, float usrNaN, 
 
55
                                               float *scalR, int *ncount );
 
56
extern void Cfn2ffw( char *cfunc, float *pntrA, int *npixA, int (*dimA)[2],
 
57
                                  float *pntrB, int *npixB, int (*dimB)[2],
 
58
                                  int *npixR, int (*dimR)[2], float *pntrR );
 
59
extern void Copffw( char *opcode, int tstflg, float usrNaN,
 
60
                                  float *pntrA, int *npixA, int (*dimA)[2],
 
61
                                  float *pntrB, int *npixB, int (*dimB)[2],
 
62
                      int *npixR, int (*dimR)[2], float *pntrR, int *ncount );
 
63
/*
 
64
 * module CCOPYF
 
65
 */
 
66
extern void Ccopwnd( float *pntrA, int *npixA, float *pntrB, int *npixB, 
 
67
                      int *bgnA, int *bgnB, int *endA );
 
68
extern void Ccopyf1( float *pntrA, int *npixA, int *bgnA, int *dimwA, 
 
69
                    float *pntrB, int *npixB, int *bgnB );
 
70
extern void Ccopyf2( float value, 
 
71
                    float *pntrB, int *npixB, int *bgnB, int *dimwB );
 
72
extern void Ccopyf ( float *pntrA, float *pntrB, int dim );
 
73
extern void Ccopyi ( int *pntrA, int *pntrB, int dim );
 
74
extern void Cconfil( float value, float *pntrB, int dim );
 
75
extern void Ccopyfx(float *pntrA,int imni,int imno,int *npix,int istrip);
 
76
/*
 
77
 * module CUTIL
 
78
 */
 
79
extern void FRAMOU_C(char *frame);
 
80
extern void BLANKO_C(char *string);
 
81
extern void OSCHAR_C(char *cval);
 
82
extern int fp2wc(int flag,int imno,double *coordin,double *coordout);
 
83
 
 
84
/*
 
85
modules from libsrc/math
 
86
*/
 
87
 
 
88
extern float randm( int *pdum);
 
89
 
 
90
extern int gaussj( double *a, int n, double *b, int m);
 
91
 
 
92
extern int covsrt( double *covar, int ma, int *lista, int mfit);
 
93
 
 
94
extern int mrqcof(int ndata, float *a, int ma, int *lista, int mfit,
 
95
                  double *alpha, double *veta, double *chisq, 
 
96
 int (*funcs) ( double  aa, double *bb, double *cc, double *dd ,int mm));
 
97
 
 
98
extern int mrqmin(int ndata, float *a, int ma, int *lista, int mfit,
 
99
                  double *covar, double *alpha, double *chisq, 
 
100
 int (*funcs) ( double  aa, double *bb, double *cc, double *dd ,int mm),
 
101
                  double *alamda);
 
102
 
 
103
 
 
104
#endif
 
105
 
 
106
#ifdef  __cplusplus
 
107
}
 
108
#endif
 
109
 
 
110
#endif