mimical 0.3.7__py2.py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
mimical/__init__.py ADDED
@@ -0,0 +1,10 @@
1
+ from . import fitting
2
+ from . import plotting
3
+ from . import models
4
+ from . import priors
5
+
6
+ from .fitting import fit
7
+ from .fitting import fitCatalogue
8
+
9
+ from .models import ImageModel
10
+ from .models import Sersic
@@ -0,0 +1,400 @@
1
+ NUMBER Running object number
2
+ #EXT_NUMBER FITS extension number
3
+ #FLUX_ISO Isophotal flux [count]
4
+ #FLUXERR_ISO RMS error for isophotal flux [count]
5
+ #MAG_ISO Isophotal magnitude [mag]
6
+ #MAGERR_ISO RMS error for isophotal magnitude [mag]
7
+ #FLUX_ISOCOR Corrected isophotal flux [count]
8
+ #FLUXERR_ISOCOR RMS error for corrected isophotal flux [count]
9
+ #MAG_ISOCOR Corrected isophotal magnitude [mag]
10
+ #MAGERR_ISOCOR RMS error for corrected isophotal magnitude [mag]
11
+ #FLUX_APER Flux vector within fixed circular aperture(s) [count]
12
+ #FLUXERR_APER RMS error vector for aperture flux(es) [count]
13
+ #MAG_APER Fixed aperture magnitude vector [mag]
14
+ #MAGERR_APER RMS error vector for fixed aperture mag. [mag]
15
+ FLUX_AUTO Flux within a Kron-like elliptical aperture [count]
16
+ FLUXERR_AUTO RMS error for AUTO flux [count]
17
+ #MAG_AUTO Kron-like elliptical aperture magnitude [mag]
18
+ #MAGERR_AUTO RMS error for AUTO magnitude [mag]
19
+ #FLUX_PETRO Flux within a Petrosian-like elliptical aperture [count]
20
+ #FLUXERR_PETRO RMS error for PETROsian flux [count]
21
+ #MAG_PETRO Petrosian-like elliptical aperture magnitude [mag]
22
+ #MAGERR_PETRO RMS error for PETROsian magnitude [mag]
23
+ #FLUX_BEST Best of FLUX_AUTO and FLUX_ISOCOR [count]
24
+ #FLUXERR_BEST RMS error for BEST flux [count]
25
+ #MAG_BEST Best of MAG_AUTO and MAG_ISOCOR [mag]
26
+ #MAGERR_BEST RMS error for MAG_BEST [mag]
27
+ #FLUX_WIN Gaussian-weighted flux [count]
28
+ #FLUXERR_WIN RMS error for WIN flux [count]
29
+ #MAG_WIN Gaussian-weighted magnitude [mag]
30
+ #MAGERR_WIN RMS error for MAG_WIN [mag]
31
+ #FLUX_SOMFIT Flux derived from SOM fit [count]
32
+ #FLUXERR_SOMFIT RMS error for SOMFIT flux [count]
33
+ #MAG_SOMFIT Magnitude derived from SOM fit [mag]
34
+ #MAGERR_SOMFIT Magnitude error derived from SOM fit [mag]
35
+ #ERROR_SOMFIT Reduced Chi-square error of the SOM fit
36
+ #VECTOR_SOMFIT Position vector of the winning SOM node
37
+ KRON_RADIUS Kron apertures in units of A or B
38
+ #PETRO_RADIUS Petrosian apertures in units of A or B
39
+ #BACKGROUND Background at centroid position [count]
40
+ #THRESHOLD Detection threshold above background [count]
41
+ #FLUX_MAX Peak flux above background [count]
42
+ #ISOAREA_IMAGE Isophotal area above Analysis threshold [pixel**2]
43
+ #ISOAREAF_IMAGE Isophotal area (filtered) above Detection threshold [pixel**2]
44
+ #XMIN_IMAGE Minimum x-coordinate among detected pixels [pixel]
45
+ #YMIN_IMAGE Minimum y-coordinate among detected pixels [pixel]
46
+ #XMAX_IMAGE Maximum x-coordinate among detected pixels [pixel]
47
+ #YMAX_IMAGE Maximum y-coordinate among detected pixels [pixel]
48
+ XPEAK_IMAGE x-coordinate of the brightest pixel [pixel]
49
+ YPEAK_IMAGE y-coordinate of the brightest pixel [pixel]
50
+ #XPEAK_FOCAL Focal-plane x coordinate of the brightest pixel
51
+ #YPEAK_FOCAL Focal-plane y coordinate of the brightest pixel
52
+ XPEAK_WORLD World-x coordinate of the brightest pixel [deg]
53
+ YPEAK_WORLD World-y coordinate of the brightest pixel [deg]
54
+ #ALPHAPEAK_SKY Right ascension of brightest pix (native) [deg]
55
+ #DELTAPEAK_SKY Declination of brightest pix (native) [deg]
56
+ #ALPHAPEAK_J2000 Right ascension of brightest pix (J2000) [deg]
57
+ #DELTAPEAK_J2000 Declination of brightest pix (J2000) [deg]
58
+ #ALPHAPEAK_B1950 Right ascension of brightest pix (B1950) [deg]
59
+ #DELTAPEAK_B1950 Declination of brightest pix (B1950) [deg]
60
+ X_IMAGE Object position along x [pixel]
61
+ Y_IMAGE Object position along y [pixel]
62
+ #X_IMAGE_DBL Object position along x (double precision) [pixel]
63
+ #Y_IMAGE_DBL Object position along y (double precision) [pixel]
64
+ #X_FOCAL Barycenter position along focal-plane x axis
65
+ #Y_FOCAL Barycenter position along focal-plane y axis
66
+ #X_WORLD Barycenter position along world x axis [deg]
67
+ #Y_WORLD Barycenter position along world y axis [deg]
68
+ #X_MAMA Barycenter position along MAMA x axis [m**(-6)]
69
+ #Y_MAMA Barycenter position along MAMA y axis [m**(-6)]
70
+ #ALPHA_SKY Right ascension of barycenter (native) [deg]
71
+ #DELTA_SKY Declination of barycenter (native) [deg]
72
+ #ALPHA_J2000 Right ascension of barycenter (J2000) [deg]
73
+ #DELTA_J2000 Declination of barycenter (J2000) [deg]
74
+ #ALPHA_B1950 Right ascension of barycenter (B1950) [deg]
75
+ #DELTA_B1950 Declination of barycenter (B1950) [deg]
76
+ #X2_IMAGE Variance along x [pixel**2]
77
+ #Y2_IMAGE Variance along y [pixel**2]
78
+ #XY_IMAGE Covariance between x and y [pixel**2]
79
+ #X2_WORLD Variance along X-WORLD (alpha) [deg**2]
80
+ #Y2_WORLD Variance along Y-WORLD (delta) [deg**2]
81
+ #XY_WORLD Covariance between X-WORLD and Y-WORLD [deg**2]
82
+ #CXX_IMAGE Cxx object ellipse parameter [pixel**(-2)]
83
+ #CYY_IMAGE Cyy object ellipse parameter [pixel**(-2)]
84
+ #CXY_IMAGE Cxy object ellipse parameter [pixel**(-2)]
85
+ #CXX_WORLD Cxx object ellipse parameter (WORLD units) [deg**(-2)]
86
+ #CYY_WORLD Cyy object ellipse parameter (WORLD units) [deg**(-2)]
87
+ #CXY_WORLD Cxy object ellipse parameter (WORLD units) [deg**(-2)]
88
+ #A_IMAGE Profile RMS along major axis [pixel]
89
+ #B_IMAGE Profile RMS along minor axis [pixel]
90
+ THETA_IMAGE Position angle (CCW/x) [deg]
91
+ #A_WORLD Profile RMS along major axis (world units) [deg]
92
+ #B_WORLD Profile RMS along minor axis (world units) [deg]
93
+ #THETA_WORLD Position angle (CCW/world-x) [deg]
94
+ #THETA_SKY Position angle (east of north) (native) [deg]
95
+ #THETA_J2000 Position angle (east of north) (J2000) [deg]
96
+ #THETA_B1950 Position angle (east of north) (B1950) [deg]
97
+ #ERRX2_IMAGE Variance of position along x [pixel**2]
98
+ #ERRY2_IMAGE Variance of position along y [pixel**2]
99
+ #ERRXY_IMAGE Covariance of position between x and y [pixel**2]
100
+ #ERRX2_WORLD Variance of position along X-WORLD (alpha) [deg**2]
101
+ #ERRY2_WORLD Variance of position along Y-WORLD (delta) [deg**2]
102
+ #ERRXY_WORLD Covariance of position X-WORLD/Y-WORLD [deg**2]
103
+ #ERRCXX_IMAGE Cxx error ellipse parameter [pixel**(-2)]
104
+ #ERRCYY_IMAGE Cyy error ellipse parameter [pixel**(-2)]
105
+ #ERRCXY_IMAGE Cxy error ellipse parameter [pixel**(-2)]
106
+ #ERRCXX_WORLD Cxx error ellipse parameter (WORLD units) [deg**(-2)]
107
+ #ERRCYY_WORLD Cyy error ellipse parameter (WORLD units) [deg**(-2)]
108
+ #ERRCXY_WORLD Cxy error ellipse parameter (WORLD units) [deg**(-2)]
109
+ #ERRA_IMAGE RMS position error along major axis [pixel]
110
+ #ERRB_IMAGE RMS position error along minor axis [pixel]
111
+ #ERRTHETA_IMAGE Error ellipse position angle (CCW/x) [deg]
112
+ #ERRA_WORLD World RMS position error along major axis [deg]
113
+ #ERRB_WORLD World RMS position error along minor axis [deg]
114
+ #ERRTHETA_WORLD Error ellipse pos. angle (CCW/world-x) [deg]
115
+ #ERRTHETA_SKY Native error ellipse pos. angle (east of north) [deg]
116
+ #ERRTHETA_J2000 J2000 error ellipse pos. angle (east of north) [deg]
117
+ #ERRTHETA_B1950 B1950 error ellipse pos. angle (east of north) [deg]
118
+ #XWIN_IMAGE Windowed position estimate along x [pixel]
119
+ #YWIN_IMAGE Windowed position estimate along y [pixel]
120
+ #XWIN_FOCAL Windowed position along focal-plane x axis
121
+ #YWIN_FOCAL Windowed position along focal-plane y axis
122
+ #XWIN_WORLD Windowed position along world x axis [deg]
123
+ #YWIN_WORLD Windowed position along world y axis [deg]
124
+ #ALPHAWIN_SKY Windowed right ascension (native) [deg]
125
+ #DELTAWIN_SKY Windowed declination (native) [deg]
126
+ #ALPHAWIN_J2000 Windowed right ascension (J2000) [deg]
127
+ #DELTAWIN_J2000 windowed declination (J2000) [deg]
128
+ #ALPHAWIN_B1950 Windowed right ascension (B1950) [deg]
129
+ #DELTAWIN_B1950 Windowed declination (B1950) [deg]
130
+ #X2WIN_IMAGE Windowed variance along x [pixel**2]
131
+ #Y2WIN_IMAGE Windowed variance along y [pixel**2]
132
+ #XYWIN_IMAGE Windowed covariance between x and y [pixel**2]
133
+ #X2WIN_WORLD Windowed variance along X-WORLD (alpha) [deg**2]
134
+ #Y2WIN_WORLD Windowed variance along Y-WORLD (delta) [deg**2]
135
+ #XYWIN_WORLD Windowed covariance between X-WORLD and Y-WORLD [deg**2]
136
+ #CXXWIN_IMAGE Windowed Cxx object ellipse parameter [pixel**(-2)]
137
+ #CYYWIN_IMAGE Windowed Cyy object ellipse parameter [pixel**(-2)]
138
+ #CXYWIN_IMAGE Windowed Cxy object ellipse parameter [pixel**(-2)]
139
+ #CXXWIN_WORLD Windowed Cxx object ellipse parameter (WORLD units) [deg**(-2)]
140
+ #CYYWIN_WORLD Windowed Cyy object ellipse parameter (WORLD units) [deg**(-2)]
141
+ #CXYWIN_WORLD Windowed Cxy object ellipse parameter (WORLD units) [deg**(-2)]
142
+ #AWIN_IMAGE Windowed profile RMS along major axis [pixel]
143
+ #BWIN_IMAGE Windowed profile RMS along minor axis [pixel]
144
+ #THETAWIN_IMAGE Windowed position angle (CCW/x) [deg]
145
+ #AWIN_WORLD Windowed profile RMS along major axis (world units) [deg]
146
+ #BWIN_WORLD Windowed profile RMS along minor axis (world units) [deg]
147
+ #THETAWIN_WORLD Windowed position angle (CCW/world-x) [deg]
148
+ #THETAWIN_SKY Windowed position angle (east of north) (native) [deg]
149
+ #THETAWIN_J2000 Windowed position angle (east of north) (J2000) [deg]
150
+ #THETAWIN_B1950 Windowed position angle (east of north) (B1950) [deg]
151
+ #ERRX2WIN_IMAGE Variance of windowed pos along x [pixel**2]
152
+ #ERRY2WIN_IMAGE Variance of windowed pos along y [pixel**2]
153
+ #ERRXYWIN_IMAGE Covariance of windowed pos between x and y [pixel**2]
154
+ #ERRX2WIN_WORLD Variance of windowed pos along X-WORLD (alpha) [deg**2]
155
+ #ERRY2WIN_WORLD Variance of windowed pos along Y-WORLD (delta) [deg**2]
156
+ #ERRXYWIN_WORLD Covariance of windowed pos X-WORLD/Y-WORLD [deg**2]
157
+ #ERRCXXWIN_IMAGE Cxx windowed error ellipse parameter [pixel**(-2)]
158
+ #ERRCYYWIN_IMAGE Cyy windowed error ellipse parameter [pixel**(-2)]
159
+ #ERRCXYWIN_IMAGE Cxy windowed error ellipse parameter [pixel**(-2)]
160
+ #ERRCXXWIN_WORLD Cxx windowed error ellipse parameter (WORLD units) [deg**(-2)]
161
+ #ERRCYYWIN_WORLD Cyy windowed error ellipse parameter (WORLD units) [deg**(-2)]
162
+ #ERRCXYWIN_WORLD Cxy windowed error ellipse parameter (WORLD units) [deg**(-2)]
163
+ #ERRAWIN_IMAGE RMS windowed pos error along major axis [pixel]
164
+ #ERRBWIN_IMAGE RMS windowed pos error along minor axis [pixel]
165
+ #ERRTHETAWIN_IMAGE Windowed error ellipse pos angle (CCW/x) [deg]
166
+ #ERRAWIN_WORLD World RMS windowed pos error along major axis [deg]
167
+ #ERRBWIN_WORLD World RMS windowed pos error along minor axis [deg]
168
+ #ERRTHETAWIN_WORLD Windowed error ellipse pos. angle (CCW/world-x) [deg]
169
+ #ERRTHETAWIN_SKY Native windowed error ellipse pos. angle (east of north) [deg]
170
+ #ERRTHETAWIN_J2000 J2000 windowed error ellipse pos. angle (east of north) [deg]
171
+ #ERRTHETAWIN_B1950 B1950 windowed error ellipse pos. angle (east of north) [deg]
172
+ #NITER_WIN Number of iterations for WIN centering
173
+ #MU_THRESHOLD Detection threshold above background [mag * arcsec**(-2)]
174
+ #MU_MAX Peak surface brightness above background [mag * arcsec**(-2)]
175
+ #ISOAREA_WORLD Isophotal area above Analysis threshold [deg**2]
176
+ #ISOAREAF_WORLD Isophotal area (filtered) above Detection threshold [deg**2]
177
+ #ISO0 Isophotal area at level 0 [pixel**2]
178
+ #ISO1 Isophotal area at level 1 [pixel**2]
179
+ #ISO2 Isophotal area at level 2 [pixel**2]
180
+ #ISO3 Isophotal area at level 3 [pixel**2]
181
+ #ISO4 Isophotal area at level 4 [pixel**2]
182
+ #ISO5 Isophotal area at level 5 [pixel**2]
183
+ #ISO6 Isophotal area at level 6 [pixel**2]
184
+ #ISO7 Isophotal area at level 7 [pixel**2]
185
+ #FLAGS Extraction flags
186
+ #FLAGS_WEIGHT Weighted extraction flags
187
+ #FLAGS_WIN Flags for WINdowed parameters
188
+ #IMAFLAGS_ISO FLAG-image flags OR'ed over the iso. profile
189
+ #NIMAFLAGS_ISO Number of flagged pixels entering IMAFLAGS_ISO
190
+ #NLOWWEIGHT_ISO Nb of pixels with low weight over the iso. profile
191
+ #NLOWDWEIGHT_ISO Nb of pixels with low det. weight over the iso. profile
192
+ #FWHM_IMAGE FWHM assuming a gaussian core [pixel]
193
+ #FWHM_WORLD FWHM assuming a gaussian core [deg]
194
+ #ELONGATION A_IMAGE/B_IMAGE
195
+ ELLIPTICITY 1 - B_IMAGE/A_IMAGE
196
+ #POLAR_IMAGE (A_IMAGE^2 - B_IMAGE^2)/(A_IMAGE^2 + B_IMAGE^2)
197
+ #POLAR_WORLD (A_WORLD^2 - B_WORLD^2)/(A_WORLD^2 + B_WORLD^2)
198
+ #POLARWIN_IMAGE (AWIN^2 - BWIN^2)/(AWIN^2 + BWIN^2)
199
+ #POLARWIN_WORLD (AWIN^2 - BWIN^2)/(AWIN^2 + BWIN^2)
200
+ #CLASS_STAR S/G classifier output
201
+ #VIGNET Pixel data around detection [count]
202
+ #VIGNET_SHIFT Pixel data around detection, corrected for shift [count]
203
+ #VECTOR_ASSOC ASSOCiated parameter vector
204
+ #NUMBER_ASSOC Number of ASSOCiated IDs
205
+ #THRESHOLDMAX Maximum threshold possible for detection [count]
206
+ #FLUX_GROWTH Cumulated growth-curve [count]
207
+ #FLUX_GROWTHSTEP Step for growth-curves [pixel]
208
+ #MAG_GROWTH Cumulated magnitude growth-curve [mag]
209
+ #MAG_GROWTHSTEP Step for growth-curves [pixel]
210
+ #FLUX_RADIUS Fraction-of-light radii [pixel]
211
+ #XPSF_IMAGE X coordinate from PSF-fitting [pixel]
212
+ #YPSF_IMAGE Y coordinate from PSF-fitting [pixel]
213
+ #XPSF_WORLD PSF position along world x axis [deg]
214
+ #YPSF_WORLD PSF position along world y axis [deg]
215
+ #ALPHAPSF_SKY Right ascension of the fitted PSF (native) [deg]
216
+ #DELTAPSF_SKY Declination of the fitted PSF (native) [deg]
217
+ #ALPHAPSF_J2000 Right ascension of the fitted PSF (J2000) [deg]
218
+ #DELTAPSF_J2000 Declination of the fitted PSF (J2000) [deg]
219
+ #ALPHAPSF_B1950 Right ascension of the fitted PSF (B1950) [deg]
220
+ #DELTAPSF_B1950 Declination of the fitted PSF (B1950) [deg]
221
+ #FLUX_PSF Flux from PSF-fitting [count]
222
+ #FLUXERR_PSF RMS flux error for PSF-fitting [count]
223
+ #MAG_PSF Magnitude from PSF-fitting [mag]
224
+ #MAGERR_PSF RMS magnitude error from PSF-fitting [mag]
225
+ #NITER_PSF Number of iterations for PSF-fitting
226
+ #CHI2_PSF Reduced chi2 from PSF-fitting
227
+ #ERRX2PSF_IMAGE Variance of PSF position along x [pixel**2]
228
+ #ERRY2PSF_IMAGE Variance of PSF position along y [pixel**2]
229
+ #ERRXYPSF_IMAGE Covariance of PSF position between x and y [pixel**2]
230
+ #ERRX2PSF_WORLD Variance of PSF position along X-WORLD (alpha) [deg**2]
231
+ #ERRY2PSF_WORLD Variance of PSF position along Y-WORLD (delta) [deg**2]
232
+ #ERRXYPSF_WORLD Covariance of PSF position X-WORLD/Y-WORLD [deg**2]
233
+ #ERRCXXPSF_IMAGE Cxx PSF error ellipse parameter [pixel**(-2)]
234
+ #ERRCYYPSF_IMAGE Cyy PSF error ellipse parameter [pixel**(-2)]
235
+ #ERRCXYPSF_IMAGE Cxy PSF error ellipse parameter [pixel**(-2)]
236
+ #ERRCXXPSF_WORLD Cxx PSF error ellipse parameter (WORLD units) [deg**(-2)]
237
+ #ERRCYYPSF_WORLD Cyy PSF error ellipse parameter (WORLD units) [deg**(-2)]
238
+ #ERRCXYPSF_WORLD Cxy PSF error ellipse parameter (WORLD units) [deg**(-2)]
239
+ #ERRAPSF_IMAGE PSF RMS position error along major axis [pixel]
240
+ #ERRBPSF_IMAGE PSF RMS position error along minor axis [pixel]
241
+ #ERRTHETAPSF_IMAGE PSF error ellipse position angle (CCW/x) [deg]
242
+ #ERRAPSF_WORLD World PSF RMS position error along major axis [pixel]
243
+ #ERRBPSF_WORLD World PSF RMS position error along minor axis [pixel]
244
+ #ERRTHETAPSF_WORLD PSF error ellipse pos. angle (CCW/world-x) [deg]
245
+ #ERRTHETAPSF_SKY Native PSF error ellipse pos. angle (east of north) [deg]
246
+ #ERRTHETAPSF_J2000 J2000 PSF error ellipse pos. angle (east of north) [deg]
247
+ #ERRTHETAPSF_B1950 B1950 PSF error ellipse pos. angle (east of north) [deg]
248
+ #DURATION_ANALYSIS Duration of analysis for this source [s]
249
+ #VECTOR_MODEL Model-fitting coefficients
250
+ #VECTOR_MODELERR Model-fitting coefficient uncertainties
251
+ #MATRIX_MODELERR Model-fitting covariance matrix
252
+ #CHI2_MODEL Reduced Chi2 of the fit
253
+ #FLAGS_MODEL Model-fitting flags
254
+ #NITER_MODEL Number of iterations for model-fitting
255
+ #FLUX_MODEL Flux from model-fitting [count]
256
+ #FLUXERR_MODEL RMS error on model-fitting flux [count]
257
+ #MAG_MODEL Magnitude from model-fitting [mag]
258
+ #MAGERR_MODEL RMS error on model-fitting magnitude [mag]
259
+ #FLUX_MAX_MODEL Peak model flux above background [count]
260
+ #FLUX_EFF_MODEL Effective model flux above background [count]
261
+ #FLUX_MEAN_MODEL Mean effective model flux above background [count]
262
+ #MU_MAX_MODEL Peak model surface brightness above background [mag * arcsec**(-2)]
263
+ #MU_EFF_MODEL Effective model surface brightness above background [mag * arcsec**(-2)]
264
+ #MU_MEAN_MODEL Mean effective model surface brightness above background [mag * arcsec**(-2)]
265
+ #XMODEL_IMAGE X coordinate from model-fitting [pixel]
266
+ #YMODEL_IMAGE Y coordinate from model-fitting [pixel]
267
+ #XFOCAL_WORLD Fitted position along focal-plane x axis
268
+ #YFOCAL_WORLD Fitted position along focal-plane y axis
269
+ #XMODEL_WORLD Fitted position along world x axis [deg]
270
+ #YMODEL_WORLD Fitted position along world y axis [deg]
271
+ #ALPHAMODEL_SKY Fitted position along right ascension (native) [deg]
272
+ #DELTAMODEL_SKY Fitted position along declination (native) [deg]
273
+ #ALPHAMODEL_J2000 Fitted position along right ascension (J2000) [deg]
274
+ #DELTAMODEL_J2000 Fitted position along declination (J2000) [deg]
275
+ #ALPHAMODEL_B1950 Fitted position along right ascension (B1950) [deg]
276
+ #DELTAMODEL_B1950 Fitted position along declination (B1950) [deg]
277
+ #ERRX2MODEL_IMAGE Variance of fitted position along x [pixel**2]
278
+ #ERRY2MODEL_IMAGE Variance of fitted position along y [pixel**2]
279
+ #ERRXYMODEL_IMAGE Covariance of fitted position between x and y [pixel**2]
280
+ #ERRX2MODEL_WORLD Variance of fitted position along X-WORLD (alpha) [deg**2]
281
+ #ERRY2MODEL_WORLD Variance of fitted position along Y-WORLD (delta) [deg**2]
282
+ #ERRXYMODEL_WORLD Covariance of fitted position X-WORLD/Y-WORLD [deg**2]
283
+ #ERRCXXMODEL_IMAGE Cxx error ellipse parameter of fitted position [pixel**(-2)]
284
+ #ERRCYYMODEL_IMAGE Cyy error ellipse parameter of fitted position [pixel**(-2)]
285
+ #ERRCXYMODEL_IMAGE Cxy error ellipse parameter of fitted position [pixel**(-2)]
286
+ #ERRCXXMODEL_WORLD Cxx fitted error ellipse parameter (WORLD units) [deg**(-2)]
287
+ #ERRCYYMODEL_WORLD Cyy fitted error ellipse parameter (WORLD units) [deg**(-2)]
288
+ #ERRCXYMODEL_WORLD Cxy fitted error ellipse parameter (WORLD units) [deg**(-2)]
289
+ #ERRAMODEL_IMAGE RMS error of fitted position along major axis [pixel]
290
+ #ERRBMODEL_IMAGE RMS error of fitted position along minor axis [pixel]
291
+ #ERRTHETAMODEL_IMAGE Error ellipse pos.angle of fitted position (CCW/x) [deg]
292
+ #ERRAMODEL_WORLD World RMS error of fitted position along major axis [deg]
293
+ #ERRBMODEL_WORLD World RMS error of fitted position along minor axis [deg]
294
+ #ERRTHETAMODEL_WORLD Error ellipse pos.angle of fitted position (CCW/world-x) [deg]
295
+ #ERRTHETAMODEL_SKY Native fitted error ellipse pos. angle (east of north) [deg]
296
+ #ERRTHETAMODEL_J2000 J2000 fitted error ellipse pos. angle (east of north) [deg]
297
+ #ERRTHETAMODEL_B1950 B1950 fitted error ellipse pos. angle (east of north) [deg]
298
+ #X2MODEL_IMAGE Variance along x from model-fitting [pixel**2]
299
+ #Y2MODEL_IMAGE Variance along y from model-fitting [pixel**2]
300
+ #XYMODEL_IMAGE Covariance between x and y from model-fitting [pixel**2]
301
+ #ELLIP1MODEL_IMAGE Ellipticity component from model-fitting
302
+ #ELLIP2MODEL_IMAGE Ellipticity component from model-fitting
303
+ #POLAR1MODEL_IMAGE Ellipticity component (quadratic) from model-fitting
304
+ #POLAR2MODEL_IMAGE Ellipticity component (quadratic) from model-fitting
305
+ #ELLIP1ERRMODEL_IMAGE Ellipticity component std.error from model-fitting
306
+ #ELLIP2ERRMODEL_IMAGE Ellipticity component std.error from model-fitting
307
+ #ELLIPCORRMODEL_IMAGE Corr.coeff between ellip.components from model-fitting
308
+ #POLAR1ERRMODEL_IMAGE Polarisation component std.error from model-fitting
309
+ #POLAR2ERRMODEL_IMAGE Polarisation component std.error from model-fitting
310
+ #POLARCORRMODEL_IMAGE Corr.coeff between polar. components from fitting
311
+ #X2MODEL_WORLD Variance along X-WORLD (alpha) from model-fitting [deg**2]
312
+ #Y2MODEL_WORLD Variance along Y_WORLD (delta) from model-fitting [deg**2]
313
+ #XYMODEL_WORLD Covariance between X-WORLD and Y-WORLD from model-fitting [deg**2]
314
+ #ELLIP1MODEL_WORLD Ellipticity component from model-fitting
315
+ #ELLIP2MODEL_WORLD Ellipticity component from model-fitting
316
+ #POLAR1MODEL_WORLD Polarisation component from model-fitting
317
+ #POLAR2MODEL_WORLD Polarisation component from model-fitting
318
+ #ELLIP1ERRMODEL_WORLD Ellipticity component std.error from model-fitting
319
+ #ELLIP2ERRMODEL_WORLD Ellipticity component std.error from model-fitting
320
+ #ELLIPCORRMODEL_WORLD Corr.coeff between ellip.components from model-fitting
321
+ #POLAR1ERRMODEL_WORLD Polarisation component std.error from model-fitting
322
+ #POLAR2ERRMODEL_WORLD Polarisation component std.error from model-fitting
323
+ #POLARCORRMODEL_WORLD Corr.coeff between polar. components from fitting
324
+ #CXXMODEL_IMAGE Cxx ellipse parameter from model-fitting [pixel**(-2)]
325
+ #CYYMODEL_IMAGE Cyy ellipse parameter from model-fittinh [pixel**(-2)]
326
+ #CXYMODEL_IMAGE Cxy ellipse parameter from model-fitting [pixel**(-2)]
327
+ #CXXMODEL_WORLD Cxx ellipse parameter (WORLD) from model-fitting [deg**(-2)]
328
+ #CYYMODEL_WORLD Cyy ellipse parameter (WORLD) from model-fitting [deg**(-2)]
329
+ #CXYMODEL_WORLD Cxy ellipse parameter (WORLD) from model-fitting [deg**(-2)]
330
+ #AMODEL_IMAGE Model RMS along major axis [pixel]
331
+ #BMODEL_IMAGE Model RMS along minor axis [pixel]
332
+ #THETAMODEL_IMAGE Model position angle (CCW/x) [deg]
333
+ #AMODEL_WORLD Model RMS along major axis (WORLD units) [deg]
334
+ #BMODEL_WORLD Model RMS along minor axis (WORLD units) [deg]
335
+ #THETAMODEL_WORLD Model position angle (CCW/WORLD-x) [deg]
336
+ #THETAMODEL_SKY Model position angle (east of north) (native) [deg]
337
+ #THETAMODEL_J2000 Model position angle (east of north) (J2000) [deg]
338
+ #THETAMODEL_B1950 Model position angle (east of north) (B1950) [deg]
339
+ #SPREAD_MODEL Spread parameter from model-fitting
340
+ #SPREADERR_MODEL Spread parameter error from model-fitting
341
+ #FLUX_BACKOFFSET Background offset from fitting [count]
342
+ #FLUXERR_BACKOFFSET RMS error on fitted background offset [count]
343
+ #FLUX_POINTSOURCE Point source flux from fitting [count]
344
+ #FLUXERR_POINTSOURCE RMS error on fitted point source total flux [count]
345
+ #MAG_POINTSOURCE Point source total magnitude from fitting [mag]
346
+ #MAGERR_POINTSOURCE RMS error on fitted point source total magnitude [mag]
347
+ #FLUX_SPHEROID Spheroid total flux from fitting [count]
348
+ #FLUXERR_SPHEROID RMS error on fitted spheroid total flux [count]
349
+ #MAG_SPHEROID Spheroid total magnitude from fitting [mag]
350
+ #MAGERR_SPHEROID RMS error on fitted spheroid total magnitude [mag]
351
+ #FLUX_MAX_SPHEROID Peak spheroid flux above background [count]
352
+ #FLUX_EFF_SPHEROID Effective spheroid flux above background [count]
353
+ #FLUX_MEAN_SPHEROID Mean effective spheroid flux above background [count]
354
+ #MU_MAX_SPHEROID Peak spheroid surface brightness above background [mag * arcsec**(-2)]
355
+ #MU_EFF_SPHEROID Effective spheroid surface brightness above background [mag * arcsec**(-2)]
356
+ #MU_MEAN_SPHEROID Mean effective spheroid surface brightness above backgrou [mag * arcsec**(-2)]
357
+ #SPHEROID_REFF_IMAGE Spheroid effective radius from fitting [pixel]
358
+ #SPHEROID_REFFERR_IMAGE RMS error on fitted spheroid effective radius [pixel]
359
+ #SPHEROID_REFF_WORLD Spheroid effective radius from fitting [deg]
360
+ #SPHEROID_REFFERR_WORLD RMS error on fitted spheroid effective radius [deg]
361
+ #SPHEROID_ASPECT_IMAGE Spheroid aspect ratio from fitting
362
+ #SPHEROID_ASPECTERR_IMAGE RMS error on fitted spheroid aspect ratio
363
+ #SPHEROID_ASPECT_WORLD Spheroid aspect ratio from fitting
364
+ #SPHEROID_ASPECTERR_WORLD RMS error on fitted spheroid aspect ratio
365
+ #SPHEROID_THETA_IMAGE Spheroid position angle (CCW/x) from fitting [deg]
366
+ #SPHEROID_THETAERR_IMAGE RMS error on spheroid position angle [deg]
367
+ #SPHEROID_THETA_WORLD Spheroid position angle (CCW/world-x) [deg]
368
+ #SPHEROID_THETAERR_WORLD RMS error on spheroid position angle [deg]
369
+ #SPHEROID_THETA_SKY Spheroid position angle (east of north, native) [deg]
370
+ #SPHEROID_THETA_J2000 Spheroid position angle (east of north, J2000) [deg]
371
+ #SPHEROID_THETA_B1950 Spheroid position angle (east of north, B1950) [deg]
372
+ #SPHEROID_SERSICN Spheroid Sersic index from fitting
373
+ #SPHEROID_SERSICNERR RMS error on fitted spheroid Sersic index
374
+ #FLUX_DISK Disk total flux from fitting [count]
375
+ #FLUXERR_DISK RMS error on fitted disk total flux [count]
376
+ #MAG_DISK Disk total magnitude from fitting [mag]
377
+ #MAGERR_DISK RMS error on fitted disk total magnitude [mag]
378
+ #FLUX_MAX_DISK Peak disk flux above background [count]
379
+ #FLUX_EFF_DISK Effective disk flux above background [count]
380
+ #FLUX_MEAN_DISK Mean effective disk flux above background [count]
381
+ #MU_MAX_DISK Peak disk surface brightness above background [mag * arcsec**(-2)]
382
+ #MU_EFF_DISK Effective disk surface brightness above background [mag * arcsec**(-2)]
383
+ #MU_MEAN_DISK Mean effective disk surface brightness above background [mag * arcsec**(-2)]
384
+ #DISK_SCALE_IMAGE Disk scalelength from fitting [pixel]
385
+ #DISK_SCALEERR_IMAGE RMS error on fitted disk scalelength [pixel]
386
+ #DISK_SCALE_WORLD Disk scalelength from fitting (world coords) [deg]
387
+ #DISK_SCALEERR_WORLD RMS error on fitted disk scalelength (world coords) [deg]
388
+ #DISK_ASPECT_IMAGE Disk aspect ratio from fitting
389
+ #DISK_ASPECTERR_IMAGE RMS error on fitted disk aspect ratio
390
+ #DISK_ASPECT_WORLD Disk aspect ratio from fitting
391
+ #DISK_ASPECTERR_WORLD RMS error on disk aspect ratio
392
+ #DISK_INCLINATION Disk inclination from fitting [deg]
393
+ #DISK_INCLINATIONERR RMS error on disk inclination from fitting [deg]
394
+ #DISK_THETA_IMAGE Disk position angle (CCW/x) from fitting [deg]
395
+ #DISK_THETAERR_IMAGE RMS error on fitted disk position angle [deg]
396
+ #DISK_THETA_WORLD Disk position angle (CCW/world-x) [deg]
397
+ #DISK_THETAERR_WORLD RMS error on disk position angle [deg]
398
+ #DISK_THETA_SKY Disk position angle (east of north, native) [deg]
399
+ #DISK_THETA_J2000 Disk position angle (east of north, J2000) [deg]
400
+ #DISK_THETA_B1950 Disk position angle (east of north, B1950) [deg]
@@ -0,0 +1,8 @@
1
+ CONV NORM
2
+ # 5x5 convolution mask of a gaussian PSF with FWHM = 2.5 pixels.
3
+ 0.034673 0.119131 0.179633 0.119131 0.034673
4
+ 0.119131 0.409323 0.617200 0.409323 0.119131
5
+ 0.179633 0.617200 0.930649 0.617200 0.179633
6
+ 0.119131 0.409323 0.617200 0.409323 0.119131
7
+ 0.034673 0.119131 0.179633 0.119131 0.034673
8
+
@@ -0,0 +1,78 @@
1
+ # Default configuration file for SExtractor 2.28.0
2
+ # EB 2024-09-21
3
+ #
4
+
5
+ #-------------------------------- Catalog ------------------------------------
6
+
7
+ CATALOG_NAME test.cat # name of the output catalog
8
+ CATALOG_TYPE ASCII_HEAD # NONE,ASCII,ASCII_HEAD, ASCII_SKYCAT,
9
+ # ASCII_VOTABLE, FITS_1.0 or FITS_LDAC
10
+ PARAMETERS_NAME paper_2_sizemass/sextractor_stuff/default.param # name of the file containing catalog contents
11
+
12
+ #------------------------------- Extraction ----------------------------------
13
+
14
+ DETECT_TYPE CCD # CCD (linear) or PHOTO (with gamma correction)
15
+ DETECT_MINAREA 6 # min. # of pixels above threshold, 5 good for now, adapt if we want fainter objects
16
+ DETECT_THRESH 1.5 # <sigmas> or <threshold>,<ZP> in mag.arcsec-2
17
+ ANALYSIS_THRESH 1.5 # <sigmas> or <threshold>,<ZP> in mag.arcsec-2 just for detecting stars, just don't think about it
18
+
19
+ FILTER Y # apply filter for detection (Y or N)?
20
+ FILTER_NAME paper_2_sizemass/sextractor_stuff/gauss_2.5_5x5.conv # name of the file containing the filter, changed from default.conv (can just include the whole file tree, i have to download this one)
21
+
22
+ DEBLEND_NTHRESH 32 # Number of deblending sub-thresholds
23
+ DEBLEND_MINCONT 0.0001 # Minimum contrast parameter for deblending
24
+
25
+ CLEAN Y # Clean spurious detections? (Y or N)?
26
+ CLEAN_PARAM 1.0 # Cleaning efficiency
27
+
28
+ MASK_TYPE CORRECT # type of detection MASKing: can be one of
29
+ # NONE, BLANK or CORRECT
30
+
31
+ #------------------------------ Photometry -----------------------------------
32
+
33
+ PHOT_APERTURES 11.66 # MAG_APER aperture diameter(s) in pixels
34
+ PHOT_AUTOPARAMS 2.5, 3.5 # MAG_AUTO parameters: <Kron_fact>,<min_radius>
35
+ PHOT_PETROPARAMS 2.0, 3.5 # MAG_PETRO parameters: <Petrosian_fact>,
36
+ # <min_radius>
37
+
38
+ SATUR_LEVEL 50000.0 # level (in ADUs) at which arises saturation
39
+ SATUR_KEY SATURATE # keyword for saturation level (in ADUs)
40
+
41
+ MAG_ZEROPOINT 23.9 # magnitude zero-point
42
+ MAG_GAMMA 4.0 # gamma of emulsion (for photographic scans)
43
+ GAIN 0.0 # detector gain in e-/ADU
44
+ GAIN_KEY GAIN # keyword for detector gain in e-/ADU
45
+ PIXEL_SCALE 0.03 # size of pixel in arcsec (0=use FITS WCS info)
46
+
47
+ #------------------------- Star/Galaxy Separation ----------------------------
48
+
49
+ SEEING_FWHM 0.08 # stellar FWHM in arcsec
50
+ STARNNW_NAME default.nnw # Neural-Network_Weight table filename
51
+
52
+ #------------------------------ Background -----------------------------------
53
+
54
+ BACK_SIZE 64 # Background mesh: <size> or <width>,<height>, should be bigger than the biggest object in the image
55
+ BACK_FILTERSIZE 3 # Background filter: <size> or <width>,<height>
56
+
57
+ BACKPHOTO_TYPE GLOBAL # can be GLOBAL or LOCAL
58
+
59
+ #------------------------------ Check Image ----------------------------------
60
+
61
+ CHECKIMAGE_TYPE SEGMENTATION # can be NONE, BACKGROUND, BACKGROUND_RMS,
62
+ # MINIBACKGROUND, MINIBACK_RMS, -BACKGROUND,
63
+ # FILTERED, OBJECTS, -OBJECTS, SEGMENTATION,
64
+ # or APERTURES
65
+ CHECKIMAGE_NAME check.fits # Filename for the check-image
66
+
67
+ #--------------------- Memory (change with caution!) -------------------------
68
+
69
+ MEMORY_OBJSTACK 3000 # number of objects in stack
70
+ MEMORY_PIXSTACK 300000 # number of pixels in stack
71
+ MEMORY_BUFSIZE 1024 # number of lines in buffer
72
+
73
+ #----------------------------- Miscellaneous ---------------------------------
74
+
75
+ VERBOSE_TYPE NORMAL # can be QUIET, NORMAL or FULL
76
+ HEADER_SUFFIX .head # Filename extension for additional headers
77
+ WRITE_XML N # Write XML file (Y/N)?
78
+ XML_NAME sex.xml # Filename for XML output
@@ -0,0 +1,3 @@
1
+ from .fit import fit
2
+ from .fit_catalogue import fitCatalogue
3
+