GLOBAL:
    git:
        repo-local: "/gpfs/exfel/data/scratch/xcal/calibration/DetectorCharacterization/"
        figures-remote: "http://git@git.xfel.eu/gitlab/detectors/DetectorCharacterization.git"
    server-port: "tcp://max-exfl016:5566"

    run-on:
        - Monday 08:30:00 UTC

    report-service:
        port: 5566
        bind-to: tcp://*
        allowed-ips:
        job-db: ./reportservice_jobs.sqlite
        job-update-interval: 30
        job-timeout: 12000

SPB:
    AGIPD1M1:
        det-type:
            - "GENERIC"
            - "STATS_FROM_DB2"
        modules:
            - "AGIPD1M1"
        start-date: "2019-01-01"
        end-date: "NOW"
        nconstants: 20
        constants:
            - "Noise"
            - "SlopesFF"
            - "SlopesPC"
            - "Offset"
        dclass: "AGIPD"
        submodules: "0-16"
        bias-voltage:
            - 300
            - 500
        memory-cells:
            - 128
            - 176
            - 250
        acquisition-rate:
            - 1.1
            - 2.2
            - 4.5
        gain-setting:
            - 0
            - 1
            - 2
        photon-energy: 9.2
        separate-plot:
            - "gain_setting"
        parameter-names:
            - "bias_voltage"
            - "acquisition_rate"
            - "memory_cells"
        spShape:
            - 64
            - 64
        gain-titles:
            - "High gain"
            - "Medium gain"
            - "Low gain"
        x-labels:
            - "Acquisition rate"
            - "Memory cells"
        sp-name: "ASICs id"
        nMemToShow: 32
        use-existing: "''"
        out-folder: "/gpfs/exfel/data/scratch/xcal/report_service/tmp/{instrument}/{detector}/"
        cal-db-timeout: 180000
        cal-db-interface: "tcp://max-exfl016:8015#8025"

    JUNGFRAU:
        det-type:
            - "GENERIC"
            - "STATS_FROM_DB"
        start-date: "2019-01-01"
        end-date: "NOW"
        nconstants: 20
        constants:
            - "Noise"
            - "Offset"
            - "RelativeGain"
        dclass: "jungfrau"
        nMemToShow: 16
        modules:
            - "Jungfrau_M035"
            - "Jungfrau_M203"
            - "Jungfrau_M221"
            - "Jungfrau_M275"
            - "Jungfrau_M273"
            - "Jungfrau_M267"
        bias-voltage:
            - 90
            - 180
        memory-cells:
            - 1
            - 16
        pixels-x:
            - 1024
        pixels-y:
            - 512
            - 1024
        temperature:
            - 291
        integration-time:
            - 4.96
            - 50
            - 250
        gain-setting:
            - 0
            - 1
            - 2
        separate-plot:
            - "integration_time"
            - "gain_setting"
            - "memory_cells"
        parameter-names:
            - "bias_voltage"
            - "integration_time"
            - "pixels_x"
            - "pixels_y"
            - "temperature"
            - "memory_cells"
        spShape:
            - 256
            - 64
        gain-titles:
            - "High gain"
            - "Medium gain"
            - "Low gain"
        x-labels:
            - "Sensor Temperature"
            - "Integration Time"
        sp-name: "Supercolumn 256*64"
        photon-energy: 9.2
        use-existing: "''"
        out-folder: "/gpfs/exfel/data/scratch/xcal/report_service/tmp/{instrument}/{detector}/"
        cal-db-timeout: 180000
        cal-db-interface: "tcp://max-exfl016:8015#8025"

MID:
    AGIPD1M2:
        det-type:
            - "GENERIC"
            - "STATS_FROM_DB2"
        modules:
            - "AGIPD1M2"
        start-date: "2019-01-01"
        end-date: "NOW"
        nconstants: 20
        constants:
            - "Noise"
            - "SlopesFF"
            - "SlopesPC"
            - "Offset"
        dclass: "AGIPD"
        submodules: "0-16"
        bias-voltage:
            - 300
            - 500
        memory-cells:
            - 128
            - 176
            - 250
        acquisition-rate:
            - 1.1
            - 2.2
            - 4.5
        gain-setting:
            - 0
            - 1
            - 2
        photon-energy: 9.2
        separate-plot:
            - "gain_setting"
        parameter-names:
            - "bias_voltage"
            - "acquisition_rate"
            - "memory_cells"
        spShape:
            - 64
            - 64
        gain-titles:
            - "High gain"
            - "Medium gain"
            - "Low gain"
        x-labels:
            - "Acquisition rate"
            - "Memory cells"
        sp-name: "ASICs id"
        nMemToShow: 32
        use-existing: "''"
        out-folder: "/gpfs/exfel/data/scratch/xcal/report_service/tmp/{instrument}/{detector}/"
        cal-db-timeout: 180000
        cal-db-interface: "tcp://max-exfl016:8015#8025"

    EPIX:
        det-type:
            - "GENERIC"
            - "STATS_FROM_DB"
        start-date: "2019-01-01"
        end-date: "NOW"
        nconstants: 20
        dclass: "ePix100"
        nMemToShow: 1
        modules:
            - "ePix100_M15"
            - "ePix100_M18"
        constants:
            - "Noise"
            - "Offset"
        bias-voltage:
            - 200
        temperature:
            - 288
        integration-time:
            - 1
            - 50
        photon-energy: 9.2
        separate-plot:
            - "integration_time"
        parameter-names:
            - "bias_voltage"
            - "integration_time"
            - "temperature"
            - "in_vacuum"
        spShape:
            - 354
            - 96
        x-labels:
            - "Sensor Temperature"
            - "Integration Time"
        sp-name: "ASICs id"
        use-existing: "''"
        out-folder: "/gpfs/exfel/data/scratch/xcal/report_service/tmp/{instrument}/{detector}/"
        cal-db-timeout: 180000
        cal-db-interface: "tcp://max-exfl016:8015#8025"


FXE:
    LPD1M1:
        det-type:
            - "GENERIC"
            - "STATS_FROM_DB2"
        modules:
            - "LPD1M1"
        start-date: "2019-01-01"
        end-date: "NOW"
        nconstants: 20
        constants:
            - "Noise"
            - "SlopesFF"
            - "SlopesCI"
            - "Offset"
        dclass: "LPD"
        submodules: "0-16"
        bias-voltage:
            - 250
            - 500
        memory-cells:
            - 1
            - 128
            - 512
        gain-setting:
            - 0
            - 1
            - 2
        photon-energy: 9.2
        separate-plot:
            - "gain_setting"
        parameter-names:
            - "bias_voltage"
            - "memory_cells"
        spShape:
            - 64
            - 64
        gain-titles:
            - "High gain"
            - "Medium gain"
            - "Low gain"
        x-labels:
            - "Memory cells"
        sp-name: "ASICs id"
        nMemToShow: 32
        use-existing: "''"
        out-folder: "/gpfs/exfel/data/scratch/xcal/report_service/tmp/{instrument}/{detector}/"
        cal-db-timeout: 180000
        cal-db-interface: "tcp://max-exfl016:8015#8025"

    JUNGFRAU:
        det-type:
            - "GENERIC"
            - "STATS_FROM_DB"
        start-date: "2019-01-01"
        end-date: "NOW"
        nconstants: 20
        constants:
            - "Noise"
            - "Offset"
            - "RelativeGain"
        dclass: "jungfrau"
        modules:
            - "Jungfrau_M233"
            - "Jungfrau_M125"
            - "Jungfrau_M260"
        bias-voltage:
            - 90
            - 180
        memory-cells:
            - 1
            - 16
        pixels-x:
            - 1024
        pixels-y:
            - 512
            - 1024
        temperature:
            - 291
        integration-time:
            - 4.96
            - 50
            - 250
        gain-setting:
            - 0
            - 1
            - 2
        separate-plot:
            - "integration_time"
            - "gain_setting"
            - "memory_cells"
        parameter-names:
            - "bias_voltage"
            - "integration_time"
            - "pixels_x"
            - "pixels_y"
            - "temperature"
            - "memory_cells"
        spShape:
            - 256
            - 64
        gain-titles:
            - "High gain"
            - "Medium gain"
            - "Low gain"
        nMemToShow: 1
        x-labels:
            - "Sensor Temperature"
            - "Integration Time"
        sp-name: "Supercolumn 256*64"
        photon-energy: 9.2
        use-existing: "''"
        out-folder: "/gpfs/exfel/data/scratch/xcal/report_service/tmp/{instrument}/{detector}/"
        cal-db-timeout: 180000
        cal-db-interface: "tcp://max-exfl016:8015#8025"

DETLAB:
    FASTCCD:
        det-type:
            - "GENERIC"
            - "STATS_FROM_DB"
        start-date: "2019-01-01"
        end-date: "NOW"
        nconstants: 20
        constants:
            - "Noise"
            - "Offset"
        dclass: "CCD"
        nMemToShow: 1
        modules:
            - "fastCCD1"
        bias-voltage:
            - 79
        temperature:
            - 235
            - 216
            - 245
        integration-time:
            - 1
            - 50
        gain-setting:
            - 0
            - 1
            - 2
            - 8
        pixels-x:
            - 1934
        pixels-y:
            - 960
        separate-plot:
            - "integration_time"
            - "gain_setting"
            - "temperature"
        parameter-names:
            - "bias_voltage"
            - "integration_time"
            - "pixels_x"
            - "pixels_y"
            - "gain_setting"
            - "temperature"
        spShape:
            - 967
            - 10
        gain-titles:
            - "gain 0x"
            - "gain 1x"
            - "gain 2x"
            - "gain 8x"
        x-labels:
            - "Sensor Temperature"
            - "Integration Time"
        sp-name: "Supercolumn 967*10"
        photon-energy: 9.2
        use-existing: "''"
        out-folder: "/gpfs/exfel/data/scratch/xcal/report_service/tmp/{instrument}/{detector}/"
        cal-db-timeout: 180000
        cal-db-interface: "tcp://max-exfl016:8015#8025"


SCS:
    FASTCCD:
        det-type:
            - "GENERIC"
            - "STATS_FROM_DB"
        start-date: "2019-01-01"
        end-date: "NOW"
        nconstants: 20
        constants:
            - "Noise"
            - "Offset"
        dclass: "CCD"
        nMemToShow: 1
        modules:
            - "fastCCD1"
        bias-voltage:
            - 79
        temperature:
            - 235
            - 216
            - 245
        integration-time:
            - 1
            - 50
        gain-setting:
            - 0
            - 1
            - 2
            - 8
        pixels-x:
            - 1934
        pixels-y:
            - 960
        separate-plot:
            - "integration_time"
            - "gain_setting"
            - "temperature"
        parameter-names:
            - "bias_voltage"
            - "integration_time"
            - "pixels_x"
            - "pixels_y"
            - "gain_setting"
            - "temperature"
        spShape:
            - 967
            - 10
        gain-titles:
            - "gain 0x"
            - "gain 1x"
            - "gain 2x"
            - "gain 8x"
        x-labels:
            - "Sensor Temperature"
            - "Integration Time"
        sp-name: "Supercolumn 967*10"
        photon-energy: 9.2
        use-existing: "''"
        out-folder: "/gpfs/exfel/data/scratch/xcal/report_service/tmp/{instrument}/{detector}/"
        cal-db-timeout: 180000
        cal-db-interface: "tcp://max-exfl016:8015#8025"

SQS:
    PNCCD:
        det-type:
            - "GENERIC"
            - "STATS_FROM_DB"
        start-date: "2019-01-01"
        end-date: "NOW"
        nconstants: 20
        constants:
            - "Noise"
            - "Offset"
        dclass: "CCD"
        nMemToShow: 1
        modules:
            - "PnCCD1"
        bias-voltage:
            - 300
        temperature:
            - 235
        integration-time:
            - 1
            - 50
        gain-setting:
            - 0
        pixels-x:
            - 1024
        pixels-y:
            - 1024
        separate-plot:
            - "integration_time"
            - "temperature"
        parameter-names:
            - "bias_voltage"
            - "integration_time"
            - "pixels_x"
            - "pixels_y"
            - "gain_setting"
            - "temperature"
        spShape:
            - 256
            - 256
        x-labels:
            - "Sensor Temperature"
            - "Integration Time"
        sp-name: "Supercolumn 256*256"
        photon-energy: 9.2
        use-existing: "''"
        out-folder: "/gpfs/exfel/data/scratch/xcal/report_service/tmp/{instrument}/{detector}/"
        cal-db-timeout: 180000
        cal-db-interface: "tcp://max-exfl016:8015#8025"

HED:
    EPIX:
        det-type:
            - "GENERIC"
            - "STATS_FROM_DB"
        start-date: "2019-01-01"
        end-date: "NOW"
        nconstants: 20
        dclass: "ePix100"
        nMemToShow: 1
        modules:
            - "ePix100_M16"
            - "ePix100_M17"
        constants:
            - "Noise"
            - "Offset"
        bias-voltage:
            - 200
        temperature:
            - 288
        integration-time:
            - 1
            - 50
        photon-energy: 9.2
        separate-plot:
            - "integration_time"
        parameter-names:
            - "bias_voltage"
            - "integration_time"
            - "temperature"
            - "in_vacuum"
        spShape:
            - 354
            - 96
        x-labels:
            - "Sensor Temperature"
            - "Integration Time"
        sp-name: "superpixel id"
        use-existing: "''"
        out-folder: "/gpfs/exfel/data/scratch/xcal/report_service/tmp/{instrument}/{detector}/"
        cal-db-timeout: 180000
        cal-db-interface: "tcp://max-exfl016:8015#8025"

    JUNGFRAU:
        det-type:
            - "GENERIC"
            - "STATS_FROM_DB"
        start-date: "2019-01-01"
        end-date: "NOW"
        nconstants: 20
        constants:
            - "Noise"
            - "Offset"
            - "RelativeGain"
        dclass: "jungfrau"
        nMemToShow: 1
        modules:
            - "Jungfrau_M039"
            - "Jungfrau_M266"
        bias-voltage:
            - 90
            - 180
        memory-cells:
            - 1
            - 16
        pixels-x:
            - 1024
        pixels-y:
            - 512
            - 1024
        temperature:
            - 291
        integration-time:
            - 4.96
            - 50
            - 250
        gain-setting:
            - 0
            - 1
            - 2
        separate-plot:
            - "integration_time"
            - "gain_setting"
            - "memory_cells"
        parameter-names:
            - "bias_voltage"
            - "integration_time"
            - "pixels_x"
            - "pixels_y"
            - "temperature"
            - "memory_cells"
        spShape:
            - 256
            - 64
        gain-titles:
            - "High gain"
            - "Medium gain"
            - "Low gain"
        x-labels:
            - "Sensor Temperature"
            - "Integration Time"
        sp-name: "Supercolumn 256*64"
        photon-energy: 9.2
        use-existing: "''"
        out-folder: "/gpfs/exfel/data/scratch/xcal/report_service/tmp/{instrument}/{detector}/"
        cal-db-timeout: 180000
        cal-db-interface: "tcp://max-exfl016:8015#8025"