Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DM-42513: Add transmission_sensor, transmission_filter, and transmission_optics data for comCamSim #16

Merged
merged 7 commits into from
Feb 24, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
23 changes: 23 additions & 0 deletions comCamSim/transmission_filter/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
This directory contains filter transmission curves for the simulated
ComCam LSSTComCam instrument, LSSTComCamSim. The data for the curves
are from version 1.9 the of the [LSSTCam baseline g, r, i filter files
in the throughputs
repo](https://github.com/lsst/throughputs/tree/1.9/baseline).

Data Processing
---------------

To generate these files, one clones a local copy of the [throughputs
repo](https://github.com/lsst/throughputs), checks out version 1.9,
and sets up the repo with eups:
```
git clone https://github.com/lsst/throughputs.git
cd throughputs
git checkout 1.9
setup -r . -j
```
In the obs_lsst package, one then runs the script to write the files
using the througputs data:
```
python ${OBS_LSST_DIR}/python/lsst/obs/lsst/script/write_comCamSim_filter_files.py
```
281 changes: 281 additions & 0 deletions comCamSim/transmission_filter/g_01/19700101T000000.ecsv
Original file line number Diff line number Diff line change
@@ -0,0 +1,281 @@
# %ECSV 1.0
# ---
# datatype:
# - {name: wavelength, unit: nm, datatype: float64}
# - {name: efficiency, unit: '%', datatype: float64}
# meta: !!omap
# - {MODE: DETECTOR}
# - {TYPE: transmission_filter}
# - {CALIBDATE: '1970-01-01T00:00:00'}
# - {INSTRUME: comCamSim}
# - {OBSTYPE: transmission_filter}
# - {CALIBCLS: lsst.ip.isr.IntermediateFilterTransmissionCurve}
# - {SOURCE: 'https://github.com/lsst/throughputs'}
# - {FILTER: g_01}
# - {VERSION: 1.9}
# - {CALIB_ID: 'calibDate=1970-01-01T00:00:00 filter=g_01'}
<<<<<<< HEAD
# - {DATE: '2024-02-24T07:14:44.949478'}
# - {CALIB_CREATION_DATE: '2024-02-24'}
# - {CALIB_CREATION_TIME: '07:14:44'}
=======
# - {DATE: '2024-02-23T21:01:37.175270'}
# - {CALIB_CREATION_DATE: '2024-02-23'}
# - {CALIB_CREATION_TIME: '21:01:37'}
>>>>>>> da73719 (update files with correct INSTRUME metadata field)
# - __serialized_columns__:
# efficiency:
# __class__: astropy.units.quantity.Quantity
# unit: !astropy.units.Unit {unit: '%'}
# value: !astropy.table.SerializedColumn {name: efficiency}
# wavelength:
# __class__: astropy.units.quantity.Quantity
# unit: !astropy.units.Unit {unit: nm}
# value: !astropy.table.SerializedColumn {name: wavelength}
# schema: astropy-2.0
wavelength efficiency
301.0000000000002 0.009884459766905001
384.9000000000193 0.009884459766905001
385.7000000000195 0.5746716179578352
386.00000000001955 0.8167232571623175
386.40000000001965 0.8629192683289355
387.0000000000198 0.9322132850762795
387.90000000002 0.91866465607378
388.10000000002003 0.9961776011360017
388.20000000002005 1.0751959494046117
388.70000000002017 1.4702876907476614
389.00000000002024 1.7073427355486919
390.00000000002046 2.2603782595303166
391.0000000000207 3.945382116002049
391.9000000000209 5.768709102444828
392.60000000002105 7.7463522747880695
393.00000000002115 8.929719798107346
393.40000000002124 10.588687987545994
394.0000000000214 13.07714027172775
394.40000000002146 15.181344066906963
395.0000000000216 18.337649759691224
395.9000000000218 23.715290095877112
396.0000000000218 24.312805688813427
396.60000000002196 28.633896120514603
397.00000000002206 31.51462307499816
397.90000000002226 38.653674141646924
398.0000000000223 39.44690203795988
399.10000000002253 49.09314632448463
400.00000000002274 56.983910556395124
401.00000000002296 65.2433651376087
401.200000000023 66.77229337435392
402.0000000000232 72.88800632130862
403.0000000000234 79.40483064558813
404.00000000002365 84.10983349460894
405.0000000000239 87.67120434858866
406.0000000000241 89.68466880309933
406.9000000000243 91.18542632950886
407.00000000002433 91.35217716575774
407.90000000002453 92.15548721101428
408.80000000002474 92.65910043612901
409.5000000000249 92.81705410319404
410.000000000025 92.87141863190807
410.60000000002515 92.84176525260736
410.8000000000252 92.83188079284045
412.5000000000256 92.48246514007809
413.1000000000257 92.41475659067856
413.70000000002585 92.4206872665387
414.50000000002603 92.48839581594513
415.00000000002615 92.55313902742417
415.7000000000263 92.79945976481551
418.00000000002683 93.62757980408931
420.20000000002733 94.62353797020474
420.9000000000275 94.97848892043439
421.8000000000277 95.16757863576612
422.40000000002783 95.27255159849078
422.7000000000279 95.32533461364606
423.00000000002797 95.378117628793
424.60000000002833 95.16520636541297
425.0000000000284 95.10431809325195
425.7000000000286 95.07456586935355
427.30000000002894 95.1161794449703
427.70000000002904 95.0726878219959
428.20000000002915 95.00863652270493
428.5000000000292 94.96148764961679
430.00000000002956 94.76725801520354
430.6000000000297 94.80462127312245
430.90000000002976 94.82330290208189
432.10000000003004 94.85364819356485
433.00000000003024 94.86610261287433
434.1000000000305 94.997071704786
434.5000000000306 95.04649400362054
434.80000000003065 95.08356072774644
434.9000000000307 95.09591630245508
436.20000000003097 95.11440024221496
436.60000000003106 95.10886494474549
439.1000000000316 95.18023074426229
440.2000000000319 95.1893244472531
440.4000000000319 95.21798938057714
441.00000000003206 95.30398418054416
441.7000000000322 95.29360549778892
443.5000000000326 95.22243738746596
443.9000000000327 95.20148233276011
445.6000000000331 94.91809487123977
446.60000000003333 94.77200255588497
446.9000000000334 94.72841208831291
447.50000000003354 94.75539666348419
447.8000000000336 94.7803055020968
447.90000000003363 94.78860844830099
452.00000000003456 95.62127533906573
452.2000000000346 95.64124194779488
452.90000000003477 95.71112507834692
453.30000000003486 95.74631375511656
453.6000000000349 95.77151912752217
455.2000000000353 96.05718001478576
455.6000000000354 96.09078717799323
457.0000000000357 96.27562657563087
458.10000000003595 96.26119526437186
459.50000000003627 96.25882299402723
459.80000000003633 96.25526458851115
461.20000000003665 96.37012201099859
461.4000000000367 96.34600392916734
461.8000000000368 96.29776776550484
462.10000000003686 96.27157394712621
462.700000000037 96.25911952781989
464.30000000003736 96.32751998940377
464.6000000000374 96.296383941138
464.80000000003747 96.2756265756275
468.20000000003824 96.2319372634605
468.70000000003836 96.2166163508218
471.0000000000389 95.99688481020817
471.70000000003904 96.05984881892337
472.0000000000391 96.08683339408107
474.2000000000396 95.95161398447777
474.5000000000397 95.99342524929179
474.80000000003974 96.0352365141058
475.80000000004 96.02120058122917
478.2000000000405 96.14851242302808
478.6000000000406 96.13941872004251
478.80000000004065 96.13487186854974
479.60000000004084 96.2323326418593
481.40000000004125 96.42409116133818
482.2000000000414 96.52590109692682
482.30000000004145 96.519575042676
482.6000000000415 96.50059687992353
482.80000000004156 96.48794477142188
485.1000000000421 96.64609612769533
485.80000000004225 96.6516314251648
487.4000000000426 96.6901808182548
487.8000000000427 96.68464552078532
489.30000000004304 96.8047417069526
489.70000000004313 96.79327573362298
490.4000000000433 96.78032709132908
493.30000000004395 96.71924112996992
494.10000000004413 96.72141571112098
494.60000000004425 96.74612686053827
494.8000000000443 96.75601132030516
494.9000000000443 96.76095355018862
497.4000000000449 96.45058151349764
498.10000000004504 96.34926580089729
498.20000000004507 96.35470225376909
498.3000000000451 96.36013870664087
498.7000000000452 96.38188451812808
499.80000000004543 96.3752619300805
501.20000000004575 96.28669717056788
502.50000000004604 96.28007458252983
502.8000000000461 96.30172154941936
504.5000000000465 96.19803356646207
504.9000000000466 96.20554575588491
505.4000000000467 96.21098220875626
510.10000000004777 96.17520046439793
511.30000000004804 96.13160999682574
511.70000000004814 96.11619023958937
513.6000000000486 96.16314142348243
513.7000000000486 96.15987955175936
513.9000000000486 96.15335580831321
516.7000000000493 96.28511565700899
517.5000000000495 96.29836083309577
519.4000000000499 96.3519346050323
522.0000000000505 96.45058151350571
522.3000000000505 96.45117458109173
522.8000000000507 96.45216302706842
524.300000000051 96.44801155396713
526.4000000000515 96.52095886704485
526.6000000000515 96.51660970474741
527.8000000000518 96.5838240311684
528.4000000000519 96.6265248973596
530.2000000000523 96.65182911436744
530.4000000000524 96.68108711527749
531.3000000000526 96.73742853593568
531.4000000000526 96.72695100858277
532.900000000053 96.55822328036099
534.0000000000532 96.39127475488164
535.0000000000534 95.96723143086582
536.0000000000537 95.25357343567656
537.1000000000539 94.06328679053226
538.0000000000541 92.88723376742756
539.0000000000543 90.87673465082467
539.5000000000545 89.74298711556041
540.0000000000546 88.60923958024841
541.1000000000548 85.17478518965089
541.900000000055 82.83730814397265
542.7000000000552 80.00926536002426
542.9000000000552 79.28473445910997
544.0000000000555 74.77099590655398
544.2000000000555 74.05397719506253
544.5000000000556 72.97844912782536
544.7000000000556 72.2614304163339
544.8000000000557 71.90292106058817
545.0000000000557 71.18590234905939
545.7000000000559 68.2072203983019
545.8000000000559 67.78169440533654
546.7000000000561 64.17544810399595
548.2000000000564 58.069817305978496
548.3000000000565 57.67819501001363
548.8000000000566 55.720083530189314
549.1000000000566 54.60511646851608
549.4000000000567 53.60994905918386
550.500000000057 49.866605300847695
551.0000000000571 48.11359636121704
551.8000000000573 45.73420920612713
553.0000000000575 41.968427724100145
553.7000000000577 39.512831384207374
554.7000000000579 35.98407924741978
555.100000000058 34.505660600046724
555.8000000000582 31.585791184902323
556.4000000000583 29.020971564576197
556.8000000000584 27.29040034858608
558.1000000000587 21.468255856681772
558.4000000000588 20.167065572966102
559.0000000000589 17.564685005543843
559.500000000059 15.473133318866273
560.3000000000592 12.17353261286583
561.0000000000593 9.354751567809034
561.2000000000594 8.72275897923252
562.1000000000596 5.953182774888259
562.7000000000597 4.503547674393175
563.2000000000598 3.45359070462025
564.00000000006 2.1530330263664426
564.3000000000601 1.8491451952926463
565.1000000000603 1.0842777909889656
566.0000000000605 0.5821156045759456
566.7000000000606 0.3897155836590726
567.0000000000607 0.3072584318493135
569.2000000000612 0.11195791506013802
570.6000000000615 0.027665812126530236
572.4000000000619 0.05039927883913211
573.5000000000622 0.03646031251595899
573.8000000000623 0.020853442456196133
573.9000000000623 0.015651152436275177
579.5000000000636 0.04257286243705583
581.1000000000639 0.037096278661737064
581.700000000064 0.0478005555217116
584.6000000000647 0.006901725188206877
585.5000000000649 0.01583342187832445
586.5000000000651 0.01064210360665176
586.8000000000652 0.004256841441827348
590.400000000066 0.010439966407528421
593.6000000000668 0.008692591609178747
595.2000000000671 0.014027234545014696
595.5000000000672 0.016728953933103453
596.0000000000673 0.021231819579428157
604.3000000000692 0.009884459766905001
612.300000000071 0.009884459766905001
663.6000000000827 0.009884459766905001
767.7000000001063 0.009884459766905001
1099.900000000182 0.009884459766905001