---
title: "scope.read: Read Scopes — Film kit command — Kition"
description: "Measures the program frame at the playhead or `time` with scopes (waveform, parade, histogram, vectorscopes), summarised in `columns`, `peaks` and bins."
canonical: "https://developer.kition.ai/docs/kits/film/commands/scope.read"
---

> Canonical HTML: [https://developer.kition.ai/docs/kits/film/commands/scope.read](https://developer.kition.ai/docs/kits/film/commands/scope.read)

# scope.read

**Read Scopes.** Measures the program frame at the playhead or `time` with scopes (waveform, parade, histogram, vectorscopes), summarised in `columns`, `peaks` and bins.

- Kit: Film 0.1.0 (.kfilm); reference: [Film kit commands](https://developer.kition.ai/docs/kits/film.md)
- Changes the document: no

## Parameters

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `bins` | `boolean` | no |  |
| `clamp` | `boolean` | no |  |
| `colorSpace` | `"auto" \| "601" \| "709" \| "2100"` | no |  |
| `columns` | `integer` | no |  |
| `paradeType` | `"rgb" \| "yuv" \| "rgbWhite"` | no |  |
| `peaks` | `integer` | no |  |
| `scale` | `number` | no |  |
| `scopes` | `string[]` | no |  |
| `time` | `integer` | no | ticks?\|"frame"\|"seconds"\|"timecode" |
| `waveformType` | `"rgb" \| "luma" \| "yc" \| "ycNoChroma"` | no |  |

## Call through film_run

```text
film_run {
  "path": "<file>.kfilm",
  "steps": [{ "command": "scope.read" }]
}
```

The required parameters, with placeholders for their types: not a tested example. Optional: `bins`, `clamp`, `colorSpace`, `columns`, `paradeType`, `peaks`, `scale`, `scopes`, `time`, `waveformType`. film_run answers the step’s result in `completed[i].result`.

## Result

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `clamp` | `boolean` | no |  |
| `colorSpace` | `string` | no |  |
| `frame` | `integer` | no |  |
| `histogram` | `object` | no |  |
| `matrix` | `string` | no |  |
| `parade` | `object` | no |  |
| `samples` | `integer[]` | no |  |
| `stats` | `object` | no |  |
| `time` | `integer` | no |  |
| `unit` | `string` | no |  |
| `vectorscopeHls` | `object` | no |  |
| `vectorscopeYuv` | `object` | no |  |
| `waveform` | `object` | no |  |

```json
{
  "additionalProperties": true,
  "properties": {
    "clamp": {
      "type": "boolean"
    },
    "colorSpace": {
      "type": "string"
    },
    "frame": {
      "type": "integer"
    },
    "histogram": {
      "additionalProperties": true,
      "properties": {
        "above": {
          "items": {
            "type": "integer"
          },
          "type": "array"
        },
        "b": {
          "items": {
            "type": "integer"
          },
          "type": "array"
        },
        "below": {
          "items": {
            "type": "integer"
          },
          "type": "array"
        },
        "g": {
          "items": {
            "type": "integer"
          },
          "type": "array"
        },
        "peakBin": {
          "additionalProperties": true,
          "properties": {
            "b": {
              "type": "integer"
            },
            "g": {
              "type": "integer"
            },
            "r": {
              "type": "integer"
            },
            "y": {
              "type": "integer"
            }
          },
          "type": "object"
        },
        "r": {
          "items": {
            "type": "integer"
          },
          "type": "array"
        },
        "samples": {
          "type": "integer"
        },
        "y": {
          "items": {
            "type": "integer"
          },
          "type": "array"
        }
      },
      "type": "object"
    },
    "matrix": {
      "type": "string"
    },
    "parade": {
      "additionalProperties": true,
      "properties": {
        "columns": {
          "type": "integer"
        },
        "hi": {
          "type": "number"
        },
        "lo": {
          "type": "number"
        },
        "traces": {
          "additionalProperties": true,
          "properties": {
            "B": {
              "items": {},
              "type": "array"
            },
            "G": {
              "items": {},
              "type": "array"
            },
            "R": {
              "items": {},
              "type": "array"
            }
          },
          "type": "object"
        },
        "type": {
          "type": "string"
        }
      },
      "type": "object"
    },
    "samples": {
      "items": {
        "type": "integer"
      },
      "type": "array"
    },
    "stats": {
      "additionalProperties": true,
      "properties": {
        "b": {
          "additionalProperties": true,
          "properties": {
            "max": {
              "type": "number"
            },
            "mean": {
              "type": "number"
            },
            "min": {
              "type": "number"
            }
          },
          "type": "object"
        },
        "chromaMean": {
          "items": {
            "type": "number"
          },
          "type": "array"
        },
        "g": {
          "additionalProperties": true,
          "properties": {
            "max": {
              "type": "number"
            },
            "mean": {
              "type": "number"
            },
            "min": {
              "type": "number"
            }
          },
          "type": "object"
        },
        "hueDeg": {
          "type": "number"
        },
        "r": {
          "additionalProperties": true,
          "properties": {
            "max": {
              "type": "number"
            },
            "mean": {
              "type": "number"
            },
            "min": {
              "type": "number"
            }
          },
          "type": "object"
        },
        "saturation": {
          "type": "number"
        },
        "y": {
          "additionalProperties": true,
          "properties": {
            "max": {
              "type": "number"
            },
            "mean": {
              "type": "number"
            },
            "min": {
              "type": "number"
            }
          },
          "type": "object"
        }
      },
      "type": "object"
    },
    "time": {
      "type": "integer"
    },
    "unit": {
      "type": "string"
    },
    "vectorscopeHls": {
      "additionalProperties": true,
      "properties": {
        "mean": {
          "items": {
            "type": "number"
          },
          "type": "array"
        },
        "meanAngleDeg": {
          "type": "number"
        },
        "peaks": {
          "items": {
            "additionalProperties": true,
            "properties": {
              "angleDeg": {
                "type": "number"
              },
              "cb": {
                "type": "number"
              },
              "cr": {
                "type": "number"
              },
              "magnitude": {
                "type": "number"
              },
              "share": {
                "type": "number"
              },
              "x": {
                "type": "integer"
              },
              "y": {
                "type": "integer"
              }
            },
            "type": "object"
          },
          "type": "array"
        },
        "samples": {
          "type": "integer"
        }
      },
      "type": "object"
    },
    "vectorscopeYuv": {
      "additionalProperties": true,
      "properties": {
        "mean": {
          "items": {
            "type": "number"
          },
          "type": "array"
        },
        "meanAngleDeg": {
          "type": "number"
        },
        "peaks": {
          "items": {
            "additionalProperties": true,
            "properties": {
              "angleDeg": {
                "type": "number"
              },
              "cb": {
                "type": "number"
              },
              "cr": {
                "type": "number"
              },
              "magnitude": {
                "type": "number"
              },
              "share": {
                "type": "number"
              },
              "x": {
                "type": "integer"
              },
              "y": {
                "type": "integer"
              }
            },
            "type": "object"
          },
          "type": "array"
        },
        "samples": {
          "type": "integer"
        }
      },
      "type": "object"
    },
    "waveform": {
      "additionalProperties": true,
      "properties": {
        "columns": {
          "type": "integer"
        },
        "hi": {
          "type": "number"
        },
        "lo": {
          "type": "number"
        },
        "traces": {
          "additionalProperties": true,
          "properties": {
            "B": {
              "items": {},
              "type": "array"
            },
            "G": {
              "items": {},
              "type": "array"
            },
            "R": {
              "items": {},
              "type": "array"
            }
          },
          "type": "object"
        },
        "type": {
          "type": "string"
        }
      },
      "type": "object"
    }
  },
  "type": "object"
}
```

## Parameter schema

```json
{
  "additionalProperties": false,
  "properties": {
    "bins": {
      "default": true,
      "type": "boolean"
    },
    "clamp": {
      "default": true,
      "type": "boolean"
    },
    "colorSpace": {
      "enum": [
        "auto",
        "601",
        "709",
        "2100"
      ],
      "type": "string"
    },
    "columns": {
      "default": 8,
      "type": "integer"
    },
    "paradeType": {
      "enum": [
        "rgb",
        "yuv",
        "rgbWhite"
      ],
      "type": "string"
    },
    "peaks": {
      "default": 8,
      "type": "integer"
    },
    "scale": {
      "default": 0.5,
      "type": "number"
    },
    "scopes": {
      "items": {
        "description": "like waveform",
        "type": "string"
      },
      "type": "array"
    },
    "time": {
      "description": "ticks?|\"frame\"|\"seconds\"|\"timecode\"",
      "type": "integer"
    },
    "waveformType": {
      "enum": [
        "rgb",
        "luma",
        "yc",
        "ycNoChroma"
      ],
      "type": "string"
    }
  },
  "type": "object"
}
```

Generated from the command list of @kition/film-darwin-arm64@0.1.0 and the kit itself (film_commands through @kition/cli@0.1.1, built from KitionAI/kition-film@375db59).
