Hello mcstieg,
1. Angles would be used for the Reference pre-selection only if Ground Altitude value is defined for the chunk:
chunk.meta["ground_altitude"] = "110"
Also the values will be used according to their weights (either global or individual - camera.reference.rotation_accuracy) during the optimization process and final step of the Align Photos stage, if cameras are checked on in the Reference pane (camera.reference.enabled = True)
2. In PhotoScan the following convention is used:
Yaw is a counterclockwise rotation around Z axis
Pitch is a clockwise rotation around X axis
Roll is a clockwise rotation around Y axis
R = Rz(-yaw) * Rx(pitch) * Ry(roll)
It comes to an accordance with the Wikipedia definition (
https://en.wikipedia.org/wiki/Aircraft_principal_axes) in case the coordinate system related to the aircraft is defined in the following way:
Z axis pointing upwards,
X axis pointing to the right (to the right wing),
Y axis pointing forward (to the aircraft nose).
3. Global parameters are in chunk.camera_rotation_accuracy, also you can set it individually for each camera:
camera.reference.rotation_accuracy = PhotoScan.Vector([yaw_acc, pitch_acc, roll_acc])
4. camera.reference.location and camera.reference.location_accuracy
5. You can just run image matching / alignment process after modification of the reference information.