---
title: "SpatialCalibrationSettings"
description: "API documentation for SpatialCalibrationSettings"
url: https://developer.disguise.one/python-api/docs/spatialcalibrationsettings/
---

# SpatialCalibrationSettings

See also: [Calibration Guide](/plugins/guides/calibration)

Base class: _\_BlipValue_

## Properties

#### **calibrationScope** : _[SpatialCalibrationScope](/python-api/docs/spatialcalibrationscope#spatialcalibrationscope)_

Lens and Registration: Optimise both the lens intrinsics and the camera-tracker registration.

Lens Only: Optimise the lens intrinsics, take the position/rotation directly from the tracker.

Registration Only: Optimise the registration, take lens intrinsics from the tracker (if provided) or camera.

Lens and Manual Registration: Use regular observations to calibrate lens intrinsics and manual observations to calibrate registration.

Registration and Focal Length: Optimise the registration and camera focal length, but not distortion parameters.

_Options: {0: ‘Lens and Registration’, 1: ‘Lens Only’, 2: ‘Registration Only’, 3: ‘Lens and Manual Registration’, 4: ‘Registration and Focal Length’}  
UserName: Calibration scope_

#### **detectOutliers** : _bool_

Detect outlier blobs and remove them from the calibration process.

_UserName: Detect outlier blobs_

#### **moveScreens** : _bool_

Allow the calibration to move screens in the virtual stage to match observations.

_UserName: Adjust screen positions_

#### **reoptimiseIntrinsics** : _bool_

_UserName: Reoptimise intrinsics_

#### **trackerDistortionCompensation** : _[TrackerDistortionCompensationMethod](/python-api/docs/trackerdistortioncompensationmethod#trackerdistortioncompensationmethod)_

None: Near 1 to 1 tracker data, no modifications are performed other than basic smoothing operations.

Single Gain: Universal scaling factor for all axes, eg. scale X/Y/Z all by 10.

Gains: Scale individual axes as needed eg. scale X/Y/Z by 10/5/2.

Gains and Skews: Similar to Gains with the addition of corrections to individual axes eg. the Y axis is slightly rotated compared to the X/Z axes, or not perpendicular to them.

Matrix: Custom modifications to axes, only for highly advanced use.

_Options: {0: ‘None’, 1: ‘Single Gain’, 2: ‘Gains’, 3: ‘Gains and Skews’, 4: ‘Matrix’}  
UserName: Tracker distortion compensation_
