Pixhawk IMU Roll, Pitch & Yaw Values

Hi, i am trying to derive the roll, pitch and yaw values from the IMU at the time when each photo is taken while flying a mission. I have used the pyulog script to convert the log file to a CSV. From here the camera_capture csv has four q values, q[0] - q[3], are these the equivalent to roll, pitch and yaw for the airframe?
Cheers,

These are quaternions https://en.wikipedia.org/wiki/Quaternion