def get_field_of_view(self):
        """Return the field of view corresponding to the focal length."""
        assert self.width is not None and self.height is not None
        angle = (
            math.atan(
                max(self.width, self.height) / (self.get_focal_length() * 2.0)
            )
            * 2.0
        )
        return angle
Return the field of view corresponding to the focal length.
photogrammetry_importer/types/camera.py