milk  1.01
Modular Image processing Library toolKit
psf.h
1 #ifndef _PSF_H
2 #define _PSF_H
3 
4 
5 void __attribute__((constructor)) libinit_psf();
6 
7 
8 
9 imageID PSF_makeChromatPSF(
10  const char *amp_name,
11  const char *pha_name,
12  float coeff1,
13  float coeff2,
14  long NBstep,
15  float ApoCoeff,
16  const char *out_name
17 );
18 
19 
20 errno_t PSF_finddiskcent(
21  const char *ID_name,
22  float rad,
23  float *result
24 );
25 
26 
27 errno_t PSF_finddiskcent_alone(
28  const char *ID_name,
29  float rad
30 );
31 
32 
33 
34 errno_t PSF_measurePhotocenter(
35  const char *ID_name
36 );
37 
38 
39 
40 float measure_enc_NRJ(
41  const char *ID_name,
42  float xcenter,
43  float ycenter,
44  float fraction
45 );
46 
47 
48 errno_t measure_enc_NRJ1(
49  const char *ID_name,
50  float xcenter,
51  float ycenter,
52  const char *filename
53 );
54 
55 
56 float measure_FWHM(
57  const char *ID_name,
58  float xcenter,
59  float ycenter,
60  float step,
61  long nb_step
62 );
63 
64 
65 errno_t center_PSF(
66  const char *ID_name,
67  double *xcenter,
68  double *ycenter,
69  long box_size
70 );
71 
72 
73 errno_t fast_center_PSF(
74  const char *ID_name,
75  double *xcenter,
76  double *ycenter,
77  long box_size
78 );
79 
80 
81 errno_t center_PSF_alone(
82  const char *ID_name
83 );
84 
85 
86 errno_t center_star(
87  const char *ID_in_name,
88  double *x_star,
89  double *y_star
90 );
91 
92 
93 float get_sigma(
94  const char *ID_name,
95  float x,
96  float y,
97  const char *options
98 );
99 
100 
101 float get_sigma_alone(
102  const char *ID_name
103 );
104 
105 
106 errno_t extract_psf(
107  const char *ID_name,
108  const char *out_name,
109  long size
110 );
111 
112 
113 imageID extract_psf_photcent(
114  const char *ID_name,
115  const char *out_name,
116  long size
117 );
118 
119 
120 errno_t psf_variance(
121  const char *ID_out_m,
122  const char *ID_out_v,
123  const char *options
124 );
125 
126 
127 imageID combine_2psf(
128  const char *ID_name,
129  const char *ID_name1,
130  const char *ID_name2,
131  float radius,
132  float index
133 );
134 
135 
136 float psf_measure_SR(
137  const char *ID_name,
138  float factor,
139  float r1,
140  float r2
141 );
142 
143 
144 imageID PSF_coaddbest(
145  const char *IDcin_name,
146  const char *IDout_name,
147  float r_pix
148 );
149 
150 
151 
152 errno_t PSF_sequence_measure(
153  const char *IDin_name,
154  float PSFsizeEst,
155  const char *outfname
156 );
157 
158 
159 #endif
__attribute__
errno_t __attribute__((hot))
Logs a shared memory stream onto disk.
Definition: logshmim.c:685