Grafana dashboard: Gallery
Description: Show a summary of import/movie alignment/CTF related information in a Scipion project

DashBoard used for visualizing microgrpah, shift plots and CTF related information provided by scipion ( see scipion.i2pc.es). See https://scipion-em.github.io/docs/release-3.0.0/docs/facilities/customize-report for details.

{
  "__inputs": [
    {
      "name": "DS_INFLUXDB-SCIPION",
      "label": "InfluxDB-scipion",
      "description": "InfluxDB created by summary monitor in Scipion",
      "type": "datasource",
      "pluginId": "influxdb",
      "pluginName": "InfluxDB"
    }
  ],
  "__requires": [
    {
      "type": "grafana",
      "id": "grafana",
      "name": "Grafana",
      "version": "6.7.3"
    },
    {
      "type": "datasource",
      "id": "influxdb",
      "name": "InfluxDB",
      "version": "1.0.0"
    },
    {
      "type": "panel",
      "id": "table",
      "name": "Table",
      "version": ""
    },
    {
      "type": "panel",
      "id": "text",
      "name": "Text",
      "version": ""
    }
  ],
  "annotations": {
    "list": [
      {
        "$$hashKey": "object:32",
        "builtIn": 1,
        "datasource": "-- Grafana --",
        "enable": true,
        "hide": true,
        "iconColor": "rgba(0, 211, 255, 1)",
        "name": "Annotations & Alerts",
        "type": "dashboard"
      }
    ]
  },
  "editable": true,
  "gnetId": 12355,
  "graphTooltip": 0,
  "id": null,
  "iteration": 1590316712875,
  "links": [],
  "panels": [
    {
      "content": "<a href=\"/d/oYW5BSeWz/summary?var-project=$project\">Summary</a>\n<a href=\"/d/Dcl-hZeWk/CTF?var-project=$project\">CTF</a>\n<a href=\"/d/Vv8YVFeZz/system?var-project=$project\">System</a>\n<a href=\"/d/QIlzBA6Zz/gain?var-project=$project\">Gain</a>\n<a href=\"/d/50ya60eZz/gallery?var-project=$project\">Images</a>\n\n<style>\n.panel-title-container {\n    font-size: Large;\n    color: firebrick;\n    // text-decoration: underline;\n    // text-decoration-color: firebrick;\n}\n\n\n.table-panel-header-bg {\n  height: 0em;\n}\n\n.table-panel-color-cell{\n  color: red;\n}\n",
      "datasource": "${DS_INFLUXDB-SCIPION}",
      "gridPos": {
        "h": 2,
        "w": 5,
        "x": 0,
        "y": 0
      },
      "id": 9,
      "mode": "html",
      "timeFrom": null,
      "timeShift": null,
      "title": "Links to dashboards",
      "type": "text"
    },
    {
      "columns": [],
      "datasource": "${DS_INFLUXDB-SCIPION}",
      "fontSize": "100%",
      "gridPos": {
        "h": 23,
        "w": 24,
        "x": 0,
        "y": 2
      },
      "id": 7,
      "interval": "",
      "links": [],
      "pageSize": 10,
      "showHeader": true,
      "sort": {
        "col": 1,
        "desc": true
      },
      "styles": [
        {
          "$$hashKey": "object:554",
          "alias": "Time",
          "align": "auto",
          "dateFormat": "YYYY-MM-DD HH:mm:ss",
          "pattern": "Time",
          "type": "hidden"
        },
        {
          "$$hashKey": "object:555",
          "alias": "",
          "align": "right",
          "colorMode": null,
          "colors": [
            "rgba(245, 54, 54, 0.9)",
            "rgba(237, 129, 40, 0.89)",
            "rgba(50, 172, 45, 0.97)"
          ],
          "decimals": 2,
          "mappingType": 1,
          "pattern": "shiftPlotPath",
          "preserveFormat": false,
          "sanitize": true,
          "thresholds": [],
          "type": "string",
          "unit": "short"
        },
        {
          "$$hashKey": "object:556",
          "alias": "",
          "align": "auto",
          "colorMode": null,
          "colors": [
            "rgba(245, 54, 54, 0.9)",
            "rgba(237, 129, 40, 0.89)",
            "rgba(50, 172, 45, 0.97)"
          ],
          "dateFormat": "YYYY-MM-DD HH:mm:ss",
          "decimals": 2,
          "mappingType": 1,
          "pattern": "psdPath",
          "sanitize": true,
          "thresholds": [],
          "type": "string",
          "unit": "short"
        },
        {
          "$$hashKey": "object:158",
          "alias": "",
          "align": "auto",
          "colorMode": null,
          "colors": [
            "rgba(245, 54, 54, 0.9)",
            "rgba(237, 129, 40, 0.89)",
            "rgba(50, 172, 45, 0.97)"
          ],
          "dateFormat": "YYYY-MM-DD HH:mm:ss",
          "decimals": 2,
          "mappingType": 1,
          "pattern": "micPath",
          "sanitize": true,
          "thresholds": [],
          "type": "string",
          "unit": "short"
        },
        {
          "$$hashKey": "object:3087",
          "alias": "Defocus U (μ)",
          "align": "auto",
          "colorMode": null,
          "colors": [
            "rgba(245, 54, 54, 0.9)",
            "rgba(237, 129, 40, 0.89)",
            "rgba(50, 172, 45, 0.97)"
          ],
          "dateFormat": "YYYY-MM-DD HH:mm:ss",
          "decimals": 2,
          "mappingType": 1,
          "pattern": "DefocusU",
          "thresholds": [],
          "type": "number",
          "unit": "none"
        },
        {
          "$$hashKey": "object:16997",
          "alias": "Astigmatism (A)",
          "align": "auto",
          "colorMode": null,
          "colors": [
            "rgba(245, 54, 54, 0.9)",
            "rgba(237, 129, 40, 0.89)",
            "rgba(50, 172, 45, 0.97)"
          ],
          "dateFormat": "YYYY-MM-DD HH:mm:ss",
          "decimals": 0,
          "mappingType": 1,
          "pattern": "astigmatism",
          "thresholds": [],
          "type": "number",
          "unit": "none"
        },
        {
          "$$hashKey": "object:17008",
          "alias": "Resolution (A)",
          "align": "auto",
          "colorMode": null,
          "colors": [
            "rgba(245, 54, 54, 0.9)",
            "rgba(237, 129, 40, 0.89)",
            "rgba(50, 172, 45, 0.97)"
          ],
          "dateFormat": "YYYY-MM-DD HH:mm:ss",
          "decimals": 1,
          "mappingType": 1,
          "pattern": "resolution",
          "thresholds": [],
          "type": "number",
          "unit": "none"
        },
        {
          "$$hashKey": "object:17019",
          "alias": "",
          "align": "auto",
          "colorMode": null,
          "colors": [
            "rgba(245, 54, 54, 0.9)",
            "rgba(237, 129, 40, 0.89)",
            "rgba(50, 172, 45, 0.97)"
          ],
          "dateFormat": "YYYY-MM-DD HH:mm:ss",
          "decimals": 4,
          "mappingType": 1,
          "pattern": "fitQuality",
          "thresholds": [],
          "type": "number",
          "unit": "short"
        },
        {
          "$$hashKey": "object:17030",
          "alias": "Ratio defU/defV",
          "align": "auto",
          "colorMode": null,
          "colors": [
            "rgba(245, 54, 54, 0.9)",
            "rgba(237, 129, 40, 0.89)",
            "rgba(50, 172, 45, 0.97)"
          ],
          "dateFormat": "YYYY-MM-DD HH:mm:ss",
          "decimals": 2,
          "mappingType": 1,
          "pattern": "ratio",
          "thresholds": [],
          "type": "number",
          "unit": "none"
        },
        {
          "$$hashKey": "object:1325",
          "alias": "",
          "align": "auto",
          "colorMode": null,
          "colors": [
            "rgba(245, 54, 54, 0.9)",
            "rgba(237, 129, 40, 0.89)",
            "rgba(50, 172, 45, 0.97)"
          ],
          "dateFormat": "YYYY-MM-DD HH:mm:ss",
          "decimals": 2,
          "mappingType": 1,
          "pattern": "phaseShift",
          "thresholds": [],
          "type": "number",
          "unit": "degree"
        },
        {
          "$$hashKey": "object:12689",
          "alias": "",
          "align": "auto",
          "colorMode": null,
          "colors": [
            "rgba(245, 54, 54, 0.9)",
            "rgba(237, 129, 40, 0.89)",
            "rgba(50, 172, 45, 0.97)"
          ],
          "dateFormat": "YYYY-MM-DD HH:mm:ss",
          "decimals": 2,
          "mappingType": 1,
          "pattern": "ctfID",
          "sanitize": true,
          "thresholds": [],
          "type": "string",
          "unit": "short"
        }
      ],
      "targets": [
        {
          "groupBy": [],
          "measurement": "/^$project$/",
          "orderByTime": "ASC",
          "policy": "default",
          "query": "SELECT \"ctfID\", \"micPath\", \"shiftPlotPath\", \"psdPath\", \"defocusU\"/10000. AS \"DefocusU\", \"astigmatism\", \"resolution\", \"fitQuality\", \"ratio\", \"phaseShift\" FROM /^$project$/ WHERE (\"section\" = 'ctf')  AND (\"transferImage\"=true ) AND $timeFilter",
          "rawQuery": true,
          "refId": "A",
          "resultFormat": "table",
          "select": [
            [
              {
                "params": [
                  "id"
                ],
                "type": "field"
              },
              {
                "params": [
                  "kk"
                ],
                "type": "alias"
              }
            ],
            [
              {
                "params": [
                  "micPath"
                ],
                "type": "field"
              }
            ],
            [
              {
                "params": [
                  "shiftPlotPath"
                ],
                "type": "field"
              }
            ],
            [
              {
                "params": [
                  "psdPath"
                ],
                "type": "field"
              }
            ],
            [
              {
                "params": [
                  "defocusU"
                ],
                "type": "field"
              }
            ],
            [
              {
                "params": [
                  "astigmatism"
                ],
                "type": "field"
              }
            ],
            [
              {
                "params": [
                  "resolution"
                ],
                "type": "field"
              }
            ],
            [
              {
                "params": [
                  "fitQuality"
                ],
                "type": "field"
              }
            ],
            [
              {
                "params": [
                  "ratio"
                ],
                "type": "field"
              }
            ],
            [
              {
                "params": [
                  "phaseShift"
                ],
                "type": "field"
              }
            ]
          ],
          "tags": [
            {
              "key": "section",
              "operator": "=",
              "value": "ctf"
            }
          ]
        }
      ],
      "timeFrom": null,
      "timeShift": null,
      "title": "Gallery",
      "transform": "table",
      "type": "table"
    }
  ],
  "refresh": "1m",
  "schemaVersion": 22,
  "style": "dark",
  "tags": [],
  "templating": {
    "list": [
      {
        "allValue": null,
        "current": {
          "text": "test3",
          "value": "test3"
        },
        "hide": 0,
        "includeAll": false,
        "label": null,
        "multi": false,
        "name": "project",
        "options": [
          {
            "$$hashKey": "object:24",
            "selected": false,
            "text": "Project List hiden",
            "value": "Project List hiden"
          }
        ],
        "query": "Project List hiden",
        "skipUrlSync": false,
        "type": "custom"
      }
    ]
  },
  "time": {
    "from": "now-12h",
    "to": "now"
  },
  "timepicker": {
    "refresh_intervals": [
      "5s",
      "10s",
      "30s",
      "1m",
      "5m",
      "15m",
      "30m",
      "1h",
      "2h",
      "1d"
    ]
  },
  "timezone": "",
  "title": "Gallery",
  "uid": "50ya60eZz",
  "variables": {
    "list": []
  },
  "version": 71,
  "description": "Show a summary of import/movie alignment/CTF related information in a Scipion project"
}