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