0810.1179/DataAnalysis/DataAnalysisFigs/online_algo.eps
1: %!PS-Adobe-2.0 EPSF-2.0
2: %%Title: C:\doc\msok\phd\diagrams\online_algo.dia
3: %%Creator: Dia v0.95-1
4: %%CreationDate: Thu May 10 22:40:40 2007
5: %%For: msok
6: %%Orientation: Portrait
7: %%Magnification: 1.0000
8: %%BoundingBox: 0 0 780 1178
9: %%BeginSetup
10: %%EndSetup
11: %%EndComments
12: %%BeginProlog
13: [ /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef
14: /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef
15: /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef
16: /.notdef /.notdef /space /exclam /quotedbl /numbersign /dollar /percent /ampersand /quoteright
17: /parenleft /parenright /asterisk /plus /comma /hyphen /period /slash /zero /one
18: /two /three /four /five /six /seven /eight /nine /colon /semicolon
19: /less /equal /greater /question /at /A /B /C /D /E
20: /F /G /H /I /J /K /L /M /N /O
21: /P /Q /R /S /T /U /V /W /X /Y
22: /Z /bracketleft /backslash /bracketright /asciicircum /underscore /quoteleft /a /b /c
23: /d /e /f /g /h /i /j /k /l /m
24: /n /o /p /q /r /s /t /u /v /w
25: /x /y /z /braceleft /bar /braceright /asciitilde /.notdef /.notdef /.notdef
26: /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef
27: /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef
28: /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef
29: /space /exclamdown /cent /sterling /currency /yen /brokenbar /section /dieresis /copyright
30: /ordfeminine /guillemotleft /logicalnot /hyphen /registered /macron /degree /plusminus /twosuperior /threesuperior
31: /acute /mu /paragraph /periodcentered /cedilla /onesuperior /ordmasculine /guillemotright /onequarter /onehalf
32: /threequarters /questiondown /Agrave /Aacute /Acircumflex /Atilde /Adieresis /Aring /AE /Ccedilla
33: /Egrave /Eacute /Ecircumflex /Edieresis /Igrave /Iacute /Icircumflex /Idieresis /Eth /Ntilde
34: /Ograve /Oacute /Ocircumflex /Otilde /Odieresis /multiply /Oslash /Ugrave /Uacute /Ucircumflex
35: /Udieresis /Yacute /Thorn /germandbls /agrave /aacute /acircumflex /atilde /adieresis /aring
36: /ae /ccedilla /egrave /eacute /ecircumflex /edieresis /igrave /iacute /icircumflex /idieresis
37: /eth /ntilde /ograve /oacute /ocircumflex /otilde /odieresis /divide /oslash /ugrave
38: /uacute /ucircumflex /udieresis /yacute /thorn /ydieresis] /isolatin1encoding exch def
39: /cp {closepath} bind def
40: /c {curveto} bind def
41: /f {fill} bind def
42: /a {arc} bind def
43: /ef {eofill} bind def
44: /ex {exch} bind def
45: /gr {grestore} bind def
46: /gs {gsave} bind def
47: /sa {save} bind def
48: /rs {restore} bind def
49: /l {lineto} bind def
50: /m {moveto} bind def
51: /rm {rmoveto} bind def
52: /n {newpath} bind def
53: /s {stroke} bind def
54: /sh {show} bind def
55: /slc {setlinecap} bind def
56: /slj {setlinejoin} bind def
57: /slw {setlinewidth} bind def
58: /srgb {setrgbcolor} bind def
59: /rot {rotate} bind def
60: /sc {scale} bind def
61: /sd {setdash} bind def
62: /ff {findfont} bind def
63: /sf {setfont} bind def
64: /scf {scalefont} bind def
65: /sw {stringwidth pop} bind def
66: /tr {translate} bind def
67: 
68: /ellipsedict 8 dict def
69: ellipsedict /mtrx matrix put
70: /ellipse
71: { ellipsedict begin
72:    /endangle exch def
73:    /startangle exch def
74:    /yrad exch def
75:    /xrad exch def
76:    /y exch def
77:    /x exch def   /savematrix mtrx currentmatrix def
78:    x y tr xrad yrad sc
79:    0 0 1 startangle endangle arc
80:    savematrix setmatrix
81:    end
82: } def
83: 
84: /mergeprocs {
85: dup length
86: 3 -1 roll
87: dup
88: length
89: dup
90: 5 1 roll
91: 3 -1 roll
92: add
93: array cvx
94: dup
95: 3 -1 roll
96: 0 exch
97: putinterval
98: dup
99: 4 2 roll
100: putinterval
101: } bind def
102: /Times-Roman-latin1
103:     /Times-Roman findfont
104:     dup length dict begin
105: 	{1 index /FID ne {def} {pop pop} ifelse} forall
106: 	/Encoding isolatin1encoding def
107:     currentdict end
108: definefont pop
109: /Times-Italic-latin1
110:     /Times-Italic findfont
111:     dup length dict begin
112: 	{1 index /FID ne {def} {pop pop} ifelse} forall
113: 	/Encoding isolatin1encoding def
114:     currentdict end
115: definefont pop
116: /Times-Bold-latin1
117:     /Times-Bold findfont
118:     dup length dict begin
119: 	{1 index /FID ne {def} {pop pop} ifelse} forall
120: 	/Encoding isolatin1encoding def
121:     currentdict end
122: definefont pop
123: /Times-BoldItalic-latin1
124:     /Times-BoldItalic findfont
125:     dup length dict begin
126: 	{1 index /FID ne {def} {pop pop} ifelse} forall
127: 	/Encoding isolatin1encoding def
128:     currentdict end
129: definefont pop
130: /AvantGarde-Book-latin1
131:     /AvantGarde-Book findfont
132:     dup length dict begin
133: 	{1 index /FID ne {def} {pop pop} ifelse} forall
134: 	/Encoding isolatin1encoding def
135:     currentdict end
136: definefont pop
137: /AvantGarde-BookOblique-latin1
138:     /AvantGarde-BookOblique findfont
139:     dup length dict begin
140: 	{1 index /FID ne {def} {pop pop} ifelse} forall
141: 	/Encoding isolatin1encoding def
142:     currentdict end
143: definefont pop
144: /AvantGarde-Demi-latin1
145:     /AvantGarde-Demi findfont
146:     dup length dict begin
147: 	{1 index /FID ne {def} {pop pop} ifelse} forall
148: 	/Encoding isolatin1encoding def
149:     currentdict end
150: definefont pop
151: /AvantGarde-DemiOblique-latin1
152:     /AvantGarde-DemiOblique findfont
153:     dup length dict begin
154: 	{1 index /FID ne {def} {pop pop} ifelse} forall
155: 	/Encoding isolatin1encoding def
156:     currentdict end
157: definefont pop
158: /Bookman-Light-latin1
159:     /Bookman-Light findfont
160:     dup length dict begin
161: 	{1 index /FID ne {def} {pop pop} ifelse} forall
162: 	/Encoding isolatin1encoding def
163:     currentdict end
164: definefont pop
165: /Bookman-LightItalic-latin1
166:     /Bookman-LightItalic findfont
167:     dup length dict begin
168: 	{1 index /FID ne {def} {pop pop} ifelse} forall
169: 	/Encoding isolatin1encoding def
170:     currentdict end
171: definefont pop
172: /Bookman-Demi-latin1
173:     /Bookman-Demi findfont
174:     dup length dict begin
175: 	{1 index /FID ne {def} {pop pop} ifelse} forall
176: 	/Encoding isolatin1encoding def
177:     currentdict end
178: definefont pop
179: /Bookman-DemiItalic-latin1
180:     /Bookman-DemiItalic findfont
181:     dup length dict begin
182: 	{1 index /FID ne {def} {pop pop} ifelse} forall
183: 	/Encoding isolatin1encoding def
184:     currentdict end
185: definefont pop
186: /Courier-latin1
187:     /Courier findfont
188:     dup length dict begin
189: 	{1 index /FID ne {def} {pop pop} ifelse} forall
190: 	/Encoding isolatin1encoding def
191:     currentdict end
192: definefont pop
193: /Courier-Oblique-latin1
194:     /Courier-Oblique findfont
195:     dup length dict begin
196: 	{1 index /FID ne {def} {pop pop} ifelse} forall
197: 	/Encoding isolatin1encoding def
198:     currentdict end
199: definefont pop
200: /Courier-Bold-latin1
201:     /Courier-Bold findfont
202:     dup length dict begin
203: 	{1 index /FID ne {def} {pop pop} ifelse} forall
204: 	/Encoding isolatin1encoding def
205:     currentdict end
206: definefont pop
207: /Courier-BoldOblique-latin1
208:     /Courier-BoldOblique findfont
209:     dup length dict begin
210: 	{1 index /FID ne {def} {pop pop} ifelse} forall
211: 	/Encoding isolatin1encoding def
212:     currentdict end
213: definefont pop
214: /Helvetica-latin1
215:     /Helvetica findfont
216:     dup length dict begin
217: 	{1 index /FID ne {def} {pop pop} ifelse} forall
218: 	/Encoding isolatin1encoding def
219:     currentdict end
220: definefont pop
221: /Helvetica-Oblique-latin1
222:     /Helvetica-Oblique findfont
223:     dup length dict begin
224: 	{1 index /FID ne {def} {pop pop} ifelse} forall
225: 	/Encoding isolatin1encoding def
226:     currentdict end
227: definefont pop
228: /Helvetica-Bold-latin1
229:     /Helvetica-Bold findfont
230:     dup length dict begin
231: 	{1 index /FID ne {def} {pop pop} ifelse} forall
232: 	/Encoding isolatin1encoding def
233:     currentdict end
234: definefont pop
235: /Helvetica-BoldOblique-latin1
236:     /Helvetica-BoldOblique findfont
237:     dup length dict begin
238: 	{1 index /FID ne {def} {pop pop} ifelse} forall
239: 	/Encoding isolatin1encoding def
240:     currentdict end
241: definefont pop
242: /Helvetica-Narrow-latin1
243:     /Helvetica-Narrow findfont
244:     dup length dict begin
245: 	{1 index /FID ne {def} {pop pop} ifelse} forall
246: 	/Encoding isolatin1encoding def
247:     currentdict end
248: definefont pop
249: /Helvetica-Narrow-Oblique-latin1
250:     /Helvetica-Narrow-Oblique findfont
251:     dup length dict begin
252: 	{1 index /FID ne {def} {pop pop} ifelse} forall
253: 	/Encoding isolatin1encoding def
254:     currentdict end
255: definefont pop
256: /Helvetica-Narrow-Bold-latin1
257:     /Helvetica-Narrow-Bold findfont
258:     dup length dict begin
259: 	{1 index /FID ne {def} {pop pop} ifelse} forall
260: 	/Encoding isolatin1encoding def
261:     currentdict end
262: definefont pop
263: /Helvetica-Narrow-BoldOblique-latin1
264:     /Helvetica-Narrow-BoldOblique findfont
265:     dup length dict begin
266: 	{1 index /FID ne {def} {pop pop} ifelse} forall
267: 	/Encoding isolatin1encoding def
268:     currentdict end
269: definefont pop
270: /NewCenturySchoolbook-Roman-latin1
271:     /NewCenturySchoolbook-Roman findfont
272:     dup length dict begin
273: 	{1 index /FID ne {def} {pop pop} ifelse} forall
274: 	/Encoding isolatin1encoding def
275:     currentdict end
276: definefont pop
277: /NewCenturySchoolbook-Italic-latin1
278:     /NewCenturySchoolbook-Italic findfont
279:     dup length dict begin
280: 	{1 index /FID ne {def} {pop pop} ifelse} forall
281: 	/Encoding isolatin1encoding def
282:     currentdict end
283: definefont pop
284: /NewCenturySchoolbook-Bold-latin1
285:     /NewCenturySchoolbook-Bold findfont
286:     dup length dict begin
287: 	{1 index /FID ne {def} {pop pop} ifelse} forall
288: 	/Encoding isolatin1encoding def
289:     currentdict end
290: definefont pop
291: /NewCenturySchoolbook-BoldItalic-latin1
292:     /NewCenturySchoolbook-BoldItalic findfont
293:     dup length dict begin
294: 	{1 index /FID ne {def} {pop pop} ifelse} forall
295: 	/Encoding isolatin1encoding def
296:     currentdict end
297: definefont pop
298: /Palatino-Roman-latin1
299:     /Palatino-Roman findfont
300:     dup length dict begin
301: 	{1 index /FID ne {def} {pop pop} ifelse} forall
302: 	/Encoding isolatin1encoding def
303:     currentdict end
304: definefont pop
305: /Palatino-Italic-latin1
306:     /Palatino-Italic findfont
307:     dup length dict begin
308: 	{1 index /FID ne {def} {pop pop} ifelse} forall
309: 	/Encoding isolatin1encoding def
310:     currentdict end
311: definefont pop
312: /Palatino-Bold-latin1
313:     /Palatino-Bold findfont
314:     dup length dict begin
315: 	{1 index /FID ne {def} {pop pop} ifelse} forall
316: 	/Encoding isolatin1encoding def
317:     currentdict end
318: definefont pop
319: /Palatino-BoldItalic-latin1
320:     /Palatino-BoldItalic findfont
321:     dup length dict begin
322: 	{1 index /FID ne {def} {pop pop} ifelse} forall
323: 	/Encoding isolatin1encoding def
324:     currentdict end
325: definefont pop
326: /Symbol-latin1
327:     /Symbol findfont
328: definefont pop
329: /ZapfChancery-MediumItalic-latin1
330:     /ZapfChancery-MediumItalic findfont
331:     dup length dict begin
332: 	{1 index /FID ne {def} {pop pop} ifelse} forall
333: 	/Encoding isolatin1encoding def
334:     currentdict end
335: definefont pop
336: /ZapfDingbats-latin1
337:     /ZapfDingbats findfont
338:     dup length dict begin
339: 	{1 index /FID ne {def} {pop pop} ifelse} forall
340: 	/Encoding isolatin1encoding def
341:     currentdict end
342: definefont pop
343: 28.346000 -28.346000 scale
344: -8.273240 -40.040200 translate
345: %%EndProlog
346: 
347: 
348: 1.000000 1.000000 1.000000 srgb
349: n 16.913900 -1.455820 m 16.913900 1.244180 l 27.113900 1.244180 l 27.113900 -1.455820 l f
350: 0.100000 slw
351: [] 0 sd
352: [] 0 sd
353: 0 slj
354: 0.000000 0.000000 0.000000 srgb
355: n 16.913900 -1.455820 m 16.913900 1.244180 l 27.113900 1.244180 l 27.113900 -1.455820 l cp s
356: /Helvetica-latin1 ff 0.560000 scf sf
357: (Calculate filtered image ) dup sw 2 div 22.013900 ex sub -0.205820 m gs 1 -1 sc sh gr
358: (\( called since now L image \)) dup sw 2 div 22.013900 ex sub 0.594180 m gs 1 -1 sc sh gr
359: 1.000000 1.000000 1.000000 srgb
360: n 9.701790 8.397920 m 9.701790 25.497920 l 34.301790 25.497920 l 34.301790 8.397920 l f
361: 0.100000 slw
362: [] 0 sd
363: [] 0 sd
364: 0 slj
365: 0.000000 0.000000 0.000000 srgb
366: n 9.701790 8.397920 m 9.701790 25.497920 l 34.301790 25.497920 l 34.301790 8.397920 l cp s
367: /Helvetica-latin1 ff 0.560000 scf sf
368: (Camera 1 analysis :) dup sw 2 div 22.001790 ex sub 10.047920 m gs 1 -1 sc sh gr
369: (Apply subsequent cuts described in the text of the section ) dup sw 2 div 22.001790 ex sub 10.847920 m gs 1 -1 sc sh gr
370: (Basically these are :) dup sw 2 div 22.001790 ex sub 11.647920 m gs 1 -1 sc sh gr
371: (1/ Tn cut \( stars selection \)) dup sw 2 div 22.001790 ex sub 13.247920 m gs 1 -1 sc sh gr
372: (2/ Tv cut \( constant stars rejection \)) dup sw 2 div 22.001790 ex sub 14.047920 m gs 1 -1 sc sh gr
373: (3/ Rejection of saturated pixels) dup sw 2 div 22.001790 ex sub 14.847920 m gs 1 -1 sc sh gr
374: (4/ MinLaplaceOnPrev cut \( rejection of stars edges \)) dup sw 2 div 22.001790 ex sub 15.647920 m gs 1 -1 sc sh gr
375: (5/ IfMore cut : rejection of all nearby event if to many ) dup sw 2 div 22.001790 ex sub 16.447920 m gs 1 -1 sc sh gr
376: (6/ Rejection of whole image if too many events at this level) dup sw 2 div 22.001790 ex sub 17.247920 m gs 1 -1 sc sh gr
377: (7/ Local Maximum cut) dup sw 2 div 22.001790 ex sub 18.047920 m gs 1 -1 sc sh gr
378: (8/ Rejection of overlaping events) dup sw 2 div 22.001790 ex sub 18.847920 m gs 1 -1 sc sh gr
379: (9/ Black pixels cut) dup sw 2 div 22.001790 ex sub 19.647920 m gs 1 -1 sc sh gr
380: (10/ hot pixels cut) dup sw 2 div 22.001790 ex sub 20.447920 m gs 1 -1 sc sh gr
381: (11/ check tracks on single camera events \( if required \)) dup sw 2 div 22.001790 ex sub 21.247920 m gs 1 -1 sc sh gr
382: (Add resulting events to list of events from single camera.) dup sw 2 div 22.001790 ex sub 22.847920 m gs 1 -1 sc sh gr
383: (Dump list of events from single camera to log file \( optionally also to DB \)) dup sw 2 div 22.001790 ex sub 23.647920 m gs 1 -1 sc sh gr
384: (Same steps as above are done for other camera) dup sw 2 div 22.001790 ex sub 24.447920 m gs 1 -1 sc sh gr
385: 1.000000 1.000000 1.000000 srgb
386: n 10.065100 27.690200 m 10.065100 39.990200 l 33.965100 39.990200 l 33.965100 27.690200 l f
387: 0.100000 slw
388: [] 0 sd
389: [] 0 sd
390: 0 slj
391: 0.000000 0.000000 0.000000 srgb
392: n 10.065100 27.690200 m 10.065100 39.990200 l 33.965100 39.990200 l 33.965100 27.690200 l cp s
393: /Helvetica-latin1 ff 0.560000 scf sf
394: (Check concidence of events from events lists from ) dup sw 2 div 22.015100 ex sub 28.940200 m gs 1 -1 sc sh gr
395: (k2a and k2b camera.) dup sw 2 div 22.015100 ex sub 29.740200 m gs 1 -1 sc sh gr
396: (Conciding events are mostly of astrophysical origin,) dup sw 2 div 22.015100 ex sub 30.540200 m gs 1 -1 sc sh gr
397: (following subsequent checks are done :) dup sw 2 div 22.015100 ex sub 31.340200 m gs 1 -1 sc sh gr
398: (1/ rejection of satellites from orbital elements catalog                 ) dup sw 2 div 22.015100 ex sub 32.940200 m gs 1 -1 sc sh gr
399: (2/ rejection of constant stars according to own catalog              ) dup sw 2 div 22.015100 ex sub 33.740200 m gs 1 -1 sc sh gr
400: (3/ track check - in case events line on streight line they            ) dup sw 2 div 22.015100 ex sub 34.540200 m gs 1 -1 sc sh gr
401: (are all rejected \( by default 200 back images are considered \)) dup sw 2 div 22.015100 ex sub 35.340200 m gs 1 -1 sc sh gr
402: (All events accepted by the concidence are dumped to separate log file ) dup sw 2 div 22.015100 ex sub 36.940200 m gs 1 -1 sc sh gr
403: (verifiedevents_N.log \( optionally to DB \)) dup sw 2 div 22.015100 ex sub 37.740200 m gs 1 -1 sc sh gr
404: (Events accepeted after step 3/ are saved to finalevents_N.log and ) dup sw 2 div 22.015100 ex sub 38.540200 m gs 1 -1 sc sh gr
405: (also to database) dup sw 2 div 22.015100 ex sub 39.340200 m gs 1 -1 sc sh gr
406: 1.000000 1.000000 1.000000 srgb
407: n 8.323240 2.921910 m 8.323240 6.421910 l 35.723240 6.421910 l 35.723240 2.921910 l f
408: 0.100000 slw
409: [] 0 sd
410: [] 0 sd
411: 0 slj
412: 0.000000 0.000000 0.000000 srgb
413: n 8.323240 2.921910 m 8.323240 6.421910 l 35.723240 6.421910 l 35.723240 2.921910 l cp s
414: /Helvetica-latin1 ff 0.560000 scf sf
415: (OPTIONALLY - ONLY IF CONFIRMATION IN THE NEXT IMAGE IS REQUESTED) dup sw 2 div 22.023240 ex sub 4.171910 m gs 1 -1 sc sh gr
416: (Check all events found on previous image, verify if there is signal ) dup sw 2 div 22.023240 ex sub 4.971910 m gs 1 -1 sc sh gr
417: (on next image) dup sw 2 div 22.023240 ex sub 5.771910 m gs 1 -1 sc sh gr
418: 0.100000 slw
419: [] 0 sd
420: [] 0 sd
421: 0 slj
422: 0 slc
423: n 22.013900 1.244180 m 22.013900 2.083045 l 22.023240 2.083045 l 22.023240 2.371910 l s
424: 0 slj
425: n 21.773240 2.371910 m 22.023240 2.871910 l 22.273240 2.371910 l ef
426: 0.100000 slw
427: [] 0 sd
428: [] 0 sd
429: 0 slj
430: 0 slc
431: n 22.023240 6.421910 m 22.023240 7.409915 l 22.001790 7.409915 l 22.001790 7.847920 l s
432: 0 slj
433: n 21.751790 7.847920 m 22.001790 8.347920 l 22.251790 7.847920 l ef
434: 0.100000 slw
435: [] 0 sd
436: [] 0 sd
437: 0 slj
438: 0 slc
439: n 22.001800 25.497900 m 22.001800 26.568900 l 22.015100 26.568900 l 22.015100 27.089800 l s
440: 0 slj
441: n 21.765100 27.089800 m 22.015100 27.589800 l 22.265100 27.089800 l ef
442: showpage
443: