-
Notifications
You must be signed in to change notification settings - Fork 0
/
unit_asteroid.lfm
396 lines (396 loc) · 9.49 KB
/
unit_asteroid.lfm
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
object form_asteroids1: Tform_asteroids1
Left = 98
Height = 415
Top = 181
Width = 596
Caption = 'Annotation of asteroids and comets'
ClientHeight = 415
ClientWidth = 596
KeyPreview = True
OnClose = FormClose
OnKeyPress = FormKeyPress
OnShow = FormShow
Position = poScreenCenter
LCLVersion = '2.0.12.0'
object annotate_asteroids1: TButton
Left = 192
Height = 25
Hint = 'Annotate asteroids'
Top = 384
Width = 224
Caption = 'Annotate asteroids && comets'
OnClick = annotate_asteroids1Click
TabOrder = 0
end
object cancel_button1: TButton
Left = 440
Height = 25
Hint = 'Cancel'
Top = 384
Width = 75
Caption = 'Cancel'
OnClick = cancel_button1Click
TabOrder = 1
end
object help_asteroid_annotation1: TLabel
Cursor = crHandPoint
Left = 541
Height = 30
Hint = 'Help asteroid annotation'
Top = 376
Width = 9
Caption = '?'
Font.Color = clBlue
Font.Height = -21
ParentColor = False
ParentFont = False
ParentShowHint = False
ShowHint = True
OnClick = help_asteroid_annotation1Click
end
object Group_Box1: TGroupBox
Left = 8
Height = 256
Top = 0
Width = 582
Caption = 'Database'
ClientHeight = 236
ClientWidth = 578
TabOrder = 2
OnClick = Group_Box1Click
object file_to_add1: TButton
Left = 100
Height = 25
Hint = 'Browse and select MPCORB.DAT to use'
Top = 8
Width = 35
AutoSize = True
Caption = '...'
OnClick = file_to_add1Click
ParentFont = False
ParentShowHint = False
ShowHint = True
TabOrder = 0
end
object mpcorb_filedate1: TLabel
Left = 168
Height = 15
Top = 8
Width = 15
Caption = '---'
ParentColor = False
end
object download_mpcorb1: TLabel
Cursor = crHandPoint
Left = 32
Height = 30
Hint = 'Download MPCORB.DAT or CometEls.txt using default browser'
Top = 3
Width = 15
Caption = '⇩'
Font.Color = clBlue
Font.Height = -21
Font.Style = [fsBold]
ParentColor = False
ParentFont = False
ParentShowHint = False
ShowHint = True
OnClick = download_mpcorb1Click
end
object up_to_number1: TLabel
Left = 16
Height = 15
Top = 81
Width = 160
Alignment = taRightJustify
Anchors = [akTop, akRight]
AutoSize = False
Caption = 'Use up to number:'
ParentBidiMode = False
ParentColor = False
end
object max_nr_asteroids1: TEdit
Left = 184
Height = 23
Hint = 'Specify here the number of asteroids to extract.'
Top = 80
Width = 78
TabOrder = 4
Text = '10000'
end
object up_to_magn1: TLabel
Left = 16
Height = 15
Top = 112
Width = 160
Alignment = taRightJustify
Anchors = [akTop, akRight]
AutoSize = False
Caption = 'Use up to magnitude:'
ParentBidiMode = False
ParentColor = False
end
object max_magn_asteroids1: TEdit
Left = 184
Height = 23
Hint = 'Specify here the limiting magnitude for extracting asteroids.'
Top = 112
Width = 64
MaxLength = 4
ParentColor = True
ParentShowHint = False
ShowHint = True
TabOrder = 5
Text = '17'
end
object max_magn_asteroids2: TUpDown
Left = 248
Height = 23
Top = 112
Width = 14
Associate = max_magn_asteroids1
Max = 25
Min = 0
Position = 17
TabOrder = 6
end
object showfullnames1: TCheckBox
Left = 312
Height = 19
Top = 140
Width = 107
Caption = 'Show full names'
Checked = True
State = cbChecked
TabOrder = 10
end
object ColorBox1: TColorBox
Left = 312
Height = 22
Top = 81
Width = 100
DefaultColorColor = clFuchsia
ItemHeight = 16
TabOrder = 7
end
object add_subtitle1: TCheckBox
Left = 312
Height = 19
Hint = 'Add to the bottom of the image date and position.'
Top = 188
Width = 120
Caption = 'Add image subtitle'
Checked = True
ParentShowHint = False
ShowHint = True
State = cbChecked
TabOrder = 12
end
object add_annotations1: TCheckBox
Left = 312
Height = 19
Hint = 'The asteroids will be marked by annotions in the header and preserved if saved. The annotations can be used later to manual stack the images later to visualise very faint asteroids.'
Top = 212
Width = 219
Caption = 'Add as annotations to the FITS header'
ParentShowHint = False
ShowHint = True
TabOrder = 13
end
object file_to_add2: TButton
Left = 100
Height = 25
Hint = 'Browse and select MPCORB.DAT to use'
Top = 40
Width = 35
AutoSize = True
Caption = '...'
OnClick = file_to_add2Click
ParentFont = False
ParentShowHint = False
ShowHint = True
TabOrder = 2
end
object mpcorb_filedate2: TLabel
Left = 168
Height = 15
Top = 40
Width = 15
Caption = '---'
ParentColor = False
end
object mpcorb_path2: TLabel
Left = 312
Height = 15
Hint = 'Path to CometEls.txt file'
Top = 40
Width = 67
Caption = 'CometEls.txt'
ParentColor = False
end
object showmagnitude1: TCheckBox
Left = 312
Height = 19
Top = 164
Width = 110
Caption = 'Show magnitude'
TabOrder = 11
end
object mpcorb_path1: TLabel
Left = 312
Height = 15
Hint = 'Path to MPCORB.DAT file'
Top = 8
Width = 73
Caption = 'MPCORB.DAT'
ParentColor = False
end
object BitBtn1: TBitBtn
Left = 136
Height = 24
Hint = 'Clear and disable'
Top = 8
Width = 24
Images = mainwindow.ImageList1
ImageIndex = 3
OnClick = BitBtn1Click
ParentShowHint = False
ShowHint = True
TabOrder = 1
end
object BitBtn2: TBitBtn
Left = 136
Height = 24
Hint = 'Clear and disable'
Top = 40
Width = 24
Images = mainwindow.ImageList1
ImageIndex = 3
OnClick = BitBtn2Click
ParentShowHint = False
ShowHint = True
TabOrder = 3
end
object annotation_size1: TEdit
Left = 424
Height = 23
Hint = 'Annotation diameter. For diameter 5 or smaller, two lines will be used for annotation. Comets annotations are five times larger.'
Top = 80
Width = 48
MaxLength = 4
ParentColor = True
ParentShowHint = False
ShowHint = True
TabOrder = 14
Text = '40'
end
object annotation_size2: TUpDown
Left = 472
Height = 23
Top = 80
Width = 14
Associate = annotation_size1
Increment = 2
Max = 500
Min = 2
Position = 40
TabOrder = 8
end
object font_follows_diameter1: TCheckBox
Left = 312
Height = 19
Hint = 'Font and line thickness follow annotation diameter.'
Top = 116
Width = 196
Caption = 'Font follows annotation diameter'
ParentShowHint = False
ShowHint = True
TabOrder = 9
end
end
object Group_Box2: TGroupBox
Left = 8
Height = 122
Top = 256
Width = 584
Caption = 'Image data'
ClientHeight = 102
ClientWidth = 580
TabOrder = 3
object date_obs1: TEdit
Left = 127
Height = 23
Hint = 'Format YYYY-MM-DDTHH:MM:SS.SSS. Timezone 0, universal time'
Top = 8
Width = 249
ParentShowHint = False
ShowHint = True
TabOrder = 0
Text = '2020-02-11T22:10:41.222'
end
object date_label1: TLabel
Left = 64
Height = 15
Top = 8
Width = 57
Anchors = [akTop, akRight]
Caption = 'DATE_OBS:'
ParentColor = False
end
object latitude1: TEdit
Left = 128
Height = 23
Hint = 'The latitude of the observatory in degrees.'
Top = 40
Width = 113
OnChange = latitude1Change
ParentShowHint = False
ShowHint = True
TabOrder = 1
Text = '0'
end
object Label2: TLabel
Left = 75
Height = 15
Top = 40
Width = 46
Anchors = [akTop, akRight]
Caption = 'Latitude:'
ParentColor = False
end
object Label3: TLabel
Left = 64
Height = 15
Top = 72
Width = 57
Anchors = [akTop, akRight]
Caption = 'Longitude:'
ParentColor = False
end
object longitude1: TEdit
Left = 127
Height = 23
Hint = 'The longitude of the observatory in degrees. For east enter positive, for west enter negative values.'
Top = 72
Width = 113
OnChange = longitude1Change
ParentShowHint = False
ShowHint = True
TabOrder = 2
Text = '0'
end
object label_start_mid1: TLabel
Left = 384
Height = 15
Top = 8
Width = 123
Caption = 'Start of the observation'
ParentColor = False
end
end
object OpenDialog1: TOpenDialog
Title = 'Open an existing file'
Left = 32
Top = 288
end
end