The example that shows how to calculate the exterior orientation parameters (location and orientation angles) for the aligned camera in the chunk is available in GitHub repository:


Save estimated reference - https://github.com/agisoft-llc/metashape-scripts/blob/master/src/save_estimated_reference.py


The script code also includes the GPS/INS antenna offsets and considers meridian convergence for georeferenced chunks.


You can find information about how to download a script from Agisoft GitHub page in our article: How to download script from GitHub?