-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathChangeLog
3254 lines (2575 loc) · 118 KB
/
ChangeLog
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
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
2020-02-18 bmiller
* Added filters
GMOS-N: ri, OVI, OVIC
GMOS-S: OVI, OVIC
* Documentation updates
2020-02-14 bmiller
* VERSION
Pushed version number to 1.5.2
* Updated install.sh for compilation on MacOS 10.15 (Catalina)
2018-12-18 bmiller
* VERSION
Pushed version number to 1.5.1
* Updated documentation
2018-12-03 bmiller
* VERSION
Pushed version number to 1.5.0
* install.sh, tarfiles/*, INSTALL.TXT, related help files
Include tcltk and skycat sources, these are built first when compiling
2018-11-30 bmiller
* src/vmAstroCat.tcl, gmmps_spoc.tcl, waveMapper.tcl, Makefile*, SkyCat_plugin.tcl
* removed src/gmmps_throughput.py
Make throughput plot with BLT instead of matplotlib
2018-11-16 bmiller, mhoenig
* src/vmAstroCat.tcl, install.sh, scripts/locate_libs.sh
Fixed problems with opening help pages in a browser on Mac, support skycat 3.1.4
* scripts/version_check.sh and related help pages
Replace wget with curl
2018-02-12 bmiller
* VERSION
Pushed version number to 1.4.6
* src/gmmps_spoc.tcl, scripts/build_gmmps, build_gmmps.sh
Force LANG=en_US.UTF-8, improvements for typing in text box issues
2017-10-24 mischa <mischa@lab>
* VERSION
Pushed version number to 1.4.5
* scripts/version_check.sh
Making the user acknowledge when a new version is found
on the server.
2017-10-23 mischa <mischa@lab>
* install.sh, scripts/check_libraries.sh
Cleaned up, updated.
* src/gmmps_spoc.tcl
Slit expansion is still buggy in gmMakeMasks.cc when in
band-shuffling mode. I thought that was fixed, but I just
found a case where a slit was expanded nonetheless into the
storage bands. I'll deactivate it for band-shuffling mode.
* src/vmAstroCat.tcl, src/gmmps_spoc.tcl
Made code compatible for future F2-AO mode
2017-10-18 mischa <mischa@lab>
* src/vmAstroCat.tcl
Removed support to create new masks based on old pseudo-images.
ODFs created previously for old pseudo-images can still be visualized
for legacy reasons, but new mask designs based on old pseudo-image
transformations are not permitted anymore.
2017-10-17 mischa <mischa@lab>
* src/waveMapper.tcl
Reformatting, code simplifications, adjustment of color scheme,
removal of R831 in 2nd order (which was never measured in this
context).
* src/vmAstroCat.tcl
Reformatting, code simplifications, font adjustments.
Removed the alternative detector overlay, which was hardly ever
used (I guess) and just bloated the code.
2017-10-10 mischa <mischa@lab>
* install.sh
Updated several install scripts, to accomodate recent skycat 3.1.3
release, and the fact that debian/Ubuntu now come with their
own skycat implementations (which don't require Tcl/Tk8.4 anymore)
* wavemaps/GMOS-S.fits
Updated with 4 bad columns
* src/waveMapper.tcl
Fixed the wavelength transformations for GMOS-N.
Had to hardcode the old E2VDD pixel scale for 2x2 binning to
properly calculate positions / wavelengths with the Hamamatsus.
2017-07-15 mischa <mischa@greenbean>
* gemwm/gemwm.cc
* src/gmMakeMasks.cc
* src/gmmps_fov.cc
* src/calc_throughput.cc
Fixed potential issues with reading beyond end of files,
classical C++ pitfall with file streams.
2017-06-20 mischa <mischa@greenbean>
* config/F2-AO_gfcombo.dat
Added Kblue and Kred filters to F2-AO_gfcombo.dat,
and the HK filter as an option to the JH grism.
* gemwm/gemwm.cc
Made an error message more accurate.
* src/vmAstroCat.tcl
Backwards compatibility for F2 masks created with older
versions of GMMPS (mostly F2 MOS commissioning masks)
2017-05-18 mischa <mischa@greenbean>
* VERSION
Pushed version number to 1.4.4
* html
Extensive updates to the documentation.
* scripts/version-check.sh
Reflecting the new source location on software.gemini.edu/gmmps/
2017-05-17 mischa <mischa@greenbean>
* Installation
Collected all installer scripts in scripts/.
Replaced check_skycat.sh, check_tcltk.sh, skycatlibs.sh by
locate_libs.sh
If 'locate' does not find the libraries, the user is
asked to manually provide the skycat and tcltk path names.
* src/vmSkySearch
Stray file, deleted. Not sure why that's been there in first place
since v1.0.4
* src/gmmps_spoc.tcl
* src/vmAstroCat.tcl
Extracting GAIA magnitudes for the acq stars and displaying them
in the ODF info window.
2017-05-14 mischa <mischa@greenbean>
* config/GMOS-N_HAM_fov.dat
Updated vignetted areas and chip gaps based on transparent mask
* src/vmAstroCat.tcl
Catching more nonsensical results from wavelength inversion
for 2nd orders
* html/
Updated documentation
2017-05-07 mischa <mischa@greenbean>
* src/vmAstroCat.tcl
Individual source redshifts were not set to zero when loading
an old ODF without redshift column.
2017-04-26 mischa <mischa@greenbean>
* VERSION
Pushed version number to 1.4.3
Bug fixes for release candidate, and some more features
* src/gmmps_spoc.tcl
Added proper motion check against PPMXL for acq stars
* src/Makefile
Copying get_propermotion.sh and vizquery to bin/
* src/get_propermotion.sh
Does the PPMXL lookup using vizquery
* src/vizquery
Added
* src/vmAstroCat.tcl
Implement corrections for pseudo-images using the old
GMOS-N E2VDD detector format.
* src/waveMapper.tcl
Calculations for GMOS-N were made with E2VDD detectors. Must
transform spatial coordinates to maintain validity for the new
GMOS-N Hamamatsu arrays.
* src/check_skycat.sh
* src/check_tcltk.sh
Using 'locate' before running a lengthy "find"
* src/get_OT_posangle.cc
Fixed a bug for F2. OT angle was not calculated correctly.
* html
Documentation updated
2017-03-29 mischa <mischa@greenbean>
* src/gmmps_spoc.tcl
* src/vmAstroCat.tcl
* src/gmMakeMasks.cc
Further adjustments of hardcoded pixel scales.
2017-03-28 mischa <mischa@greenbean>
* src/gmMakemasks.cc
Locking the ODF PIXSCALE string onto default pixel
scales for odf2mdf.cl (gprepare.cl).
2017-03-27 mischa <mischa@greenbean>
* src/gmmps_spoc.tcl
* src/vmAstroCat.tcl
Accomodating GMOS-N pseudo-images with the old E2V geometry
* src/vmAstroCat.tcl
Changed 'protected' transform_gmos_... methods to 'public'.
They are called from gmmps_spoc.tcl when creating ODFs from OTs.
* config/Detectors.dat
Updated for GMOS-N_HAM
* config/GMOS-N_HAM_fov.dat
Created based on pre-image. Slit placement area still needs to
be checked using the transparent mask.
* src/gmOdf2Cat.c
Removed. Was never used!
* src/gmFits2Cat.c
Renamed from gmConvert2Cat.c
Removed PIXSCALE calculations / pass-through. Handled in GMMPS:
Pseudo-image OT tables may not always contain PIXSCALE keyword,
which broke the code because the old version would put in a default
value of 0.0728, ignoring GMOS-S and F2. One of the reasons why
GMMPS got rid of the PIXSCALE dependence in first place.
* src/Makefile
Updated to reflect changes to gmFits2Cat, and removal of
gmOdf2Convert.c
2017-03-22 mischa <mischa@greenbean>
* src/vmAstroCat.tcl
Showing warning for wavelength defaults for old ODF/MDFs only once.
Do not show order overlap in acq star highlighting mode.
2017-03-08 mischa <mischa@greenbean>
* VERSION
Pushed version number to 1.4.2
This is the release candidate.
* src/Makefile
Included the gemwm compilation.
* html
Documentation updated.
2017-03-07 mischa <mischa@greenbean>
* src/gmMakemasks.cc
Rewrote slit expansion algorithm, was buggy for packed spectra,
overlapping acq star spectra, and also rather inefficient.
Rewrote algorithm to force slits back into science bands, was buggy
and also overly complicated.
* src/gmmps_spoc.tcl
Allow simultanous packing and slit expansion.
Allow slit expansion in band-shuffling mode.
* src/band_def_UI.tcl
Was not initialized correctly and did not push the new
list with global variables through to spoc.
2017-03-06 mischa <mischa@greenbean>
* src/gmMakeMasks.cc
Formerly gmMakemasks_2.cc.
Feeding spectrum start and end from gemwm, calculated externally,
instead of using linear grating equation.
* src/gmmps_spoc.tcl
Using gemwm to calculate spectrum dimensions instead of linear
theory.
* src/create_gemwm_input.sh
Needed to run gemwm to create input for gmMakeMasks.
That was a lesson that once more showed it is not trivial to
extract the catalog information from gmmps if you are in the
wrong position in the code. Required significant rewrite and
restructuring, including passing around more globals.
* src/band_def_UI.tcl
Passing through globals to run gemwm before making ODFs.
* src/gmConvert2Cat.c
* src/gmCat2Fits.c
* src/gmMakeMasks.cc
* src/gmmps_spoc.tcl
* src/vmAstroCat.tcl
Enabling specleft, specright, specbottom, spectop columns in the ODF.
* src/vmAstroCat.tcl
Added backwards compatibility for older ODFs and spectral plots.
Allowing MDFs to be loaded instead of ODFs (using less accurate
wavelength displays)
* src/gmConvert2Cat.c
* src/gmOdf2Cat.c
Removed hardcoded 0.0727 fallback pixel scale. Leave with error instead.
* src/gmmps_spoc.tcl
Forbid simultaneous slit expansion and spectral packing.
2017-03-02 mischa <mischa@greenbean>
* src/vmAstroCat.tcl
* src/gmmps_spoc.tcl
* gemwm/gemwm.cc
Fixed issues with 2nd order overlap, in particular for the R831_2nd
which has less stable mathematical models.
Using the non-linear inversion to predict the beginning of the
overlap that falls within the first order, and then predict the
end based on twice (or half) the length of the first (second)
order spectrum. Much more stable.
* src/vmAstroCat.tcl
Plotting order overlap after plotting everything else,
so that they can stay on top.
Plotting zero order for R150.
* src/gmmps_spoc.tcl
Added option to pack short spectra (default: on).
* html
Documentation updated.
2017-03-01 mischa <mischa@greenbean>
* src/vmAstroCat.tcl
Deactivated 2nd order overlap for F2; uses a grism, therefore
simple order overlap estimates would be too inaccurate. In any
case, configs are fixed for F2.
Changed gap wavelengths from ceil/floor to normal rounding.
Too confusing for B1200 and R831 when cycling through wavelengths.
Capping spec_min/max for R831_2nd because wavelength inversion
is too instable and spectral boxes would not be plotted correctly.
Added a warning about wavelength solutions if displaying the ODF
for the R600 grating.
ODFs for F2 R3000 masks could not overlay wavelength grid due to
a filter string formatting problem.
* gemwm/data/
Added an entry for the R600. For the time being, using a copy
of the B600 coefficients. Should be reasonably accurate and better
than nothing.
* src/gmmps_spoc.tcl
Added a warning if a mask is designed using the R600.
Put the order overlap warning further to the beginning so it
appears a bit more quickly. Made it an "OK Cancel" choice
instead of just approval.
Added a choice dialog for the slit separation if smaller than 4",
instead of just approving it.
Added a choice dialog when using the R150 grating, that warns about
order overlap between spectra in case of packing. Offers the option to
project only a single spectrum per dispersion line.
* gemwm/gemwm.cc
Leaving with an error if F2 grism-filter ID string is not recognized.
2017-02-28 mischa <mischa@greenbean>
* src/gmmps_spoc.tcl
A wiggle amplitude larger than 50% could be sent to gmMakeMasks
if the value was entered manually instead of using the SpinBox
up/down arrows. Added a check that tops it off at 50%.
* html
Updates to the documentation.
Fixed broken links to IFU-2 wavelength maps
* gemwm/gemwm.cc
Changed the 2nd order mode to overplot the full 2nd order box.
Added linear wavelength solution models. Used when converting
wavelengths to detector coordinates for position far outside the
detector array.
* gemwm/instrument.cc/h
Added 0th order and 1st order overlaps.
Added linear wavelength solution models. Used when converting
wavelengths to detector coordinates for position far outside the
detector array.
* src/vmAstroCat.tcl
Fixed a bug that would display acq spectra boxes outside the
detector area for extreme CWL settings.
Plotting full 2nd order spectral boxes, not only the
contaminated area of the 1st order. That better reflects what is
actually recorded by the detector.
Plotting 0th order, too (only visible for R150).
Plotting 1st order for R831_2nd.
Showing the "spectrum outside detector area" warning box only once
for an opened ODF.
2017-02-27 mischa <mischa@greenbean>
* VERSION
Pushed version number to 1.4.1
* src/vmAstroCat.tcl
Suppressing a warning when changing the slit
geometries for a selection of targets that include acquisition stars.
The latter have their geometries enforced in any case.
Changed the label of the "Make Mask" button in the OT window
to "Configure Mask".
* html
Updated documentation.
Added an example for F2 mask design.
* src/band_def_UI.tcl
Changed the label of the "Make Nod&Shuffle Mask" button to "Continue".
* gemwm/Makefile
* src/Makefile
Removed explicit dirs from LIBRARY_DOIRS and INCLUDE_DIRS
for MacOS. Appear to cause more problems than preventing them
on later MacOS versions.
Added (commented out) explicit settings of CC=gcc and CXX=g++
for Mac in case the stuff does not compile with clang.
2017-02-24 mischa <mischa@greenbean>
* src/vmAstroCat.tcl
F2 slits not plotted correctly after recent code simplifications.
F2 object labels plotted with too large an offset.
Allowing for tilted slits in nod&shuffle mode.
Printing a warning when displaying a shuffle ODF with tilted slits.
* config/transmissiondata
Added F2_Kred and F2_Kblue filters.
* src/gmMakeMasks_2.cc
Fixed a bug in the calculation of the spectral FOV for F2
that prevented packing of short spectra in the dispersion
direction.
Removed condition that would exit if tilted slit present in
Nod&Shuffle mask. Curiously, that part of the code would never
be executed.
Added TILTSLIT flag to output catalog.
Ordered plotting symbols with respect to priority.
* src/gmOdf2Cat.c
Ordered plotting symbols with respect to priority.
* html/
Updated help web pages.
2017-02-23 mischa <mischa@greenbean>
* src/gmmps_fov.cc
Simplified output text.
* src/gmMakeMasks_2.cc
Simplified output text.
Microshuffling mode not as buggy as previously thought. Works fine
apart from slit wiggling. Storage bands must not
contain science spectra only for the area of the science spectra
they belong to. Hence I'm allowing packed spectra in dispersion
direction. GMOS masks have been designed outside GMMPS for 10+ years
with this setup...
Bypassing a bug with slit wiggling: wiggling unplaced slits
may cause slit overlap with acq sources if producing more than one
mask; only problematic for the subsequent masks, hence wiggling
of unplaced slits is deactivated for masks 2, 3, ..., n.
Wiggling of placed slits appears fine. This wiggling code is
very obfuscating.
Allowing acq star spectra to overlap with each other. Very helpful
for band-shuffling mode.
* src/vmAstroCat.tcl
Changed plotting of microshuffle storage areas, the latter are now
confined to the extent of the science spectra instead of extending
across the entire detector range.
Reimplementing choice_dialog -> my_choice_dialog,
info_dialog -> my_info_dialog, confirm_dialog -> my_confirm_dialog
from skycat sources, to avoid problem with huge fonts. Hopefully,
this finally fixes all these ugly unreadable dialog windows.
* src/tclIndex
Updated
* src/gmmps_spoc.tcl
* src/band_def_UI.tcl
* src/waveMapper.tcl
* src/vmSkySearch.tcl
* src/vmSkyQueryResult.tcl
* src/vmTableList.tcl
* src/vmSkyQuery.tcl
* src/vmQueryResult.tcl
* src/vmRtdImagePick.tcl
Referring to the error/info/warning/input/choice/confirm dialogs
defined in vmAstroCat.tcl
* src/gmmps_spoc.tcl
Simplified the dialog about the ODF file overwrite warning.
Added a proper filename selection sequence from the skycat library
instead of the poor makeshift dialog.
2017-02-21 mischa <mischa@greenbean>
* VERSION
Pushed version number to 1.4.0
* src/vmAstroCat.tcl
Backwards compatibility for old ODFs which had the
grating / filter ID still appended, which prevented throughput
and wavelength calculations.
Fixed calculation and display of tilted slits (had wrong width).
Significant code simplifications for plotting slits and
spectral overlays.
* src/band_def_UI.tcl
Removed leftover global "protected common <varnames>"
* src/gmmps_spoc.tcl
gmMakemasks_2.cc is buggy in case of micro-shuffling and slit
wiggling. Deactivated slit wiggling in case of microshuffling
-- and bandshuffling, too.
I don't know exactly where it fails, so better bypass.
Wiggling is dangerous anyway if nodding within the slit,
might lose objects half of the time if the wiggle offset pushes
the close to the edge.
2017-02-20 mischa <mischa@greenbean>
* src/vmAstroCat.tcl
When changing plotting symbols under "Options", the order was
quasi-random with respect to priority. Ordered with respect to
priority.
Force deleting of gemwm.input and gemwm.output upon opening
new ODF catalog.
* src/gmmps_spoc.tcl
Allow to modify min spec dist in micro-shuffling mode.
Show a warning if min distance is less than 4 pixels.
Always show error if separation is negative (independent of
auto-expansion mode or not).
2017-02-16 mischa <mischa@greenbean>
* html/
Updated documentation.
* src/vmAstroCat.tcl
Using [file rootname ...] to create the name of the ODF summary file
instead of some convoluted and unstable string functions.
2017-02-15 mischa <mischa@greenbean>
* src/Makefile
Removed explicit /usr/lib and /usr/local/lib from LIBRARY_DIRS.
Wrong 32bit libs would be pulled in on 64 bit systems when
the 64bit libs are in /usr/lib64, and the 32bit libs in /usr/lib.
Let make do it automatically.
Changed $(PWD) to $(shell pwd) because the PWD env var is not
necessarily available on all systems.
* gemwm/Makefile
Removed explicit /usr/lib and /usr/local/lib from LIBRARY_DIRS.
Wrong 32bit libs would be pulled in on 64 bit systems when
the 64bit libs are in /usr/lib64, and the 32bit libs in /usr/lib.
Let make do it automatically.
* src/band_def_UI.tcl
Moved drawbands to vmAstroCat.tcl
* src/vmAstroCat.tcl
Removed Nod&Shuffle band display option. Storage bands are
always shown for both microshuffling masks (red) and
bandshuffle masks (yellow) when the spectral overlay is activated.
2017-02-14 mischa <mischa@greenbean>
* src/vmAstroCat.tcl
Showing storage areas for microshuffle files.
Hiding the "N&S bands" option, storage areas are always shown.
Various updates concerning version number checking.
* src/gmMakeMasks_2.cc
Fixed the broken bands mode. I thought I know how this stuff works,
but now it is clear that I definitely do not, because some of it
just doesn't make sense (in particular the part where
ccdw is subtracted when calculating the spectrum midpoint).
Just put it back to where it was before.
Bypassing a huge bug in microshuffling mode that would place spectra
in storage bands if spectra are short enough so that several would
fit next to each other. This means the slit conflict mapping has a
severe shortcoming somewhere that I can't identify. Bypassed by
artificially increasing the spectral length to sth very large
if in microshuffling mode.
* src/waveMapper.tcl
Showing all wavelengths in [nm], now consistent with the rest of GMMPS.
2017-02-09 mischa <mischa@greenbean>
* src/vmAstroCat.tcl
* src/waveMapper.tcl
Massive speed-up, getting rid of multiple repeated fifos
about detector size, gap positions, fov, pixel scale, wcs etc etc.
Interface is much more snappy now.
Using more "globals" for this purpose, gmmps is full of them
anyway. In this case, however, it made the code much simpler.
gmMakeMasks_2.cc still broken; doesn't recognize bands, introduced
in 1.3.1 when removing the specpos variables from the output.
2017-02-06 mischa <mischa@greenbean>
* VERSION
Pushed version number to 1.3.1
* src/gmConvert2Cat.c
* src/gmCat2Fits.c
* src/vmTableList.tcl
* src/gmmps_fov.cc
* src/gmMakeMasks_2.cc
* src/gmmps_spoc.tcl
* src/vmAstroCat.tcl
Enabling individual redshifts in the OT/ODF tables.
Removed specpos_x, specpos_y, wave_ccd columns from ODF table, they
weren't needed for anything, not even in IRAF (searched all gemini iraf source code).
Making the ODF display independent of
the order of columns in the ODF table.
2017-01-24 mischa <mischa@greenbean>
* VERSION
Pushed version number to 1.3.0
* vmAstroCat.tcl
Unified acquisition star proximity warnings: warning if closer than 4"
to gap or boundary, error if closer than 2".
Always using yellow color for acq stars that have a warning.
The distance to the slit placement area boundary was calculated
for infinite lines, not for line segments. That caused warnings when
there shouldn't be any (because of the bar code accomodation).
* src/gmmps_spoc.tcl
Simplified output in logfile
2017-01-17 mischa <mischa@greenbean>
* src/vmAstroCat.tcl
Bug fixes for wavelength overlays (mostly better placement of labels).
F2: all wavelengths shown in microns.
Added new wavelength models based on dense MOS arc masks.
Added support for R831 2nd order mode.
Bug fixes for "wrong" pseudo-images that are still in EEV geometry:
wavelength grids, placement of gap labels
* src/waveMapper.tcl
Bug fix individual wavelengths: forgot to add blanks after some of
the atomic wavelength series. Carbon lines were wrongly identified
as nitrogen.
* gemwm/gemwm.cc
* gemwm/instrument.cc
* gemwm/include/instrument.h
* gemwm/data/GMOS-S_wavecal_coeffs.dat
New wavelength models based on dense MOS arc masks. Yay!
2017-01-05 mischa <mischa@greenbean>
* cfitsio
Updated to v3.410
2016-12-07 mischa <mischa@greenbean>
* src/vmAstroCat.tcl
F2 spectral banks not shown with correct slit length. Fixed.
2016-12-02 mischa <mischa@greenbean>
* src/vmAstroCat.tcl
Modularized truncation of spectral boxes, shaded boxes,
wavelengths and wavelength labels; significant code
simplifications and code fixes because of this.
Overlays were partially broken after I pushed everything
through full nonlinear wavelength maps; in particular for
old GMOS-S pseudo-images that still have the E2V geometry.
General cleanup (old comments, unused globs).
Significant speed-up of the overlay plotting.
At this point, everything seems to be working as intended.
* src/calc_throughpout.cc
Made the python plotting optional (for OT only),
resulting in much quicker ODF and wavemapper interactions.
2016-11-29 mischa <mischa@greenbean>
* config/GMOS-S_HAM_fov.dat
Updated slit placement area based on transparent mask.
Significant change compared to GMOS-N. Seems somehow mirrored.
* src/vmAstroCat.tcl
* src/gmmakeMasks_2.cc
* src/gmOdf2Cat.c
Changed the color scheme and symbols for the various priorities,
better highlighting priority 1 targets. The dark blue triangles
were badly visible, and it was difficult to judge the centroiding.
Priority 1: red circle
Priority 2: green square
Priority 3: turquoise triangle
Ignore: yellow cross
Acq object: orange diamond
2016-11-24 mischa <mischa@greenbean>
* src/vmAstroCat.tcl
* gemwm/gemwm.cc
Added support to overlay individual wavelengths
2016-11-23 mischa <mischa@greenbean>
* src/waveMapper.tcl
Updated all wavelength coefficients.
Hiding switches for gap, linear and shading modes.
IFU-2: Fixed significant inaccuracies.
IFU-2: Right gap would always have wavelengths of right
spectral bank plotted, even if CWL was such that
left bank overlaps the right gap. Fixed.
IFU-2: Right spectral bank has different wavelength color.
IFU-2: Wavelength labels for spectral banks have different y-offset.
2016-11-18 mischa <mischa@greenbean>
* src/vmAstroCat.tcl
An ASCII txt file is created for each ODF that is loaded in GMMPS.
It contains the main mask parameters, the OT setup, and comments
to help the SOS interpret the mask images.
* config/GMOS-N_E2VDD_fov.dat
* config/GMOS-S_HAM_fov.dat
Added the positions of the amplifier boundaries (for mask checking)
2016-11-17 mischa <mischa@greenbean>
* src/vmAstroCat.tcl
Added object IDs to the OT and ODF windows' slit and
spectra displays.
Simplified the OT and ODF dialogs:
Removed toggle options for gaps and slit placement area (OT);
Removed toggle options for gaps (ODF);
Showing slit placement area and gaps only for alternative detectors,
but not the overall size anymore.
Changed color scheme to sth more friendly for the color blind.
Increased thickness for gap wavelength labels.
* src/gmmps_fov.cc
Not printing object statistics for objects outside the slit
placement area if none are found outside (lots of zeros).
* src/gmmps_spoc.tcl
Plotting wavelength range and linear dispersion below throughput
plot. Removed output to the command line window.
2016-11-16 mischa <mischa@greenbean>
* src/waveMapper.tcl
Added support for GMOS-N IFU-2 B1200.
Reporting error for GMOS-N IFU-2 R150 (not yet supported).
Removed wavelength and dispersion output to commandline window.
2016-11-14 mischa <mischa@greenbean>
* src/vmAstroCat.tcl
Enabled accurate wavelength overlays for ODFs created with
GMMPS v1.0.4 or earlier.
Removed dead code (not executed / needed anymore) due to
on-the-fly wavelength calculations.
Old (EEV format) pseudo-image ODFs now have proper
wavelength overlays etc, too (big hack).
Assuming optics of GMOS-N and GMOS-S is similar enough to
produce the same wavelength mappings. Thus, we can use
the measured GMOS-S maps and apply them to GMOS-N E2VDD
images (which have the same geometry as the "bad" GMOS-S
pseudo-images).
2016-11-10 mischa <mischa@greenbean>
* gemwm/gemwm.cc
Changed cerr to cout (tests in install_sources.sh were broken by this)
* gemwm/instrument.cc
Added a static_cast<int> in one of the pow() functions to fix
compiler error on Mac
* install_sources.sh
Added gemwm to the checklist
* src/vmAstroCat.tcl
Acquisition stars had their slit drawings dropped; fixed.
Enabled automatic acquisition star checks (proximity to
slit placement area broder) also for F2.
Updated hardcodes pixel scales to be consistent with gmskimg.cl.
2016-11-09 mischa <mischa@greenbean>
* src/vmAstroCat.tcl
"Make Masks" produces an error when acquisition boxes are too close
to a detector gap or the field boundary. Hence there should be no
mask designs anymore with badly positioned acquisition stars.
* sphinx
Documentation updated
2016-11-08 mischa <mischa@greenbean>
* src/vmAstroCat.tcl
Fixed several features that were broken with introduction
of wavelength overlays: toggling of acq stars, slit shading,
wavelength overlay, wavelength labels
2016-11-07 mischa <mischa@greenbean>
* src/wavemapper.tcl
Remeasured the IFU-2, IFU-R and longslit configs, doing individual
fits per grating now instead of more general, common fits. Better
accuracy. The IFU-2 is still too inaccurate, needs a special
translation between commanded CWL and actually established CWL.
2016-10-27 mischa <mischa@greenbean>
* config/F2* and src/*.tcl
* src/*.tcl
* gemwm/*.cc
Homogenized F2 grism names to R1200_JH, R1200_HK, and R3000
* src/*.tcl
Homogenized F2 grism names to R1200_JH, R1200_HK, and R3000
* src/get_gmos_posangle
Replaced by get_OT_posangle, to include F2 which has unflipped data
* src/vmAstroCat.tcl
Replaced get_gmos_posangle by get_OT_posangle.
Support for F2 R3000_YJHK combinations and wavelength overlay.
Fixed F2 specbox shading and wavelength labels.
* gemwm/data/F2_wavecal_coeffs.dat
Fixed F2 transformation equation
2016-04-04 mischa <mischa@greenbean>
* VERSION
Pushed version number to 1.2.0
* src/wavemapper.tcl
WaveMapper finished. Cleaned up left-over bugs.
* src/band_def_UI.tcl
* src/gmmps_spoc.tcl
* src/vmAstroCat.tcl
Added inline help buttons that directly load the associated html
webpages. Cleaned up left-over bugs.
* html/
Added the online documentation to the distribution.
2016-03-29 mischa <mischa@greenbean>
* src/wavemapper.tcl
Wavemapper module essentially complete. Still need the GMOS-S IFU-R
sequences. Few tiny bug fixes missing, documentation for 1.1.0 and
1.2.0 still pending.
2016-03-17 mischa <mischa@greenbean>
* src/get_gmos_posangle.cc
Previous version did not interpret the CD matrix the same way as
the Gemini OCS. GMOS flipping caused 180 degrees different angles
in some cases.
* src/waveMapper.tcl
Wrote a large piece of this code over the last two weeks. Had to
improve my automatic wavelength calibration code a lot to deal
with the large number of arcs (not part of GMMPS). Looking good.
Still working on numerous nonlinear wavelength models.
* src/tclIndex
Finally figured out that I have to add all procedures that I want
to call from other source files in the tclIndex.
2016-03-02 mischa <mischa@greenbean>
* config/version.dat
Pushed version number to 1.1.0
* src/vmAstroCat.tcl
Added a Spinbox to the ODF window that allows the user to display the
spectra for a different CWL. An Undo Button has been added that reads
the original CWL from the ODF header.
* src/gmmps_spoc.tcl
* src/calc_throughput.cc
Deleting temporary throughput tables and plots when closing
the OT window. Making them also hidden files in first place.
* src/gmmps_spoc.tcl
Cleaned up the FITS/ascii catalog conversion processes. They were
unnecessary convoluted, under certain circumstances buggy (i.e.
secondary "." in the file names, and had several if constructs left
where the code would never enter.
Writing filter, grating and CWL into the GMMPS configuration,
and loading them upon restarting the SPOC window. CWL auto button
background will be red if possibly inconsistent with best CWL.
* src/vmAstroCat.tcl
Cleaned up the Fits2Ascii conversion process.
Updated the "Reload Catalog" task to update the CWL as well.
2016-02-29 mischa <mischa@greenbean>
* src/band_def_UI.tcl
* src/gmmps_spoc.tcl
* src/vmAstroCat.tcl
Do not rely on CCDSUM keyword anymore to determine the binning factor.
Custom-made software run by users may not update the non-standard
CCDSUM keyword when resampling the pre-images / pseudo-images
to a different pixel scale. Binning factor is determined directly
by comparing the pixelscale (derived from the WCS) to the native
pixel scale of the instrument. Allowing for a tolerance of 5%.
2016-02-23 mischa <mischa@greenbean>
* src/band_def_UI.tcl
* src/gmmps_spoc.tcl
* src/vmAstroCat.tcl
Removed remaining traces of the band definition files.
Finally, consistent handling of the central wavelength and
the way it is propagated / calculated throughput the code;
e.g., the itk_option(-bw) variable is gone. I'm trying to
avoid the globals whenever possible.
2016-02-22 mischa <mischa@greenbean>
* src/vmAstroCat.tcl
Not allowing to load OT files through the "load ODF" menu,
and vice versa. The following tables would likely be corrupted
in unpredictable ways.
Built in several checks that catch if an old ODF (older than v1.1.0)
is loaded. In such instances, for example, the plotting of 2nd order
overlap and wavelength scales will be suppressed. Displays of the
spectral boxes will be inaccurate (well, they were even more
inaccurate before, so that's an improvement nonetheless). The user
is warned accordingly.
Not showing N&S elements if the loaded ODF is from F2 or a normal
mask; previously, these elements were greyed out.
Incorrectly plotting the shaded spectral boxes if the slit was
outside the spectral box, but the CWL was still inside. So far,
I only checked against the CWL being outside.
Showing additional mask information and OT setup parameters in
the ODF window.
* src/band_def_UI.tcl
* src/gmmps_spoc.tcl
* src/vmAstroCat.tcl
* src/gmMakeMasks_2.cc
Removed the need for band definition files. Relevant parameters are