{
    "name": "CCOMP",

    "x_label": "Time",

    "unit_x": "ms",
    "y_label": "Compression",
    "unit_y": "mm",
    "scoring": {
        "category": "low_high",
        "low": 0.0,
        "high": 4.0,
        "capping_limit": true
    },

    "datums": [
        {
            "rating": "HIGH",
            "value": 28.0,
            "line_colour": "GREEN",
            "colour_above": "YELLOW",
            "colour_below": "GREEN"
        },
        {
            "rating": "LOW",
            "value": 50.0,
            "line_colour": "YELLOW",
            "colour_above": "RED"
        }
    ],

    "operations": [
        {
            "operation": "C180",
            "input": ["TRRILE01WSDC00"],
            "output": "TRRILE01WSDC0C",
            "iso": true
        },
        {
            "operation": "C180",
            "input": ["TRRILE01WSANZ0"],
            "output": "TRRILE01WSANZC",
            "iso": true
        },
        {
            "operation": "sin",
            "input": ["TRRILE01WSANZC"],
            "output": "SinPhi_TRRILE01",
            "iso": false
        },
        {
            "operation": "mul",
            "input": ["TRRILE01WSDC0C", "SinPhi_TRRILE01"],
            "output": "RSinPhi_TRRILE01",
            "iso": false
        },
        {
            "comment": "Take ABS to ensure that sign of DC0 and ANZ have no effect.",
            "operation": "abs",
            "input": ["RSinPhi_TRRILE01"],
            "output": "ABS_RSinPhi_TRRILE01",
            "iso": false
        },
        {
            "comment": "Flip sign to ensure that compression is positive",
            "operation": "mul",
            "input": ["ABS_RSinPhi_TRRILE01", -1],
            "output": "NEG_ABS_RSinPhi_TRRILE01",
            "iso": false
        },
        {
            "comment": "Final rib displacement output. Note that filter class 'C' at the end but euroncap has it '0'",
            "operation": "zero_y",
            "input": ["NEG_ABS_RSinPhi_TRRILE01"],
            "output": "TRRILE01WSDS00",
            "iso": true,
            "graph": true
        },
        {
            "operation": "C180",
            "input": ["TRRILE02WSDC00"],
            "output": "TRRILE02WSDC0C",
            "iso": true
        },
        {
            "operation": "C180",
            "input": ["TRRILE02WSANZ0"],
            "output": "TRRILE02WSANZC",
            "iso": true
        },
        {
            "operation": "sin",
            "input": ["TRRILE02WSANZC"],
            "output": "SinPhi_TRRILE02",
            "iso": false
        },
        {
            "operation": "mul",
            "input": ["TRRILE02WSDC0C", "SinPhi_TRRILE02"],
            "output": "RSinPhi_TRRILE02",
            "iso": false
        },
        {
            "comment": "Take ABS to ensure that sign of DC0 and ANZ have no effect.",
            "operation": "abs",
            "input": ["RSinPhi_TRRILE02"],
            "output": "ABS_RSinPhi_TRRILE02",
            "iso": false
        },
        {
            "comment": "Flip sign to ensure that compression is positive",
            "operation": "mul",
            "input": ["ABS_RSinPhi_TRRILE02", -1],
            "output": "NEG_ABS_RSinPhi_TRRILE02",
            "iso": false
        },
        {
            "comment": "Final rib displacement output. Note that filter class 'C' at the end but euroncap has it '0'",
            "operation": "zero_y",
            "input": ["NEG_ABS_RSinPhi_TRRILE02"],
            "output": "TRRILE02WSDS00",
            "iso": true,
            "graph": true
        },
        {
            "operation": "C180",
            "input": ["TRRILE03WSDC00"],
            "output": "TRRILE03WSDC0C",
            "iso": true
        },
        {
            "operation": "C180",
            "input": ["TRRILE03WSANZ0"],
            "output": "TRRILE03WSANZC",
            "iso": true
        },
        {
            "operation": "sin",
            "input": ["TRRILE03WSANZC"],
            "output": "SinPhi_TRRILE03",
            "iso": false
        },
        {
            "operation": "mul",
            "input": ["TRRILE03WSDC0C", "SinPhi_TRRILE03"],
            "output": "RSinPhi_TRRILE03",
            "iso": false
        },
        {
            "comment": "Take ABS to ensure that sign of DC0 and ANZ have no effect.",
            "operation": "abs",
            "input": ["RSinPhi_TRRILE03"],
            "output": "ABS_RSinPhi_TRRILE03",
            "iso": false
        },
        {
            "comment": "Flip sign to ensure that compression is positive",
            "operation": "mul",
            "input": ["ABS_RSinPhi_TRRILE03", -1],
            "output": "NEG_ABS_RSinPhi_TRRILE03",
            "iso": false
        },
        {
            "comment": "Final rib displacement output. Note that filter class 'C' at the end but euroncap has it '0'",
            "operation": "zero_y",
            "input": ["NEG_ABS_RSinPhi_TRRILE03"],
            "output": "TRRILE03WSDS00",
            "iso": true,
            "graph": true
        },
        {
            "operation": "C180",
            "input": ["TRRIRI01WSDC00"],
            "output": "TRRIRI01WSDC0C",
            "iso": true
        },
        {
            "operation": "C180",
            "input": ["TRRIRI01WSANZ0"],
            "output": "TRRIRI01WSANZC",
            "iso": true
        },
        {
            "operation": "sin",
            "input": ["TRRIRI01WSANZC"],
            "output": "SinPhi_TRRIRI01",
            "iso": false
        },
        {
            "operation": "mul",
            "input": ["TRRIRI01WSDC0C", "SinPhi_TRRIRI01"],
            "output": "RSinPhi_TRRIRI01",
            "iso": false
        },
        {
            "comment": "Take ABS to ensure that sign of DC0 and ANZ have no effect.",
            "operation": "abs",
            "input": ["RSinPhi_TRRIRI01"],
            "output": "ABS_RSinPhi_TRRIRI01",
            "iso": false
        },
        {
            "comment": "Flip sign to ensure that compression is positive",
            "operation": "mul",
            "input": ["ABS_RSinPhi_TRRIRI01", -1],
            "output": "NEG_ABS_RSinPhi_TRRIRI01",
            "iso": false
        },
        {
            "comment": "Final rib displacement output. Note that filter class 'C' at the end but euroncap has it '0'",
            "operation": "zero_y",
            "input": ["NEG_ABS_RSinPhi_TRRIRI01"],
            "output": "TRRIRI01WSDS00",
            "iso": true,
            "graph": true
        },
        {
            "operation": "C180",
            "input": ["TRRIRI02WSDC00"],
            "output": "TRRIRI02WSDC0C",
            "iso": true
        },
        {
            "operation": "C180",
            "input": ["TRRIRI02WSANZ0"],
            "output": "TRRIRI02WSANZC",
            "iso": true
        },
        {
            "operation": "sin",
            "input": ["TRRIRI02WSANZC"],
            "output": "SinPhi_TRRIRI02",
            "iso": false
        },
        {
            "operation": "mul",
            "input": ["TRRIRI02WSDC0C", "SinPhi_TRRIRI02"],
            "output": "RSinPhi_TRRIRI02",
            "iso": false
        },
        {
            "comment": "Take ABS to ensure that sign of DC0 and ANZ have no effect.",
            "operation": "abs",
            "input": ["RSinPhi_TRRIRI02"],
            "output": "ABS_RSinPhi_TRRIRI02",
            "iso": false
        },
        {
            "comment": "Flip sign to ensure that compression is positive",
            "operation": "mul",
            "input": ["ABS_RSinPhi_TRRIRI02", -1],
            "output": "NEG_ABS_RSinPhi_TRRIRI02",
            "iso": false
        },
        {
            "comment": "Final rib displacement output. Note that filter class 'C' at the end but euroncap has it '0'",
            "operation": "zero_y",
            "input": ["NEG_ABS_RSinPhi_TRRIRI02"],
            "output": "TRRIRI02WSDS00",
            "iso": true,
            "graph": true
        },
        {
            "operation": "C180",
            "input": ["TRRIRI03WSDC00"],
            "output": "TRRIRI03WSDC0C",
            "iso": true
        },
        {
            "operation": "C180",
            "input": ["TRRIRI03WSANZ0"],
            "output": "TRRIRI03WSANZC",
            "iso": true
        },
        {
            "operation": "sin",
            "input": ["TRRIRI03WSANZC"],
            "output": "SinPhi_TRRIRI03",
            "iso": false
        },
        {
            "operation": "mul",
            "input": ["TRRIRI03WSDC0C", "SinPhi_TRRIRI03"],
            "output": "RSinPhi_TRRIRI03",
            "iso": false
        },
        {
            "comment": "Take ABS to ensure that sign of DC0 and ANZ have no effect.",
            "operation": "abs",
            "input": ["RSinPhi_TRRIRI03"],
            "output": "ABS_RSinPhi_TRRIRI03",
            "iso": false
        },
        {
            "comment": "Flip sign to ensure that compression is positive",
            "operation": "mul",
            "input": ["ABS_RSinPhi_TRRIRI03", -1],
            "output": "NEG_ABS_RSinPhi_TRRIRI03",
            "iso": false
        },
        {
            "comment": "Final rib displacement output. Note that filter class 'C' at the end but euroncap has it '0'",
            "operation": "zero_y",
            "input": ["NEG_ABS_RSinPhi_TRRIRI03"],
            "output": "TRRIRI03WSDS00",
            "iso": true,
            "graph": true
        }
    ]
}
