From 645828c7ec94a2ea74dce6c8a132b29f7caaf63c Mon Sep 17 00:00:00 2001 From: ugyballoons Date: Fri, 19 Apr 2024 16:45:52 +0100 Subject: [PATCH] Add ComCamSimAos --- .../lsst/ts/rubintv/models/models_data.yaml | 22 +++++++++++++++++-- src/js/modules/utils.js | 11 ---------- 2 files changed, 20 insertions(+), 13 deletions(-) diff --git a/python/lsst/ts/rubintv/models/models_data.yaml b/python/lsst/ts/rubintv/models/models_data.yaml index 34192c0a..a776581b 100644 --- a/python/lsst/ts/rubintv/models/models_data.yaml +++ b/python/lsst/ts/rubintv/models/models_data.yaml @@ -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 @@ -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 @@ -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 @@ -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 diff --git a/src/js/modules/utils.js b/src/js/modules/utils.js index 9faf6270..5757164f 100644 --- a/src/js/modules/utils.js +++ b/src/js/modules/utils.js @@ -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 = {}