import bpy camera = bpy.context.edit_movieclip.tracking.camera camera.sensor_width = 17.3 camera.units = 'MILLIMETERS' camera.pixel_aspect = 1