Skip to content

Commit

Permalink
Add ComCamSimAos
Browse files Browse the repository at this point in the history
  • Loading branch information
ugyballoons committed Apr 19, 2024
1 parent bf50e06 commit 645828c
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 13 deletions.
22 changes: 20 additions & 2 deletions python/lsst/ts/rubintv/models/models_data.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ locations:
Telescope Mounted: [ auxtel, comcam, lsstcam ]
Other Cameras: [ allsky, startracker_narrow, startracker_wide, startracker_fast ]
Telescopes: [ tma ]
Simulated Cameras: [ comcam_sim ]
Simulated Cameras: [ comcam_sim, comcam_sim_aos ]

- name: base
title: Base
Expand Down Expand Up @@ -82,7 +82,7 @@ locations:
Telescope Mounted: [ auxtel, comcam, lsstcam ]
Other Cameras: [ allsky, startracker_narrow, startracker_wide, startracker_fast ]
Telescopes: [ tma ]
Simulated Cameras: [ comcam_sim ]
Simulated Cameras: [ comcam_sim, comcam_sim_aos ]

cameras:
- name: tma
Expand Down Expand Up @@ -212,6 +212,20 @@ cameras:
copy_row_template: "dataId = {\"day_obs\": {dayObs}, \"seq_num\": \
{seqNum}}"

- name: comcam_sim_aos
title: ComCamSimAOS
online: True
channels:
- name: fp_donut_gallery
title: Focal Plane Donut Gallery
colour: "#d4e6b5"
- name: zk_residual_pyramid
title: Zernike Residual Pyramid
colour: "#e2d686"
- name: zk_measurement_pyramid
title: Zernike Measurement Pyramid
colour: "#877b66"

- name: comcam_sim_prep
title: ComCamSimPrep
online: True
Expand Down Expand Up @@ -544,6 +558,10 @@ metadata_cols:
Test type:
The type of test being run, e.g. superflats etc

comcam_sim_aos:
Exposure time:
The image exposure time

comcam_sim:
Exposure time:
The image exposure time
Expand Down
11 changes: 0 additions & 11 deletions src/js/modules/utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -124,17 +124,6 @@ export function replaceInString (link, dayObs, seqNum) {
return formattedLink
}

function clearLocalStorageOnNewVersion () {
const thisVersion = document.documentElement.dataset.version
if (!thisVersion) return
const storedVersion = window.localStorage.getItem('rubintv_version')
if (thisVersion !== storedVersion) {
localStorage.clear()
localStorage.setItem('rubintv_version', thisVersion)
}
}
clearLocalStorageOnNewVersion()

// A helper function to mimic Jinja2's groupby
export function groupBy (array, keyFunction) {
const obj = {}
Expand Down

0 comments on commit 645828c

Please sign in to comment.